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.
- From the horizontal menu on the Lightsail console, click ‘Databases’.
- Click on ‘Create a database’.
- Leave the default value for the MySQL version.
- 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’:
- Leave ‘User name’ with its default;
- Deselect ‘Create strong password’; create a password of ‘taskstasks’.
-
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.
- Scroll to the ‘Identify your database’ section.
- Set ‘Identify your database’ to ‘todo-db’. Leave the master database name
with its default value.
- Click on ‘Create database’.