Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Tutorial: Deploy WordPress to an Amazon EC2 Instance (Amazon Linux or Red Hat Enterprise Linux and Linux, macOS, or Unix)

In this tutorial, you will deploy WordPress, an open source blogging tool and content management system based on PHP and MySQL, to a single Amazon EC2 instance running Amazon Linux or Red Hat Enterprise Linux (RHEL).

Not what you're looking for?

This tutorial builds on concepts introduced in Step 5: Try the AWS CodeDeploy Sample Deployment Wizard. If you have not yet completed it, you may want to start there first.

This tutorial's steps are presented from the perspective of a local development machine running Linux, macOS, or Unix. Although you can complete most of these steps on a local machine running Windows, you will need to adapt the steps that cover commands such as chmod and wget, applications such as sed, and directory paths such as /tmp.

Before you start this tutorial, you must complete the prerequisites in Getting Started with AWS CodeDeploy. These include configuring your IAM user account, installing or upgrading the AWS CLI, and creating an IAM instance profile and a service role.