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.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- How to Launch a WordPress Website using Amazon EC2 Server ?
- Introduction to Amazon Lightsail
- Launch a Website on AWS S3
- Making your WordPress Website More Secure
- Launching an EC2 instance using AWS CLI
- Launching AWS EC2 Instance using Python
- What is AWS EC2 Instance Storage?
- Run Commands on EC2 Instance Remotely
- Detect and Analyze Faces using Amazon Rekognition
- Amazon Aurora
- What is E-paper Technology in Amazon’s Kindle?
- Identity and Access Management (IAM) in Amazon Web Services (AWS)
- Introduction to Amazon Web Services
- Introduction to Amazon Elastic Container Service (ECS)
- What is Amazon Machine Image (AMI)?
- What is Amazon Glacier?
- Overview to the Amazon Virtual Private Cloud
- Introduction to Amazon Cloudwatch
- Introduction to Amazon Route53
- What is Amazon Kinesis?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.