In this lab, you learned how to set up a WordPress site on Amazon EC2. As part of this, you used a MySQL database from Amazon RDS. Amazon RDS provides fully-managed database options so you can focus on the things that matter for your business.

Now it’s time for the fun part -- go play with your new site. Configure the design, add pages and posts, and start getting users to your site.

There are a number of ways to improve your WordPress installation, such as:

Connecting a domain name to your WordPress site with Amazon Route53;

Using Elastic Load Balancers and Amazon CloudFront to scale WordPress;

For additional information, check out the whitepaper on WordPress Best Practices on AWS.

Note: If you ever stop and start your WordPress EC2 instance, use an Elastic Load Balancer in front of your EC2 instance, or associate a domain name with your site, you may need to update some WordPress configuration settings. Please see WordPress’s reference documentation on changing the site URL for more information.

In the steps below, you will clean up the resources created in this lab so that you will not be charged.

Time to Complete Module: 5 Minutes


  • Step 1: Remove your EC2 instance

    First, you can remove your EC2 instance that is hosting your WordPress site.

    Navigate to the EC2 Instances page and find your EC2 instance. Select it, and click the Actions button. Navigate to Instance State > Terminate and click it.

    Module5-step1a

    (Click to enlarge)

    Module5-step1a

    Click Yes, Terminate to terminate your instance.

    Module5-step1b

    (Click to enlarge)

    Module5-step1b
  • Step 2: Delete your RDS instance

    To delete your RDS instance, navigate to the RDS Databases page in the AWS console. Find your WordPress RDS instance and select it. Then, click Actions and Delete.

    Module5-step2a

    (Click to enlarge)

    Module5-step2a

    Type “delete me” into the confirmation box and click the Delete button to finalize the process.

    Module5-step2b

    (Click to enlarge)

    Module5-step2b