How to setup an AWS Lightsail server to Host your websites
This tutorial is a detailed explanation to AWS users who rely on LightSail. You may know that LightSail is EC2 instance made easy. Here we discuss how to install CloudStick in LightSail instance.
- 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 Elastic Compute Cloud in LightSail
Step1 : 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
Step3: Choose LightSail for this purpose. This is very easy to follow and without any complications we can proceed further
Step4 : 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 which gives you the configuration details like private IP public IP etc
Step 11: Now go to the networking tab, and scroll down to Firewall section:
Step 12 : Now if you click on connect using SSH, you will be logged in to the server from a Browser terminal. You can change the root password using the commands given in the screenshot
Remember the root password, it will be essential in one of the coming steps.
Now, you would require to configure the SSH so as to have a direct installation. The steps are given below
Goto SSH configuration file
# nano /etc/ssh/sshd_config
Now, uncomment and change the line from no to yes
Once done the changes, don’t forget to restart the process
#service sshd restart
Signing In to CloudStick
Our onboarding process is quite easy, Enter your email, password and username, Confirm the email and that is it. You are onboard.
Now, sign in to the account
The landing page will be a fully functional dashboard with all the functionalities
You can connect the server using the very first option in the dashboard:
Select the provider and give the Server Name and IP address and click on Add the server
All you would require is to enter the server credentials here
Once you click on start installation, it will commence the process and your server will be provisioned within a few minutes:
Have realtime progress of the installation.
The installation closes to finish
The installation progress can be viewed and within few minutes, attains completion Your server is ready to manage from the CloudStick dashboard.
In case of any errors encountered in any of the above steps, please contact @Support We are 24/7/365