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

  • The AWS CDK for software-defined deployments
    Cloudy with a chance of better provisioning tools: The new Amazon Web Services Cloud Development Kit adds a powerful new tool to the DevOps toolkit.
  • Red Hat's cloud and virtualization portfolio
    Red Hat massively expanded its cloud portfolio during 2012. This overview can help you evaluate Red Hat's products in the context of VMware and others.
  • Hybrid public/private cloud
    Extending your data center temporarily into the cloud during a customer rush might not be easy, but it can be done, thanks to Ansible's Playbooks and some AWS scripts.
  • Red Hat’s Cloud Tools

    Red Hat massively expanded its cloud portfolio during 2012. This overview can help you evaluate Red Hat’s products in the context of VMware and others.

  • Tools for managing AWS cloud services
    The AWS Management Console, command-line tools, SDKs, toolkits for integrated development environments, and automation through Infrastructure as Code are all tools to help manage the operation of more than 200 services in the AWS cloud.
comments powered by Disqus