Deleting a Stack in AWS OpsWorks

Lab Steps

lock
Logging In to the Amazon Web Services Console
lock
Creating a Stack in AWS OpsWorks
lock
Creating a Layer in AWS OpsWorks
lock
Creating and Deploying an Application in AWS OpsWorks
lock
Deleting a Stack in AWS OpsWorks
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

In this lab step, you will delete the AWS OpsWorks stack you created. In AWS OpsWorks, only empty stacks can be deleted, so you must first delete all instances, applications, and layers in the stack.

 

Instructions

1. Return to the AWS OpsWorks console.

 

2. Click fizzbuzzapp:

alt

 

3. Click Apps in the left-hand menu:

alt

 

4. In the fizzbuzz column, click delete.

A message will appear to confirm the deletion.

 

5. Click Delete:

alt

 

6. Click Instances in the left-hand menu:

alt

 

7. Click Stop All Instances:

alt

You can also stop instances individually by clicking stop under the Actions column of that instance.

 

8.  Click Stop in the confirmation window:

alt

It will take up to 3 minutes to stop your instance. Your php-app1 instance will have a Status of stopped.

 

9. After the instance has stopped, click delete in the Actions column:

alt

 

10. Click Delete in the confirmation window:

alt

 

11. Click Layers in the left-hand menu:

alt

 

12. In the PHP App Server layer, click Delete:

alt

 

13. Click Delete in the confirmation window.

alt

 

14. Click Stack in the left-hand menu:

alt

 

15. Click Delete Stack:

alt

 

16. Click Delete in the confirmation window:

alt

 

Summary

In this lab step, you successfully cleaned up your AWS OpsWorks stack components and deleted your stack.