Module 5: Explore Your New Web Site and Clean Up
In this module, you will clean up the resources created in this lab so that you will not be charged.
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.
What You Will Learn
- Clean up the resources created in the lab:
- Remove your EC2 Instance
- Delete your RDS Instance
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.
Click Yes, Terminate to terminate your instance.
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.
Type “delete me” into the confirmation box and click the Delete button to finalize the process.