💾 Archived View for cfdocs.wetterberg.nu › stacks.gemini captured on 2024-08-25 at 01:59:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
A stack is a collection of AWS resources that you can manage as a single unit. In other words, you can create, update, or delete a collection of resources by creating, updating, or deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation template. A stack, for instance, can include all the resources required to run a web application, such as a web server, a database, and networking rules. If you no longer require that web application, you can simply delete the stack, and all of its related resources are deleted.
AWS CloudFormation ensures all stack resources are created or deleted as appropriate. Because AWS CloudFormation treats the stack resources as a single unit, they must all be created or deleted successfully for the stack to be created or deleted. If a resource cannot be created, AWS CloudFormation rolls the stack back and automatically deletes any resources that were created. If a resource cannot be deleted, any remaining resources are retained until the stack can be successfully deleted.
You can work with stacks by using the AWS CloudFormation console, API, or AWS CLI.
You are charged for the stack resources for the time they were operating (even if you deleted the stack right away).
Using the AWS CloudFormation console
Using the AWS Command Line Interface
AWS CloudFormation stack updates
Detecting unmanaged configuration changes to stacks and resources
Bringing existing resources into CloudFormation management
Moving resources between stacks
Resources that support import and drift detection operations