AWS For Developers For Dummies
Book image
Explore Book Buy On Amazon
As with every other part of AWS, you can use a special management console to work with RDS. The RDS Management Console enables you to choose an RDBMS, create a database, add tables and other objects to the database, and make the database accessible to an application. You also use the RDS Management Console to perform administrative tasks, such as to configure security. Use the following steps to access the RDS Management Console:
  1. Sign into AWS by using your user account.
  2. Navigate to the RDS Management Console.

    You see a Welcome page that contains interesting information about RDS and what it can do for you. However, you don’t see the actual console at this point. Notice the Navigation pane at the left. You can click the left-pointing arrow to hide it as needed. Many of the RDS Dashboard options are the same as those used by EC2, which is no surprise, given that you use EC2 to support the database.

    Amazon Relational Database Service Getting started with the Amazon Relational Database Service (RDS).
  3. Click Get Started Now.

    You see the Select Engine page. Notice that you can select a major vendor and then a specific version of that vendor’s product. For example, the screenshot shows three versions of SQL Server (others are available).

    choose a vendor Choose a vendor and then a specific vendor product.

    You can download a free local copy of MySQL from. The MySQL Community Edition is free, and you can obtain trial versions of the other editions. Most vendors do provide a free version of their product for testing and learning purposes.

    Select Free Tier Eligible Only if you want to select only a free-tier database. You still see the other options, but the Select button is grayed out so that you won’t inadvertently select a paid option. Using free options can save you money on software, but developers must also choose an option that works with the database the organization uses. Otherwise, you encounter potential problems when moving your application from testing to production.

  4. Click Select next to the MySQL Community Edition entry.

    You see the Specify DB Details page. Notice that the Navigation page specifies that this DBMS is free-tier eligible. The right pane contains all the details about the DBMS instance.

    create a database instance Specify the details used to create the database instance.
  5. Select the Only Show Options that are Eligible for RDS Free Tier.

    Choosing this option helps ensure that you don’t choose features that will require payment later.

  6. Choose MySQL 5.6.27 in the DB Engine Version field.

    The DB Engine Version field doesn’t automatically select the most current version. It appears to select the most commonly used version instead. In addition, the drop-down list doesn’t display the versions in order. Make sure that you look through the entire list for the version you need before assuming that AWS might not make it available.

  7. Choose db.t2.micro in the DB Instance Class field.

    To retain free-tier compatibility, you must choose this particular class. It pays to review the free-tier requirements. This informational page provides details about free-tier usage, such as the instance type, the kinds of database product you can choose, memory requirements, and so on.

    Because the free-tier requirements can change at any time, you must review the free-tier materials before making choices about the database you want to work with. You may need to modify the selections to ensure that you maintain free-tier support and don’t incur any expenses.

  8. Ensure the Multi-AZ Deployment field displays a value of No.

    When using the free-tier options, AWS greys this field out and automatically selects No for you. A Multi-Availability Zone (Multi-AZ) configuration makes your setup more reliable and faster by creating duplicate databases in multiple zones. Check out this discussion for additional details specifically regarding Multi-AZ.

  9. Choose General Purpose (SSD) in the Storage Type field and type 20 in the Allocated Storage field.

    When working with MySQL Community Edition, you must allocate at least 5GB of storage. However, the free tier allows you to allocate up to 20GB, which is the maximum amount that the MySQL Community Edition can use. To get the maximum performance from your experimental setup, you want to allocate as much memory as you can.

    Depending on the DBMS you choose, the wizard may warn you that choosing less than 100GB of storage can cause your application to run slowly when working with high throughput loads. This warning isn’t a concern when creating an experimental setup. However, you do need to keep the storage recommendations in mind when creating a production setup.

  10. Type MyDatabase in the DB Instance Identifier field.

    The instance identifier provides the means for uniquely identifying the database for access purposes. Usually you choose a name that is descriptive of the database’s purpose and is easy for everyone to remember.

  11. Type a username in the Master Username field.

    The master user is the administrator who manages the database and will receive full access to it. A specific person should have the responsibility, rather than assign it to a group (where responsibility for issues can shift between people). When working as a sole developer on a project, you should type your username in this field to keep things easy. When working in a group setting, make sure you get the correct username and password from the group leader or administrator.

  12. Type a password in the Master Password field, repeat it in the Confirm Password field, and then click Next Step.

    You see the Configure Advanced Settings page. This page lets you choose the VPC security group used to identify incoming requests (before they arrive at the DBMS); the authentication directory used to authenticate database users who rely on Windows Authentication; the networking options used to access the DBMS (such as the port number); the backup plan; the monitoring plan; and the maintenance plan. You do need to set the VPC security group to ensure that you can access the database.

    database details AWS Define the connectivity, backup, monitoring, and maintenance details.
  13. Choose the Default-Launch security group created as part of defining the EC2 setup.

    Depending on the DBMS you choose, you may find other database options that you can set. For example, MySQL lets you provide the name of an initial database. It pays to go through the settings carefully to ensure that you make maximum use of wizard functionality.

  14. Type FirstDatabase in the Database Name field and then click Launch DB Instance.

    AWS starts the instance creation process.

  15. Click View Your DB Instances.

    You see the RDS Management Console.

    RDS management console Creating your first database provides access to the RDS Management Console.

The database creation process can take several minutes to complete. The Status field tells you the status of the database. As long as the Status field continues to say Creating, you must wait to perform any additional tasks. However, you can download and install any products required to access the database (if you haven’t done so already).

CLI AWS Use the CLI to obtain useful information about the database engine or to manage it.

About This Article

This article is from the book:

About the book author:

John Mueller is an author and technical editor who has written 103 books. Some of his current works include Python development books. He has also written AWS For Admins For Dummies, which provides administrators a great place to start with Amazon Web Services (AWS). John has had an interest in AWS since its inception. In fact, he wrote Mining Amazon Web Services based on that humble beginning. Be sure to read John's blog at http://blog.johnmuellerbooks.com/.

This article can be found in the category: