What is Lightsail?
Amazon Lightsail is short version of EC2 (Elastic Compute Cloud).
If you don’t have much experience with Amazon WEb Services such as VPC , EC2 Instances , Load Balancers , Amazon Lightsail is the best and easy way to start.
It provides a quick and easy way to deploy and mange instances along with applications such as WordPress , LAMP stack , Drupal and much more.
This features is mainly for developers who want to setup a test project to run applications without having much knowledge on managing aws services and also to avoid spending time on installing software or frameworks.
In this post We will learn how to setup an instance using Amazon Lightsail console.
If you want to Deploy LAMP STACK on Lightsail <– Refer this Article
Creating Instance in Amazon Lightsail
To Create an Instance , Login to Amazon Lightsail Console,
Click Create Instance
Choosing Instance Location
Select your preferred AWS Region and the Availability Zone for the Instance to be launched.
Select the Operating System
You have the option to Create Linux or Windows Operating Systems.
Supported Linux OS :
- Amazon Linux
- Ubuntu 18.04 LTS & Ubuntu 16.04 LTS
- FreeBSD 12
- Debian 8.7 & Debian 9.5
- Centos 7
Supported Windows OS :
- Windows Server 2016
- Windows Server 2012 R2
We will create a Linux : Ubuntu 18.04 Operating system for this tutorial.
Under Select a Platform , Choose Linux/Unix
Under Select a Blueprint , Choose OS only
And If you want to run some shell script while launching the instance for the first time , You can add it.
Next We need to setup key pair for this instance , You can either use the existing key pair Or you can create a new one for this instance.
To setup a New Key Pair , Click Create New
And then Click Create , Give a name for the key pair and click Generate key pair
And You should download the private key (.pem file) and It will be available to download Once.
You should see the key pair listed Under SSH Key pair Manager.
Next Choose the Instance plan , Depending on your requirements by considering the requirements Such as CPU , memory , Disk space.
Identify Your Instance
Provide a Unique Name for the Instance for Identification.
Also You can launch multiple Instances with same configuration at the Same time by providing the instance count.
Adding Key-Value Tag for Instance
Next You can add a tag for the Instance.
At last Click Create Instance
Once the Instance is Created and In Running State.
Click the SSH Console Icon , To Login to the Instance directly.
We have successfully created an Instance using Amazon Lightsail Console in the simplest way.
Hope you found it helpful.Thanks for reading this article.
Please do check out my other publications.