Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Launch a WordPress Instance Using Amazon Lightsail

  • Last Updated : 30 Aug, 2020

WordPress is a content management system (WCM) which is a tool that organizes the whole process of creating, storing, and showcasing web-content in an optimal way. But, the process of creating a WordPress is not that easy it requires a lot of understanding of the topic. To make this easy Amazon Web Service(AWS) has launched a tool named Amazon Lightsail which is the easiest way to get started with virtual servers, storage, databases, and networking, plus a cost-effective, monthly plan.

Lets, look at how to launch WordPress Instance using Amazon Lightsail.

Step 1: Create/ Login to Amazon Web Service(AWS) Account

The first step is the basic step to simply create/login to your AWS account. After the AWS Dashboard is opened type Lightsail in the above white search bar on the page.

AWS console

Step 2: Create a WordPress Instance 

To create a WordPress instance follow these steps:



1.   Click on the Create Instance button and choose your instance location and instance image.

AWS create instance

 2. Select the Blueprint, in our case select the WordPress icon.

           

Select wordpress

3.  Choose the Instance Plan, in our case we will use the free trier plan which gives free access to Lightsail for one month(up to 750 hours).

instance plan

4. Enter the name of the Instance. It Must be unique within each AWS Region in your Lightsail account. It Must contain 2 to 255 characters. It Must start and end with an alphanumeric character or number. And it can include alphanumeric characters, numbers, periods, dashes, and underscores.



naming instance

 5. Choose Create Instance

Step 3: Connect Instance via SSH

In order of connecting your instance via SSH follow these steps:

1.   On the Instances tab of the Lightsail home page, choose the SSH quick-connect icon for your WordPress instance (as shown in the figure by the red arrow).

SSH

2.   After the browser-based SSH client window opens, enter the following command to retrieve the default application password:

cat $HOME/bitnami_application_password                         

3. Make note of the password which will display on the screen after the above command runs.

Step 4: Sign in to the administration dashboard of your WordPress website

1.  In place of PublicIpAddress type the public IP address of your instance. By logging on to: http://PublicIpAddress/wp-login.php

Set IP address



2. Log into your instance.  

wordpress login

Logging to Lightsail Dashboard

You are now signed in to the administration dashboard of your WordPress website where you can perform administrative actions.

lightsails dashboard

Step 5: Creating a static IP address and attach it to your WordPress instance

The default public IP for your WordPress instance changes each time you stop and restart your instance. A static IP address, attached to an instance, stays the same each time you start or stop the instance.

1. Choose the Instance you created and select the create static IP.

create static IP

2. Choose the Instance to be attached with the static IP address.

choose Lightsails instance

3. Name your static IP and then click on Create.

naming IP address

Now when static IP is attached create a DNS zone and map a Domain Name for your WordPress Instance. Your WordPress Instance is up and running.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!