The second section of the lab will build out the sample application stack what will run in the VPC which was build in section 1.
This application stack will comprise of the following :
Once you completed below steps, you base architecture will be as follows:
Building each components in this section manually will take a bit of time, and because our objective in this lab is to show you how to automate patching through AMI build and deployment. To save time, we have created a cloudformation template that you can deploy to expedite the process.
Please follow the steps below to do so :
To deploy the second CloudFormation template, you can either deploy directly from the command line or via the console.
You can get the template here .
Once the stack creation is complete, let’s check that the application deployment has been successful. To do this follow below steps:
Go to the Outputs section of the cloudformation stack you just deployed.
Note the value of OutputPattern3ALBDNSName and you can find the DNS name as per screen shot below:
Copy the value and paste it into a web browser.
If you have configured everything correctly, you should be able to view a webpage with ‘Welcome to Re:Invent 2020 The Well Architected Way’ as the page title.
/details.php to the end of your DNS address will list the packages currently available, together with the AMI which has been used to create the instance as follows:
Take note of the installed packages and AMI Id (Copy and paste this elsewhere we will use this to confirm the changes later).
When you have confirmed that the application deployment was successful, move to section 3 which will deploy your AMI Builder Pipeline.
END OF SECTION 2