- Lab
- A Cloud Guru
Deploying a Highly Available Web Application and a Bastion Host in AWS
In this hands-on lab, we are going to build a highly available web application, along with a highly available Bastion host architecture.
Path Info
Table of Contents
-
Challenge
Launch an RDS Database
Create a DB Subnet group and launch a multi-AZ RDS database using the provided RDS backup image (containing the WordPress site data). Database Snapshot ARN:
arn:aws:rds:us-east-1:552648357527:snapshot:sysops-certification-acg-course
-
Challenge
Create Security Groups
- Navigate to VPC and create four security groups with inbound rules. One Security Group for the Bastion which should accept SSH traffic from anywhere, a Security Group for the Application Load Balancer that allows HTTP and HTTPS traffic from anywhere, a Security Group for the WebServers that allows SSH access from the Bastion Security Group and HTTP and HTTPS traffic from the Application Load Balancer Security Group, and a Security Group for the RDS Database that allows MySQL traffic from the Webserver Security Group.
-
Challenge
Create Launch Template and Auto Scaling Groups
Create a Launch Template for the Bastion using Amazon Linux 2 of type t3.micro and a Launch Template for webservers using Amazon Linux 2 of type t3.micro. Additionally, add the User Data script provided in the GitHub Repo.
Create two Auto Scaling Groups using the Launch Templates. The Bastion should have a minimum, maximum, and desired capacity of one and the Webserver should have a minimum, maximum, and desired value of two.
-
Challenge
Modify Database Security Groups and Create an Application Load Balancer
Create an Application Load Balancer and distribute traffic to the webservers. Modify the Database to use the Database Security Group created earlier.
-
Challenge
Browse Web Application
Navigate to the DNS of the Application Load Balancer and go through the setup of Wordpress to ensure the webservers can access the back end database.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.