This chapter guides you through setting up an Ubuntu Lightsail instance pre-configured for Docker, enabling you to deploy and manage containers for WordPress and MySQL Server quickly.

You’ll learn how to:

Generate and secure a custom SSH key pair to access the instance.

Use AWS CLI commands and configuration files to launch your Lightsail instance.

Apply a user-data script to automatically install Docker, Docker Compose, and supporting tools during creation.