azure-mysql-flexible-server
intel/azure-mysql-flexible-server/intel
Intel Cloud Optimization Module - Azure MySQL Flexible Server
Intel Optimized Cloud Modules for Terraform © Copyright 2024, Intel Corporation Azure MySQL Flexible Server Module This module can be used to deploy an Intel optimized Azure MySQL Flexible Server instance. Instance selection and mysql optimization are included by default in the code. The MySQL Optimizations were based off Intel Xeon Tuning guides Performance Data Handle up to 35% More MySQL New Orders per Minute with 3rd Gen Intel® Xeon® Scalable Processors(Ice Lake) Boost Azure MySQL performance by 30% with the Ev5 Intel 3rd Generation Intel® Xeon® Scalable Processor (Ice Lake) Microsoft Azure MySQL Powered by 3rd Gen Intel® Xeon® Scalable Processors(Ice Lake) Usage See examples folder for complete examples. By default, you will only have to pass three variables ``hcl resource_group_name
| Name | Type | Description | Default |
|---|---|---|---|
| db_server_name | string | Name of the server that will be created. | required |
| resource_group_name | string | Resource Group where resource will be created. It should already exist | required |
| db_password | string | Password for the master database user. | required |
| db_ha_mode | string | The high availability mode for the MySQL Flexible Server. Possibles values are S | "ZoneRedundant" |
| db_replica_role | string | The replica role that the database will use. | null |
| db_iops | number | The amount of provisioned IOPS. | 10000 |
| db_engine | string | Database engine for Azure database instance. | "mysql" |
| tags | map(string) | Tags to apply to the Database Server | {} |
| db_zone | string | Specifies the Availability Zone in which this MySQL Flexible Server should be lo | 1 |
| db_create_mode | string | The creation mode which can be used to restore or replicate existing servers. | "Default" |
| db_maintenance_hour | string | The start hour for maintenance window. | null |
| db_server_sku | string | Instance SKU, see comments above for guidance | "MO_Standard_E8ds_v5" |
| db_username | string | Username for the master database user. | "mysqladmin" |
| db_allocated_storage | number | Maximum allocated storage for Azure database instance to grow (in gigabytes). | 2048 |
| db_auto_grow_enabled | bool | Enable/Disable auto-growing of the storage. Storage auto-grow prevents your serv | true |
| db_engine_version | string | Database engine version for the Azure database instance. | "8.0.21" |
| db_parameters | object({ mysql = optional( | Intel Cloud optimizations for Xeon processors | {
"mysql": {
"character_set_server |
| db_backup_retention_period | number | The days to retain backups for. Must be between 1 and 35. | 7 |
| db_private_dns_zone_id | string | The ID of the private DNS zone to create the MySQL Flexible Server. | null |
| db_timeouts | object({ create = optional | Map of timeouts that can be adjusted when executing the module. This allows you | {
"db_timeouts": {}
} |
| db_maintenance_day | string | The day of week for maintenance window. | null |
| db_maintenance_minute | string | The start minute for maintenance window. | null |
| db_create_source_id | string | For creation modes other than Default, the source server ID to use. | null |
db_create_mode — The creation mode that was configured on the instance. db_firewall_rules — Database Firewall Rules.db_collation — The Collation configured on the database.db_backup_retention — Number of configured backups to keep for the database instance.db_hostname — Database instance fully qualified domain name.db_maintenance_window_hour — Maintenance window for the database instance.db_maintenance_window_minute — Maintenance window for the database instance.db_location — Database instance location.db_auto_grow_enabled — Flag that determines if storage auto grow is enabled.db_server_name — Database instance hostname.db_id — Database instance ID.db_engine_version_actual — Running engine version of the database (full version number).db_ha_mode — The high availability mode for the MySQL Flexible Server.db_ha_standby_zone — Specifies the Availability Zone in which the standby Flexible Server should be located.db_name — Name of the database that has been provisioned on the database instance.db_create_source_id — For creation modes other than Default, the source server ID to use.db_replica_role — The replica role that the database was configured with.db_allocated_storage — Storage allocated to the database instance.db_charset — The Charset configured on the database.db_resource_group_name — Resource Group where the database instance resides.db_zone — Zone where the database instance was deployed.db_delegated_subnet_id — The ID of the virtual network subnet to create the MySQL Flexible Server.db_private_dns_zone_id — The ID of the private DNS zone that the instance will use.db_username — Database instance master username.db_password — Database instance master password.db_server_sku — Instance SKU in use for the database instance that was created.db_iops — Database instance storage iops configuration.db_maintenance_window_day — Maintenance window for the database instance.db_restore_time — Specifies the point in time to restore from creation_source_server_id.