Install WordPress on Amazon Web Service

Posted on
🎯 What’s the goal?

Install WordPress on AWS (Amazon Web Services) with a free 12-months plan

⚠️ Why does it matter?

If you interested in the AWS Free Trial

🏁 What’s the result?

Launch a new virtual machine on AWS Server, and install it with a WordPress software image to run your future website and lay the foundation of your new online presence..

⌚ When do you do this?

When it’s time to pick a new hosting provider

βœ… Any special requirements?

Need a Credit Card

πŸ™‹β€β™‚οΈWho should do it?

The person is responsible for managing your website.

⏳ How long will this take?
10 – 20 minutes

Now let’s start to build the foundation for your Website

Environment setup

  • Make sure you use Google Chrome browser to navigate the web,
  • Prepare Credit/Debit Card for registration*
  • Prepare your cell phone for verification*

* It’s free but a unique Card & Phone Number is required to make sure you’re not taking advantage of AWS free trial that is limited to one account per person.

Create an AWS account

If you are already shopping with Amazon, you can use the same Credentials of your Amazon account, there on AWS. If not, then please go ahead and create a new account.

Install WordPress on Amazon Web Service

  • Now you have to enter your email address and create a password for your new AWS account and name it (Eg: myBlogName), if you want some tips about how to organize your password, please check this Ultimate Guide to Password Management.

Install WordPress on Amazon Web Service

  • Click the button β€œContinue”

  • On the next step, You should add some basic information

  • I select β€œPersonal” for the purpose of this guide, but if you are a business entity you can also select β€œProfessional” and enter a company name.

  • Finally, check the box next to the agreement

  • Click β€œCreate Account and Continue”

  • In the next step, you need to enter your Credit or Debit card data, nothing will be charged from your card, it’s just a way of verifying that you’re a unique person and not taking advantage of the 12-month free plan.

  • And then, confirm your address, or β€œUse a new address” if it is different from the billing address of your Credit/Debit Card:

  • Click on β€œVerify and Add”

  • Next step, you’ll need to enter a valid phone number. Amazon will send a verification code to make sure the number is valid. So start by filling the necessary data for receiving verification code and proceed and press β€œSend SMS”

  • Fill in with the code you just received on your mobile device, and click β€œVerify Code”, then if it was correct press β€œContinue”.

  • On the next page, we will choose the β€œFree Plan”

  • Then, you can choose to select your role and your interests if You want to receive recommendations from (you can leave it blank).

  • Finally, click on β€œSign In to the Console”

  • To sign in choose β€œRoot user” and enter the email address you used to create your account on AWS and click β€œNext”

  • Enter your password and press β€œSign in”

  • Wait for the page to load…

Create your WordPress Instance / Server on AWS

  • Now you should be able to see AWS Management Console

  • Start off with choosing the region for your data center (upper right corner), Amazon has many locations for their Data Center, and here you can pick the location that seems to be the closest to the future audience of your website.

  • Click on β€œAll services” and choose β€œEC2” under β€œCompute” tab

  • Select β€œLaunch Instance”

  • Now search for β€œbitnami” in the search engine

  • Search for results in β€œAWS Marketplace”, you need β€œWordPress with ubuntu 16.04 or higher” and β€œFree tier eligible”, ignore the option with SSL as we will prepare another SOP to explain how to get a free SSL for your website using Cloudflare.

  • Press β€œSelect”

  • You can review your choice with pricing after your free year, and then click on β€œContinue” and then select the instance ”t2.micro” that is β€œFree tier eligible” for your 12-Months free trial.

After 12 Months this instance will cost $0.013 / hr β€œon-demand” which translate to $113.88 / year

Or if you reserve it for 1 year, the price will reduce to $0.007 / hr which translate to $61.32 / year

  • Press β€œNext: Configure Instance Details” to start configuring your new instance, we recommend you to select β€œProtect against accidental termination”, then click on β€œAdd Storage”

  • You can choose to stay with 10GB of storage (It will be enough), be careful not to add storage above the free limit

  • Now press β€œNext: Add Tags”, where you can add tags for your instance, it’s useful if you have many instances and want to sort them in groups. But you can skip this for now (and can always add them in the future)

  • Then click on β€œConfigure Security Group”

  • We recommend you to leave the default settings here

  • Finally, click on β€œReview and Launch”

  • You can review all your choices and press β€œLaunch”



  • Select in the drop-down menu β€œCreate a new key pair” and then enter the desired name (eg: mysitekey) and press β€œDownload Key Pair”.The Security Key is a file with β€œ*.pem” extension

  • Now, you can click β€œLaunch Instances”

  • Wait a moment…

  • If everything went ok, you should see this

  • Now, you can go back to the EC2 services page from the top left menu:

  • Select β€œInstances” on the left side

  • You should see in β€œStatus Checks” that the instant is β€œinitializing”

  • At the bottom of the same page, you should see information about your server, find β€œPublic DNS (IPv4)” and copy it

  • This is the temporary URL of your Website (until you buy a domain name). So you can copy and save it, and then paste it in a new tab (you will need to keep the previous tab open to finish configure your WordPress Installation)

  • On this URL you should already be able to see your own WordPress website! Don’t forget to set the robots.txt file.

  • If you can’t access yet your website, then please get back to previous browser tab and check if β€œinitializing” status has changed to β€œ2/2 checks” – if not wait for it to finish initialize:

Find the password of your WordPress Admin Panel

You have now a fully working virtual server running on Amazon AWS Data Center with WordPress installed on it, now it’s time to find the password of your WordPress Admin Area.

  • Right-click on your instance and select β€œInstance Settings” > and ”Get System Log”

  • In the pop-up window, close to the end, you will find username and password

  • Now go back to your website and click on β€œLog in”

Once you click β€œLog in” you will be redirected to the URL of the Administrative Area of your WordPress Website. Once you customize your WordPress website with a theme, this link to β€œLog In” might disappear so you better save this URL now, but in case you lost it, it should look like this: yourwebsiteip/wp-admin or yourwebsiteip/wp-login.php

  • Enter the username and password you found in the previous step, and press β€œLog in”

This is it! Congratulations. You’re now on the dashboard of your WordPress Administrator Area.

Your new website is online. If desired, you can go to the section β€œUser” in the left menu to change the default username and password of your WordPress Administrator.

Now it’s time to Customize your WordPress website with a theme.

Leave a Reply

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