Manage resources with AWS CloudFormation

Cloud Shaper

Deleting a Stack

Now that you have launched a stack with AWS CloudFormation, you can delete the stack and its resources once you are done with it. To do so, select MyWPTestStack from the console and click Delete Stack . The status changes to DELETE_IN_PROGRESS . In the Events tab, you can track the deletion and creation of stacks. Once the process is complete, CloudFormation clears the stack from the list.

Conclusions

In this article, I have shown you how to write a template and configure security groups that generate all the required AWS resources for running a WordPress blog on an EC2 instance with a MySQL database. I then described how you pass this template to CloudFormation, which the service then uses to create all the required resources, taking into account any dependencies.

The Author

Oliver Arafat is technical evangelist for AWS Germany.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus