Objective: Deploy a dashboard to monitor the status of the Maintenance Window instance update, making it easier and faster to monitor and focus on resolving the issues that come up with the failed instances.
Before starting:
- Login to AWS with the profile
- Create a key id_rsa
- Update the credential file in providers.tf
terraform init
terraform apply
2. Update the patch_group_(...) and ec2_dns variables on variables.py with the respective command ids and EC2 DNS.
cd myapp
python3 app.py
python fetch_status.py
example: ec2-100-10-100-100.compute-1.amazonaws.com:8080/
terraform destroy
Confirm the changes to be done before appplying