Clean up resources

You clean up resources in the following order:

Delete Elastic Beanstalk application we created

  1. Go to AWS Elastic Beanstalk console.
  • Click Applications.
  • Select TravelBuddy
  • Click Action
  • Click Delete application

Clean up reources

  1. Type TravelBuddy to confirm, then click Delete to delete

Clean up reources

Terminate EC2 Instance

  1. Go to Amazon EC2 console.
  • On the left navigation bar, click Intances.
  • Select DevAxWindowsHost.
  • Click Instance state
  • Click Terminate instance

Clean up reources

  1. Click Terminate

Clean up reources

Delete Users

  1. Go to AWS IAM Console.
  • Click Users.
  • Select awsstudent.
  • Click Delete

Clean up reources

  1. Type awsstudent to confirm, then click Delete

Clean up reources

Delete CloudFormation Stack

  1. Go to AWS CloudFormation Console.
  • Select aws-stack-for-Devax.
  • Click Delete

Clean up reources

  1. Click Delete stack

Clean up reources

Delete Key Pairs

  1. Go to Amazon EC2 console.
  • On the left navigation bar, click Key Pairs.
  • Select KPforDevAxInstances.
  • Click Actions
  • Click Delete

Clean up reources

  1. Type Delete to confirm, then click Delete to delete

Clean up reources

Delete S3 bucket

  1. Go to giao diện quản trị dịch vụ S3.
  • Click Buckets
  • Select S3 bucket was created to save file Module1.template.yaml when we create the CloudFormation stack.
  • Click Empty.

Clean up reources

  1. Type permanently delete to confirm, then click Empty to delete the data of the S3 bucket.

Clean up reources

  • Click Exit to back S3 interface.
  1. Click Delete.

Clean up reources

  1. Type the name of the bucket then click Delete bucket to delete S3 bucket.

Clean up reources

  1. Do the same for S3 bucket elasticbeanstalk-us-east-1

    You may edit the bucket policy of S3 bucket elasticbeanstalk-us-east-1 to have permission to delete