Creating a Lightsail Instance

Creating a Lightsail Instance

In this step, we will create a Lightsail instance.

  1. From the Lightsail management console, click on Create Instance.

    Lightsail Create Instance

  2. Choose the Linux/Unix platform. In the Blueprint section, click on OS Only, and then select Ubuntu Linux 20.04 LTS.

    Select Blueprint

  3. Scroll down to the Identify your instance section, and name your instance Build-Instance.

    Name Instance

  4. Continue scrolling down and click on Create Instance.

    Create Instance

  5. Wait a few minutes for the instance to change to the running state as shown below.

    • Click on the command line icon to connect to the Build-Instance.

    Instance Running

  6. Install the unzip tool for Ubuntu

sudo apt-get install -y unzip


  1. Install AWS CLI on Build-Instance by running the commands below
sudo curl "" -o ""
sudo unzip
sudo ./aws/install


  1. Install the Lightsail control plugin for AWS CLI by running the commands below
sudo curl "" -o "/usr/local/bin/lightsailctl"
sudo chmod +x /usr/local/bin/lightsailctl


  1. Next step we will create awsstudent user with Administrator Access permission, then create accesskey / secret accesskey to configure AWS CLI.