Create a CloudFormation stack based on an existing template.
- Create a CloudFormation stack based on an existing template.
- Open CloudFormation in AWS Management Console.
- Click Create Stack button.
- Select Upload a template to Amazon S3.
- Choose file
learn-cloudformation/lab0-create-stack/demo.yaml
. - Click Next button.
- Insert
lab0-$username
as stack name. Replace$username
with your username (e.g. lab0-awittig). - Select a random subnet and the only available VPC as Parameters.
- Click Next button.
- Skip next step by clicking on Next button.
- Review your input and click Create button.
- Wait until your stack reaches status CREATE_COMPLETE.
- Select your stack by clicking on row of the table.
- Switch to the Outputs tab.
- Search for HelloWorldURL and click on the URL.
- A website showing
Hello World!
should appear. - Select your stack by clicking on row of the table again.
- Select Delete Stack from the Actions menu.
- Confirm the deletion of your stack.
- Congratulations! You are done with the lab!