MySQL in the Cloud
Prev: scaling-mysql Next: compliance-with-mysql
Managed MySQL is more hands-off, more expensive and gives you less control.
Remember that these data-stores are probably mysql
compatible, so they
might not even be MySQL under the hood.
Amazon Aurora for MySQL
Aurora is a MySQL compatible hosted database (for MySQL 5.6). Aurora separates compute from storage, which allows them to scale separately and more flexibly. It takes snapshot backups, manages fast schema changes, does audit logging, and manages replication within a single region.
Aurora’s replication is, however, entirely proprietary.
Here are some other offerings it has:
Aurora Serverless:
- This removes the long-running compute and leverages Amazon’s serverless platform to serve the compute layer of the database.
Aurora Global Database:
- This puts your Aurora database in multiple regions.
Aurora Multi-Master
- This allows for more write capability by having more than one server accept writes.
GCP Cloud SQL
GCP actually runs the community server of MySQL, but with certain features disabled.
SUPER
is diabled- Plugins are dissabled
mysqldump
andmysqlimport
are disabled.
However, there’s a few pros:
- Native high-availability
- Encryption at rest
- Flexibly managed upgrades using multiple methods
MySQL on Virtual Machines
You’ll need to think about what’s the right machine type for you and think about the following factors
- CPU
- Memory
- Network Performance
- SSD vs HDD
- IOPS and throughput
Prev: scaling-mysql Next: compliance-with-mysql