Provisioning EC2 instances
Here, we will be provisioning instances in us-west-1, but depending on where you have your AWS instances set up, you will need to change your knife.rb configuration to specify the region of your choice.
In order for them to communicate securely, we will construct a security group so that all traffic between them is permitted. This is outside the scope of this book, but it would be something to make sure you configure for production systems, as you probably do not want the public on the Internet to have direct access to your database server.
Here, we will assume that you have your AWS credentials and other critical components configured, as we covered in previous chapters.
To provision our database server, we will use the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access