| Did this page help you? Yes No Tell us about it... |
This section walks you through the process of creating and deploying a WordPress website on your Amazon EC2 Windows instance.
Before you get started, be sure you've done the following:
Launched an Amazon EC2 instance from an AMI that has Windows Server 2008 R2 and Internet Information Services (IIS) pre-installed. For information on launching an Amazon EC2 instance, see Getting Started.
Checked to ensure that the security group in which you're launching your Amazon EC2 instance has port 80 open for inbound traffic. If port 80 is not open, the WordPress site will not be accessible from outside the instance.
Connected to your Amazon EC2 instance.
Verify you've met the conditions in Prerequisites.
Configure Server Manager Settings.
In your Amazon EC2 instance, click Start.
Right-click Administrative Tools.
Select Server Manager.
In the Server Manager box, in the Security Information panel, click Configure IE ESC.

In the Internet Explorer Enhanced Security Configuration box, under Administrators, select the Off button.
Click OK to close the Server Manager box.
In the EC2 instance, in the Internet Explorer web address field type http://www.iis.net/download/webdeploy.
In the Download Extension box, click Install to install the latest version of Web Deploy.

Click license terms next to the green Install Now button to read the license terms.

After you read and decide to agree to the license terms, click the green Install Now button.
When prompted, click Run to install the Microsoft Web Deployment Tool. The Web Platform Installer 3.0 wizard appears.

Click Install. A list of third-party application software, Microsoft products, and components appears.

Click I Accept. The Web Platform Installer begins to install the software. The wizard will indicate when it has finished installing the software.

Click Finish. Next the Web Platform Installer launches and you'll need to install WordPress.
To Install WordPress
At the top of the Web Platform Installer 3.0 window, click Applications.
Navigate to the WordPress row and click Add.

Click Install.
Select MySQL for the database you want to install, and, in the This database engine is not installed box, select Install it on my machine.

Click Continue. A list of third-party application software, Microsoft products, and components appears.

Click I Accept. The page where you enter your MySQL passwords appears.

Type a password for your MySQL database in the Password box and the Confirm Password box.
After the Web Platform Installer finishes installing the software, you will be prompted to configure your new site.
For Step 1 of Enter your site information:
Clear the default application name in the 'WordPress' application name: field and leave it blank.

Leave the default information in other fields and click Continue.
In the Overwrite box, click Yes.

For Step 2 of Enter application information, enter the following information.
In the Database Administrator Password box, type a password.
Leave Database User Name set to the default value.
For Database Password, type a password in the Password for the database user name box and the Confirm box.

Click Continue. The Web Platform Installation completion page appears.

Click Launch WordPress. The WordPress Welcome page appears.
On the Welcome page, enter the following information.
In the Site Title box, type your site title.
In the Username box, leave the default set to admin.
In the Password, twice boxes, type your password twice.
In the Your E-mail box, type your email address.

Click Install WordPress. The WordPress Success page appears.

Click Log In. The Log In page appears.
On the Log In page, enter the following information.
In the Username box, type admin.
In the Password box, type your password.

Click Log In. The WordPress Dashboard appears.
In the QuickPress box, enter the following information.
In the Title box, type the title you want.
In the Content box, type some content.

Click Publish. A notification appears in which you can choose to view or edit the post.

Click View post. Your post appears.

Now that you can see your WordPress blog on your localhost, you might want to publish this website to other users as your default site on your Amazon EC2 instance. The next task walks you through the process of modifying your WordPress settings to point to your Amazon EC2 instance instead of your localhost.
To configure the default settings for your WordPress site
Navigate back to IIS, expand the localhost and Sitesnodes, select the Default Web Site. In the Actions pane on the right, In the Browse Web Site group box of the Internet Information Services (IIS) Manager window, click Browse *:80 (http).

The website appears at http://localhost/.
![]() | Note |
|---|---|
If you do not see your WordPress site, click the Refresh button. |

Click Log In and enter the username and password. The WordPress Dashboard appears.
In the Dashboard left navigation pane, click Settings. The General Settings page appears.
On the General Settings page, enter the following information.
In the WordPress address (URL) box, type the public DNS address of your Amazon EC2 instance. For example, your URL may look something like http://ec2-174-129-142-249.compute-1.amazonaws.com. For information about getting your public DNS address of your Amazon EC2 instance, see the “Review your settings and launch the instance” step in the Amazon Elastic Compute Cloud Getting Started Guide.
In the Site address (URL) box, type the same DNS address of your Amazon EC2 instance that you typed in the previous step.

Click Save Changes at the bottom of the page.
Open a browser on a computer other than the EC2 instance hosting WordPress, and, in the web address field, type your public DNS address of your Amazon EC2 instance. Your WordPress site appears.
Congratulations! You have just deployed a sample WordPress site on an Amazon EC2 instance.