Launch a WordPress Instance Using Amazon Lightsail
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.
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.
2. Select the Blueprint, in our case select the WordPress icon.
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).
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.
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).
2. After the browser-based SSH client window opens, enter the following command to retrieve the default 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
2. Log into your instance.
You are now signed in to the administration dashboard of your WordPress website where you can perform administrative actions.
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.
2. Choose the Instance to be attached with the static IP address.
3. Name your static IP and then click on Create.
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.