[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 2.38 KB

File metadata and controls

59 lines (35 loc) · 2.38 KB

Advanced Demo - Web App - Single Server to Elastic Evolution

In this final stage of this advanced demo lesson you are going to clean up the account and remove all resources created during this lesson.

STAGE 6A - Delete Load Balancer & Target Groups

First, got to the EC2 console and click on Load Balancers under Load Balancing Select the A4LWORDPRESSALB click Actions and select Delete and then click yes, Delete
Click Target Groups, select the target group you created earlier and click Actions and then Delete, then click Yes, Delete

STAGE 6B - Delete Auto Scaling Group

Click Auto Scaling Groups under Auto Scaling
Select the A4LWORDPRESSASG you created earlier and click Delete, type delete and click delete to confirm.
this will take a while because the EC2 instances will be terminated as part of this.

STAGE 6C - Delete the EFS File system

Click Services and type EFS then move to the EFS console.
Select the A4l-WORDPRESS-CONTENT File system, and click Delete. Confirm by typing in the file system ID and then clicking Confirm

STAGE 6D - Delete RDS

Click on Services, type RDS and move to the RDS Console.
Click Databases
Select a4lwordpress, click Actions and Delete
Uncheck Create Final Snapshot, Uncheck Retain Automated Backups, check the Acknowledge box, type delete me and click Delete

STAGE 6E - Check Progress

Check that EFS and all EC2 instances, and ASG have finished deleting - hold here until they have both been removed.

STAGE 6F - Delete Launch Template

Move to EC2 Console, click on Launch Templates
Select the Wordpress Template, Click Actions and then Delete Template. Type Delete and Click Delete

Stage 6G - Paramater Store

Move to the Parameter Store Console Delete all of the parameters that you created while doing this demo, anything A4L/Wordpress/*

STAGE 6H - Wait for RDS

Move to the RDS console, click on Databases & wait for all RDS instances to be removed before continuing.

STAGE 6I - Delete DB Subnet Group

in the RDS console click Subnet Groups, select wordpressrdssubnetgroup, clikck Delete and Delete again.

STAGE 6J - Cloud Formation

Move to the cloudformation console.
Select the A4LVPC stack, click Delete and confirm by clicking on Delete Stack

STAGE 6 - FINISH

Thats all the things ... thanks for reading :)