Menu
Amazon Relational Database Service
User Guide (API Version 2014-10-31)

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.

Note

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

  1. Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. 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.

  3. Choose Instances.

  4. Choose Launch DB Instance.

  5. On the Select Engine page, shown following, choose the MySQL DB engine, and then choose Select.

    
                                Select Engine

  6. On the Production page, below Dev/Test, choose MySQL This instance is intended for use outside of production, and then choose Next Step.

  7. On the Specify DB Details page, shown following, set these values:

    • DB Engine Version: Use the default value.

    • DB Instance Class: db.t2.micro

    • Multi-AZ Deployment: No

    • Storage Type: Magnetic

    • Allocated Storage: 50 GB

    • DB Instance Identifier: tutorial-db-instance

    • Master Username: tutorial_user

    • Master Password: Choose a password.

    • Confirm Password: Retype the password.

    
                            Specify DB Details Panel
  8. Choose Next Step and set the following values in the Configure Advanced Settings page, shown following:

    • VPC: Choose an existing VPC, for example tutorial-vpc (vpc-f1b76594)

    • Subnet group: Create a new DB Subnet Group

    • Publicly Accessible: No

    • Availability Zone: No Preference

    • VPC Security Group(s): Choose an existing security group, for example tutorial-db-securitygroup

    • Database Name: sample

    
                            Configure Advanced Settings Panel
  9. To create your Amazon RDS MySQL DB instance, choose Launch DB Instance.

  10. On the next page, choose View Your DB Instances to view your RDS MySQL DB instance.

  11. 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.

    
                            DB Instance Details

    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.

Next Step

Step 2: Create an EC2 Instance and Install a Web Server

On this page: