Step 1: Create an RDS DB Instance
In this step you create an Amazon RDS MySQL DB instance that maintains the data used by a web application.
Before you begin this step, you must have a VPC with both public and private subnets, and corresponding security groups. If you don't have these, see Tutorial: Create an Amazon VPC for Use with an Amazon RDS DB Instance.
To launch a MySQL DB instance
Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.
In the top-right corner of the AWS Management Console, choose the region in which you want to create the DB instance. This example uses the US West (Oregon) region.
Choose Launch DB Instance.
On the Select Engine page, shown following, choose the MySQL DB engine, and then choose Select.
On the Production page, below Dev/Test, choose MySQL This instance is intended for use outside of production, and then choose Next Step.
On the Specify DB Details page, shown following, set these values:
DB Engine Version: Use the default value.
DB Instance Class:
DB Instance Identifier:
Master Password: Choose a password.
Confirm Password: Retype the password.
Choose Next Step and set the following values in the Configure Advanced Settings page, shown following:
VPC: Choose an existing VPC, for example
Create a new DB Subnet Group
VPC Security Group(s): Choose an existing security group, for example
To create your Amazon RDS MySQL DB instance, choose Launch DB Instance.
On the next page, choose View Your DB Instances to view your RDS MySQL DB instance.
Wait for the status of your new DB instance to show as
available. Then choose the selection box to the left of your DB instance to display the DB instance details, shown following.
Make note of the endpoint for your DB instance. This endpoint shows the server name and port that you use to connect your web server to your RDS DB instance.
To make sure your RDS MySQL DB instance is as secure as possible, verify that sources outside of the VPC cannot connect to your RDS MySQL DB instance.