Although hosting WordPress on AWS offers amazing performance, it can be challenging. If you’re a new to the development world, you may be interested in managed shared hosting or managed cloud hosting.
To get started, create a free AWS account and follow along with the video above. If you get stuck, check below to see the steps listed individually with their commands.
After you’ve created an Amazon Web Services account, click the Services link at the top of the page, then click the EC2 link under the compute column.From your EC2 dashboard, click on the Launch Instance button to deploy a new EC2 instance. An “Instance” is just a fancy word to describe the Virtual Machine that will be running your WordPress installation.Now that your EC2 instance has been deployed, the next step is to install WordPress. To to this, navigate to AWS Marketplace in the left sidebar column, then search for WordPress and select WordPress Certified by Bitnami.Click the Continue button after you’ve looked over the Bitnami WordPress details page.
2. Choose Instance Type
On the next page, select the instance (virtual machine) hardware that you want to run your WordPress installation. Choose the free t2.micro machine.
3. Configure Instance Details
On the Configure Instance Details page, choose the Auto-assign Public IP option, and leave the other options unchanged.
4. Review Instance Details
Next, click the Launch button at the bottom of the Instance Details page.
5. Generate SSH Key
Next, a popup window will appear. Create a new SSH key pair as instructed in the popup window. Make sure to download the key pair and save it in a safe place. Next, click the Launch Instances button at the bottom of the popup window.
6. Obtain WordPress Credentials
Congratulations! You’ve just launched a new WordPress installation. However, in order to login to your new WordPress installation, you will first have to obtain your WordPress login credentials. To do this, first click the Services link at the top of the Launch Status page.Under the Compute column, click on the EC2 link.Next, click on the Instances link in the left-sidebar column.On your Instances page, click on the Actions button, then navigate down to Instance Settings then click on Get System Log.Use the sidebar at the right side of the page to navigate towards the bottom of the instance log. Locate and copy your Bitnami application password.
7. Copy External IP Address
After copying your WordPress password, exit out of the instance log and use the bottom scroll bar to locate and copy your Public IP address.
8. Login to WordPress
In a new browser window, paste the Public IP address followed by wp-admin – this willl take you to the WordPress login page. Enter user as the username, and paste the password that you copied from the previous step into the password field.Now that you’ve successfully into WordPress, you can change your WordPress website.
That’s it!
You’ve successfully launched a WordPress application in a virtual machine instance on AWS!
Now that your WordPress application is successfully configured, you can look into more advanced functionality such as setting up a domain name and SSL encryption.
If you have any questions or comments about this tutorial, please be sure to post them below!