Cloud Deployment Requirements
Cloud deployments require a different set of considerations over and above the general requirements. The following is a guide only, and where specific cloud environment requirements are known, they are explicitly included:
Instance Types/Configuration
| Attribute | Guidance | Amazon Example | GCP Example |
|---|---|---|---|
| Instance Type | Instance sizes and types are dependent on the workload, but larger instances are recommended for transactional databases. | m4.xlarge or better | c3-standard-8 or better |
| Instance Boot Volume | Use block, not ephemeral storage. | EBS | |
| Instance Deployment | Use standard Linux distributions and bases. For ease of deployment and configuration, the use of [ansible](https://www.ansible.com), [Puppet](http://puppetlabs.com) or other script based solutions could be used. |
Development/QA nodes should always match the expected production environment.
AWS/EC2 Deployments
Use Virtual Private Cloud (VPC) deployments, as these provide consistent IP address support.
When using Active Witnesses as part of Tungsten Clustering, a micro instance can be used for a single cluster. For composite clusters, an instance size larger than micro must be used.
Multiple EBS-optimized volumes for data, using Provisioned IOPS for the EBS volumes depending on workload:
Parameter TPM Option TPM Value MySQL my.cnf Option MySQL Value /(root)MySQL Data datasource-mysql-data-directory/volumes/mysql/datadatadir/volumes/mysql/dataMySQL Binary Logs datasource-log-directory/volumes/mysql/binlogslog-bin/volumes/mysql/binlogs/mysql-binTransaction History Logs (THL) thl-directory/volumes/mysql/thl
Recommended Replication Formats
MIXEDis recommended for MySQL Primary/Replica topologies (e.g., either single clusters or primary/data-recovery setups).ROWis strongly recommended for >TERM name="caa_name" /> setups. WithoutROW, data drift is a possible problem when usingMIXEDorSTATEMENT. Even withROWthere are still cases where drift is possible but the window is far smaller.ROWis required if you plan to implement most comnplex ROW-based filters, such as droprow and rename.ROWis required for heterogeneous replication.