Create RDS Instance

Lab: Creating an Amazon RDS Database Instance

Lab overview

Follow these steps to create an Amazon Relational Database Service (Amazon RDS) database (DB) instance that maintains data used by a web application.

Duration

This lab requires approximately 20 minutes to complete.

Access the AWS Management Console

Task 1. Set up an RDS DB instance

Your new database displays in the list of databases. The status is Creating.

Your login credentials display.

Task 2. Download and install SQL Server Management Studio

To connect to your RDS DB instance, you will need to download and install SQL Server Management Studio.

Note: If you are unable to install new software on your local machine, follow the instructions to use the Amazon Elastic Compute Cloud (Amazon EC2) instance that was launched in this lab environment.

Task 3. Make your database publicly accessible

Task 4. Update your VPC security group

By default, the virtual private cloud (VPC) default security group does not permit inbound SQL Server traffic from external sources. In this task, you will turn on inbound SQL Server connections from your IP address.

Note: If you are using the EC2 instance, you will use the WindowsWorkstation IP address that you saved earlier. In this case, skip the next few steps to get your IP address.

First, get your IP address.

Now, modify the security group to permit inbound SQL Server connections from your computer or the WindowsWorkstation instance.

Task 5. Connect to your DB instance

First, you will need to find the Domain Name System (DNS) endpoint and port number for your DB instance.

 

Task 6. Explore the structure of the relational database

Great work! You can explore the structure of the relational database by expanding the areas in the Object Explorer pane.

You will see that the SQL Server has built-in system databases such as model, msdb, and tempdb. You can even create a new database if you would like to experiment more.

Lab complete

Congratulations! You have completed the lab.