Andy Tran

Set up the WordPress Website on AWS EC2 using CentOS 7

by | Mar 16, 2022 | Wordpress

Set up the WordPress Website on AWS EC2 using

What is AWS?

Amazon Web Services (AWS) is a flexible and secure on-demand cloud computing platform. AWS is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully-featured services from data centers globally.

Why AWS for WordPress?

There are many advantages to using AWS for hosting the WordPress site.

    • Increase the Speed and Agility
    • Easy to Use and Maintain
    • Cost-Effective
    • Secure
    • Flexible – Easy to migration Process
    • Auto Scaling and Elastic Load Balancing

Deploy WordPress on AWS

You can deploy WordPress on the AWS server by following the below-mentioned steps:

  1. Sign Up for an AWS Free Tier Account
  2. Login to AWS Free Tier Account and go to All Services -> EC2
    AWS screenshot 1
  3. Click on the Launch Instance button.
    AWS

Follow the below 7 steps to actually start the configuration:

1. Choose AMI (Amazon Machine Image) -> Search Centos, In AWS Marketplace

AWS

Choose -> CentOS 7 (x86_64) – with Updates HVM -> Continue

AWS

 

2. Choose an Instance Type
Choose – t2 t2Micro (Free Tier Eligible) Then click on the Next button

AWS

3. Click on the Next button
4. Add Storage Space, by increasing the Size to 20 GiB, and click on the Next button.

AWS

5. Add Tag
Here, you can add any key and value.
E.g. Key is Erudite and value is also erudite-test.
Whatever you want you can add Key and Value.
Add the Key and Value And click on the Next button

AWS WordPress Hosting on AWS EC2

6. Add Rule.

AWS WordPress Hosting on AWS EC2

After a rule is added, click on the review and launch button.
Select create a new key -> Add Key name and click on the Download Key Pair button.
(Downloaded as .pem file)

After downloading, click on the Launch Instance button.

Review-download-pemkey WordPress Hosting on AWS EC2

After Click on View Instance. Click on there, You can display the IP Address and Other Details there. Copy That IP Address and Paste in New Tab New Blank WordPress running.

instanceIPAddress WordPress Hosting on AWS EC2

Now Copy, That IP Address and WordPress Blank Site setup Successfully done.

Now, to get the Admin Password
Select the Instance -> Actions -> Monitor and Trobleshoot -> Get System Log.
Here, you can search for the keyword “Password” and can find it as shown below.
Now, With your IP Address/wp-admin – User Name is user and Paste that Password.
Admin Login Successfully Done.

instanceIPAddress WordPress Hosting on AWS EC2

After the login is successfully done, You can change the password.

See our latest  WordPress blogs.

0 Comments

Submit a Comment

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