Next: , Previous: , Up: Task 1---Deploy the Lab Infrastructure   [Contents][Index]


3.3.3 Deploy an Amazon Lightsail Database

In this section, you will deploy a Lightsail database. Lightsail databases are a managed database service that allow you to get away from the complexity of deploying and managing database software. Lightsail manages the underlying infrastructure and database engine, and you only need to worry about creating and deploying the actual databases and tables that run inside the service.

  1. From the horizontal menu on the Lightsail console, click ‘Databases’.
  2. Click on ‘Create a database’.
  3. Leave the default value for the MySQL version.
  4. By default, Lightsail will create a strong password for you. However, because this password can contain characters that make copying and pasting difficult, you will specify a password for this lab.

    Click ‘Specify login credentials’:

  5. One objective of this lab is to deploy a fault-tolerant and scalable implementation of the web application, so we will use a high availability database. Select ‘High-availabilty’ option. Keep its default size.
  6. Scroll to the ‘Identify your database’ section.
  7. Set ‘Identify your database’ to ‘todo-db’. Leave the master database name with its default value.
  8. Click on ‘Create database’.