How to setup an AWS Lightsail server to Host your websites

Category : Server Management

This tutorial is a detailed explanation to AWS users who rely on LightSail. You may know that LightSail is an EC2 instance made easy. Here we discuss how to install CloudStick in the AWS LightSail instance.

Prerequisites

  • AWS account signed up and logged in, not yet done? Click here to sign up.
  • Log on to cloudstick.io and signup your account

What we are going to do

  • Create EC2 LightSail in AWS
  • Deploy in CloudStick

Creating an AWS LightSail Instance

Step 1: Sign in to your AWS console.
web page shows where you are required to log in using your login details.

Step 2: You will see the main console after successful login to AWS and will be able to check out all the list of services offered by AWS

aws

Step 3:  Choose LightSail for this purpose. This is very easy to follow and without any complications, we can proceed further.

Step 4:  You can start by clicking Create instance, you will be asked to select the region.            Please choose the nearby region for better results

Step 5: Here we choose the OS image, please choose Ubuntu 16.04/18.04 LTS

Step 6: You can create SSH key pair if you want, and download it and keep it safe. This is optional

Step 7: Select your appropriate instance plan and proceed with the configure instance details:

Step 8: This is a penultimate step where you provide a unique name to the creating instance. You can even add tags and values corresponding to that instance and click on “Create instance”

Step 9: The created instance is displayed in a few minutes as you can see the instance. Click on it and you will see the detailed page.

Step 10: This is the detailed page that gives you the configuration details like private IP public IP etc

Step 11: Now go to the networking tab, and scroll down to the Firewall section and add the following rules.

Now let’s connect to our EC2 instance through a terminal, let’s use the ssh command to connect with the instance using our newly created keypair

ssh -i cloudstick_key.pem ubuntu@<ip address>

Here are logged in as ‘ubuntu’ user, we can switch to ‘root’ user using the following command.

sudo -i

Note: root access is required to install CloudStick on your server.

Now, Let’s connect our new EC2 instance with our CloudStick account. Let’s sign in to our CloudStick account. If you don’t have a CloudStick account, feel free to create a new one.

let’s install CloudStick on this instance by clicking on connect Server button.

Choose AWS as server provider, input the Server Name and IP address and click on Add the server

Here we are proceeding with the Manual Installation method since we didn’t set a root password for our instance.

For that click on the Manual Installation option and copy the installation command and paste it on the terminal and hit enter key.

Once the installation starts, you will be able to see the progress on the CloudStick dashboard.

The installation progress can be viewed and within few minutes, attains completion Your server is ready to manage from the CloudStick dashboard. Once the installation is completed, we can see it on the CloudStick dashboard.

In case of any errors encountered in any of the above steps, please contact support We are 24/7/365

You may be interested in :

learning management software

6 Must Know Learning Management Systems of 2024: Why Moodle Tops the List

Posted 04-03-2024 By Gajinder

Learning Management Systems Introduction The digital transformation of education has escalated the need for robust, scalable,…

Exploring the Innovative Features of WordPress 6.5

Exploring the Innovative Features of WordPress 6.5: A Comprehensive Guide

Posted 21-03-2024 By Veena Singh

Introduction: WordPress 6.5 marks another milestone in the evolution of the world’s most popular content management…

password from CloudStick

How to change MYSQL root password from CloudStick dashboard.

Posted 11-09-2020 By Gajinder

Changing Mysql root passwords are easy when it comes to CloudStick, you do have to fill…