How to Install and Run Wordpress on AWS
Install WordPress the easy way with CloudFormation

WordPress is an open-source CMS originally built as a web publishing platform, quickly becoming a de-facto standard for blogs. Thanks to its huge third-party plugin ecosystem, WordPress has been adopted for use in many different situations never imagined by its creators, including dynamic websites, e-commerce platforms, and online newspapers. It's a terrific software package with a huge user base, but getting the most out of it can be tricky.

This course demonstrates installing and running WordPress on Amazon Web Services. Expert Linux System Administrator David Clinton will guide you through installation, from the easy way (using a Cloudformation template), up to deploying a highly customizable instance on EC2 and RDS. You will learn to use optimization tools like Varnish and Route53 and to monitor availability and costs with CloudWatch.

If you have thoughts or suggestions for this course, please contact Cloud Academy at

Intended Audience

This is an intermediate course that will assume some basic knowledge of the AWS system. Some familiarity with the Linux Command Line Interface and MySQL might also be helpful.To move to the next step, check out our EC2 and RDS courses, and our introductory AWS video. You might also enjoy our courses on CloudFormation, LAMP stacks on AWS and Security on Linux based AWS instances, which make great follow-ups. If you want to challenge yourself, check out our questions.



Hi and welcome to's video series on hosting your WordPress site in the cloud on AWS.

In this video, we'll explore CloudFormation, a simple WordPress creation and hosting option. There's more than one way to set up your WordPress site. We'll discuss manually building and optimizing in other videos in this series.

However, for those who may be more familiar with some simpler hosted options, like or C Panel, AWS CloudFormation is a really competitive approach. Let's click on CloudFormation.

We'll create a new stack. Let's call it my site. We'll select a sample template. CloudFormation builds instances on templates. You can manually create your own template, but that's a whole course all by itself. You could also however, choose pre-filled templates. You could choose templates to work on single instance samples, rather simple website, as we're going to choose this time, on Amazon RDS samples, if you increase the complexity and traffic associated with your WordPress site, you may want to use an RDS sample, or highly available multiple AZ samples. We're going to choose a single instance sample, and we're going to choose a WordPress blog. Click next.

We'll enter a password. We'll stick with the M1 small instance type, and we'll go next again. We could enter keys and values to increase security, but there's no need for that right now. Click on advanced and we are given notification options. We could choose to have our site update us by email for specific events and alerts. We could also select certain options, like timeout rollback on failure, which control how the stack actually will be built.

We'll leave it as it is with no notifications. And we'll click next. There's a review of our stack. Let's create it. The create seems to now be complete. This can take a good few minutes, so don't get too excited if you don't see any progress for awhile. Let's click on outputs. And we're given the website URL, http://ec2. So you see that this WordPress instance is actually being hosted on Amazon. You don't need to build your own server on EC2 or anywhere else.

That's the simplicity of the process. Let's copy the URL, and paste the URL into our browser. And we are actually at the WordPress setup screen. So let's choose United States English, and give it a nice new title, my site. Give us a username, Ubuntu. Enter a password and hit password a second time. Add an email. It's not my real email but this'll do. Allow search engines to index this site. Perhaps not, but normally you would like that because it does drive more traffic to the site, and install WordPress. We're in. Enter our name, Ubuntu, and our password, and log in. It's that simple.

About the Author
Learning Paths

David taught high school for twenty years, worked as a Linux system administrator for five years, and has been writing since he could hold a crayon between his fingers. His childhood bedroom wall has since been repainted.

Having worked directly with all kinds of technology, David derives great pleasure from completing projects that draw on as many tools from his toolkit as possible.

Besides being a Linux system administrator with a strong focus on virtualization and security tools, David writes technical documentation and user guides, and creates technology training videos.

His favorite technology tool is the one that should be just about ready for release tomorrow. Or Thursday.