Step 7 – clean up the application and related resources

Once you complete the preceding tutorial, you have to clean up the resources, such as Amazon S3, AWS CodeDeploy, and the Amazon EC2 instance. Here, you will see how to clean up the resources for AWS CodeDeploy. From AWS CLI, you can call the delete-application command to delete the Packt_CodeDeploy_Demo application from the AWS CodeDeploy. It will delete all the associated records for deployment groups and deployments:

aws deploy delete-application --application-name Packt_CodeDeploy_Demo 

From the AWS CodeDeploy console, select the application that you want to delete. It will navigate to the application details page. Select the Delete application option and it will prompt you to enter ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.