AWS, Cloud Computing

4 Mins Read

Detailed Guide for Hosting a WordPress Website on AWS

Overview

Choosing the right cloud provider is usually based on several options: cost, reliability, security, compatibility, and more.

While adopting new cloud technologies is challenging, adhering to the budget without compromising the security posture can be next to impossible without an expert.

If you need many services, AWS is probably the best for you. AWS offers 200+ services highest by any. AWS is the leading cloud provider in the market and is known for its reliability and uptime. It means websites hosted on Amazon will rarely go down. They are the cloud hosting provider with the largest share of the market by a good bit. Amazon Web Services (AWS) is perhaps the most popular cloud hosting provider today.

Managing a Server Via AWS

Configuring Amazon Cloud is not easy unless you are a cloud wizard. The command line interface holds a lot of promise, but it is not friendly to those who don’t know their way around it. So, what should you do? Learn the command line interface and get started with it.

Step 1: Setting up EC2 Instance on AWS for WordPress

We first need to set up an AWS EC2 instance, for which we click on Services > Compute > EC2 to install a virtual server on the cloud.

wordpress1

Then, “EC2 Dashboard” screen, will appear on your browser, and next, you need to click on Instances > Launch Instance.

wordpress2

After that, an operating system for instance needed to be selected and I’m going with Amazon Linux 2 AMI.

wordpress3

If we use the search feature to look for “WordPress” setups, we’ll find over 100 different configurations to choose from. In the list, look for the WordPress Certified by Bitnami and Automatic options.

wordpress4

When we click on ‘Select’ it will show us the details for this configuration and the hourly fees for different levels of instances.

wordpress5

Next, the instance-type section will appear from where we can select the number of vCPUs, RAM, and instance type for the server. Then we’ll see, by default, it will be selected as a t2.micro instance. So, just click Next.

wordpress6

Then, a new section appears from where we can check and configure the instance details. Just click Next, no need to change any details.

wordpress7

We can add a new volume in the storage section, increase the volume size, and other storage-related settings. Here, again don’t need to change anything, just simply click Next.

wordpress8

Next, we need to click on Add Tag, fill in the Key and Value field, and then click Next. In my case, Key = Name and Value = HanCloud.

wordpress9

Next, section is a security group configuration. Here, we can set a name for your security group and add the description. Also, we can add new rules and set the access point (IPs) for each.
Next, click on the Add Rule button and select SSH. Repeat the same to add HTTP and HTTPS. After that, we must change the Source and, in the image, below Anywhere is selected as you can see.

wordpress10

This is the last part of the setup section from where we can review the instance (Storage, Tags, etc) and create a new key pair.

The first thing we need to do is click Launch and select Create a new key pair. After that, just fill in the name for the key pair name and then click Download Key Pair.

wordpress11

That’s all, Our EC2 instance has launched successfully.

Step 2: Access the instance and find its public IP

For accessing the new instance, return to the AWS console home look for the Services tab at the top of the screen, then select the EC2 option:

wordpress12

On this page, look for the Running Instances option under the main menu:

wordpress13

Now, if we have a single instance running at this point and when we select it, we’ll notice it lists the instance’s public IP under its details:

wordpress14

If we enter the ‘Public IP address into the navigation bar, we’ll see a brand-new WordPress website!

wordpress15

Our WordPress website is ready to use now. However, before we do anything else, we’ll have to map a domain to this IP address, so everyone else can access it through the domain address.

  • Cloud Migration
  • Devops
  • AIML & IoT
Know More

Conclusion

Amazon is no longer ‘just’ a retail giant. It also dominates the field when it comes to cloud hosting services. AWS powers the web services of tech giants such as Apple and Netflix, so you know you’re in good company. However, you need to know how to navigate the complexities of cloud hosting.

Get your new hires billable within 1-60 days. Experience our Capability Development Framework today.

  • Cloud Training
  • Customized Training
  • Experiential Learning
Read More

About CloudThat

CloudThat is also the official AWS (Amazon Web Services) Advanced Consulting Partner and Training partner and Microsoft gold partner, helping people develop knowledge of the cloud and help their businesses aim for higher goals using best-in-industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.

Drop a query if you have any questions regarding WordPress, Web Hosting, or AWS services, and I will get back to you quickly. To get started, go through our Consultancy page and Managed Services Package that is CloudThat’s offerings.

FAQs

1. How do you log into WordPress for the first time?

ANS: – On your instance management page, under the Connect tab, choose Connect using SSH. After you’re connected, enter the following command to get the default application password:

 

2. How do you Point your domain toward your AWS instance?

ANS: – The specifics for this step will depend on which domain name registrar you use. However, in broad terms, you’ll want to set up an ‘A record’ that maps a domain you own toward your AWS instance’s public IP address.

WRITTEN BY Guru Bhajan Singh

Guru Bhajan Singh is currently working as a Software Engineer - PHP at CloudThat and has 6+ years of experience in PHP. He holds a Master's degree in Computer Applications and enjoys coding, problem-solving, learning new things, and writing technical blogs.

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!