How to Install WordPress in AWS EC2: Step-by-Step Guide for Beginners

How to Install WordPress in AWS EC2 Step by Step Guide

If you want to create a website and do not have the budget for expensive hosting then AWS EC2 T2.micro service is for you. This article will give you detailed information about How to Install WordPress in AWS EC2(Free for 12 months). 

We give you step by step guide with all the necessary scripts (code) that guide you to How to Install WordPress in AWS EC2. This script is not only for the AWS cloud you can use this on any cloud server to host your WordPress site but the cloud is based on the Ubuntu/Linux operating system. Below is the full Ec2 instance WordPress tutorial:

Step 1: Create a Free AWS account 

In this section of How to Install WordPress in AWS EC2, we will teach you how to create an Aws account, Below are all the steps:

Create AWS account

Step 2: Launch the EC2 instance

In this section of How to Install WordPress in AWS EC2, we give you step by step guide to launching an AWS EC2 instance:

AWS EC2 Instance Setup
AWS EC2 Instance setup
AWS EC2 Instance Setup 3

Step 3: Allocated Elastic IP and Associated with Running Instance

In this section of How to Install WordPress in AWS EC2, we Allocated Elastic IP to over EC2 Instance:

AWS Elastic IP Setup

Step 4: Connect to our Instance

In this section of How to Install WordPress in AWS EC2, we connect over the server to the terminal:

AWS EC2 Instance Connect

Step 5: Install WordPress on EC2 with the LAMP method (Linux+Apache+MySql+PHP)

In this section of How to Install WordPress in AWS EC2, we install all necessary servers on EC2:

Let’s Install Apache2 server:

Install Apache2 Server in AWS EC2 Instance

Let’s Install MySQL:

Let’s create a MySQL Database User:

Let us create a MySQL Database:

Let’s Install the PHP and phpmyadmin:

Install the PHP and phpmyadmin:

Let’s Inatall Zip/Unzip:

Let’s Install WordPress:

How to Install WordPress in AWS EC2

WordPress Configuration

WordPress Configuration

Let us Point our Domain to EC2 IP

  • Log in to your domain provider. 
  • Open the DNS Management Setting 
  • Create or modify A Record and Cname.
  • Wait for a few minutes for the DNS confirmation.
  • After that, you can access your WordPress site using your domain name.

After all these steps, go to your IP and pest search bar and get the WordPress installation page. So finally we successfully installed WordPress on AWS EC2 and hosted the website for free. 

For more, you can watch this YouTube Video:

Note: We use Cloudflare for DNS management and SSL but you also configure a free SSL certificate by using Scrip. If you want let us know we will provide you as soon as possible.

FAQs

Is AWS EC2 free to use?

AWS Ec2 is free for 12 months.

Can I host website for free?

Yes, you can host your website for free via the AWS EC2 free tier.

Can I Host my WordPress website for free?

Yes, You can host your WordPress website for free at the AWS Ec2 free tier.

Conclusion

So finally we covered all the information about How to Install WordPress in AWS EC2 and installed our WordPress to AWS EC2. Please share this article with needy once who want to learn How to Install WordPress on AWS EC2. If you find any problem in the following step please comment below we will try to solve it as soon as possible. Thank You for visiting Primemedianews.com! 

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *