Recently I had to turn a few EC2 instances into MySQL database servers. The third time I had to do it, I grabbed the list of steps from my previous sessions and just replayed it. Later I thought maybe polishing information a little bit and publishing a step-by-step walkthrough on the blog may help a few people. So here it is.
Before you begin.
For my MySQL instances I used the following:
- Extra Large, High-Memory, and High-CPU instances. Although the instruction should work on any type of instance.
- RedHat Enterprise Linux 6.2 64-bit AMI
- For MySQL data storage, multiple identical EBS devices attached to each instance
The configuration template provided in this post assumes the new MySQL instance only needs InnoDB storage engine.
Grab the packages.
Download the appropriate packages from MySQL web page. You …
[Read more]