Amazon Aurora is a fully-managed, MySQL-compatible relational database engine designed for the AWS cloud.
It’s architected to scale with your applications, combining the availability and speed of high-end commercial platforms with the cost-effectiveness and simplicity of open source databases. Maximizing that scale and performance starts with a successful, well-executed migration employing the right approaches, tools, and expertise.
To determine which database (DB) instance in an Aurora DB cluster a connection is connected to, you need to check the innodb_read_only global variable.
It will be turned off when you’re connected to the primary resource. This can help you add logic to your application and balance the workload or be sure a write operation makes use of the correct connection.
Using Amazon Aurora with MySQL DB instances lets you take advantage of Aurora’s built-in read scaling capabilities while expanding the read workload for your MySQL DB instances. To use Aurora for read scaling, you need to create an Amazon Aurora DB cluster before making it a replication slave of your MySQL BD instance. Keep in mind that this applies to Amazon RDS MySQL DB instances or MySQL databases that run external to RDS.
Click here to learn how to create an Amazon Aurora DB Cluster.
When setting up replication between MySQL and Aurora DB instances, remember to adhere to these guidelines:
Keep in mind that:
Using Aurora with a MySQL DB instance lets you create off-site DR backup and recovery. To use Aurora for DR, you need to create an Amazon Aurora DB cluster before making it a replication slave of your MySQL DB instance. Remember that this applies to Amazon RDS MySQL DB instances or MySQL databases that run external to RDS.
Keep in mind that:
To learn how to create an Aurora DB cluster and turn it into a replication slave of your MySQL DB instance, follow the guidelines provided in “Using Amazon Aurora to Scale Reads for Your MySQL Database.”
When it comes time to import data from a MySQL database supporting a live application to an Aurora DB cluster, follow the procedures outlined in “Importing Data to an Amazon RDS MySQL or MariaDB DB Instance with Reduced Downtime.” This will cut down on the amount of time your data will be interrupted while migrating to Aurora, which can be especially helpful when working with large databases.
Remember that you can use an Aurora DB cluster for the target RDS MySQL DB instance, as Aurora is compatible with MySQL.
An agile, scalable, and secure experience on the AWS cloud starts with a successful migration. That means using the right tools and working with experienced AWS experts to deliver the best results.
At iTMethods, our AWS experts will architect and manage your journey to the cloud – working with you to create and execute a roadmap tailored to your needs.
Contact us to speak with a cloud expert today!
Read more from iTMethods