In this learning activity, we will use Amazon Lightsail to create a simple WordPress blog.
The goal of this activity is to gain experience with:
* Creating a Lightsail instance with pre-installed applications
* Connecting to instances using the web console or local SSH client
* Creating and attaching static IP addresses to instances
* Diagnosing and updating network restrictions that apply to instances
These objectives will help us build a foundation for more advanced Lightsail use.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Lightsail instance using the WordPress blueprint.
- Create a Lightsail instance using the WordPress blueprint.
- Select the
2 GB
memory instance size.- Connect to the instance using SSH and obtain the WordPress admin password.
- Using the admin password, connect to http://instanceip/wpadmin and create a blog post.
- Navigate to http://instanceip and ensure you can see the post.
- Allocate a static IP for the instance.
- Create and attach a static IP address to the instance.
- Confirm visually and functionally that the IP address is static.
- Navigate to http://instancestaticip to ensure the IP address is functional.
- Prune the network firewall to allow only essential ports.
- Disallow SSH connectivity to the WordPress instance.
- Disallow HTTPS connectivity to the WordPress instance.
- Tidy up networking and delete the instance.
- Detach and remove the WordPress instance’s static public IP.
- Delete the WordPress instance.