Step 5: Clean up - AWS Elastic Beanstalk

Step 5: Clean up

Congratulations! You have successfully deployed a sample application to the AWS Cloud, uploaded a new version, and modified its configuration to add a second Auto Scaling instance. To ensure that you're not charged for any services you aren't using, delete all application versions and terminate the environment. This also deletes the AWS resources that the environment created for you.

To delete the application and all associated resources

  1. Delete all application versions.

    1. Open the Elastic Beanstalk console, and in the Regions list, select your AWS Region.

    2. In the navigation pane, choose Applications, and then choose getting-started-app.

    3. In the navigation pane, find your application's name and choose Application versions.

    4. On the Application versions page, select all application versions that you want to delete.

    5. Choose Actions, and then choose Delete.

    6. Turn on Delete versions from Amazon S3.

    7. Choose Delete, and then choose Done.

  2. Terminate the environment.

    1. In the navigation pane, choose getting-started-app, and then choose GettingStartedApp-env in the environment list.

    2. Choose Environment actions, and then choose Terminate Environment.

    3. Confirm that you want to terminate GettingStartedApp-env by typing the environment name, and then choose Terminate.

  3. Delete the getting-started-app application.

    1. In the navigation pane, choose the getting-started-app.

    2. Choose Actions, and then choose Delete application.

    3. Confirm that you want to delete getting-started-app by typing the application name, and then choose Delete.