fbpx

Hey, Cloud Developer – Are You Using Amazon Lightsail Yet?

Learn how to get started with Amazon Lightsail and create your first cloud instance with the new Amazon AWS service for cloud developers.
Share This Post

Amazon Lightsail basically lets anyone start his or her own website, including helping to create the cloud storage that the website will need. Normally we wouldn’t bother you with such a trivial purpose, but because of its nature, the Lightsail service has a fully exposed Easter egg: it enables developers to easily deploy pre-configured virtual private servers.

Separate from the AWS console, its clean and simple interface includes every element (such as a virtual machine, SSD-backed storage, DNS management, data transfer and a static IP address) needed to launch a project for a predictably low price. You can use the Lightsail console for managing its instances, or you can use the Lightsail API and Command Line interface (CLI). After creating an instance, a user can easily connect using an Amazon browser-based SSH terminal.

Who Uses Lightsail and Why

Developers can choose an image for their Lightsail instances that will start their projects instantly, eliminating the need to spend time installing necessary software and frameworks. Lightsail can help deploy and manage basic cloud resources, freeing individuals or developers to work on their personal projects. Developers can also learn how to use cloud services such as virtual machines or networking quickly using Lightsail. Lightsail has images for base operating systems, development stacks, and a lot of applications to choose from. We will discuss them later in this post.

Getting Started with Amazon Lightsail

You can create a virtual private server or Lightsail image for running applications like WordPress or development stacks like LAMP in almost no time, and can connect it to SSH without leaving Lightsail.

STEP 1: SIGN UP FOR LIGHTSAIL

If you don’t have an AWS account, sign up as follows:

  1. Open http://aws.amazon.com/ and select Create an AWS account.
  2. Follow the online instructions. Part of the signup procedure involves receiving phone calls and entering a PIN using the keypad on your phone.

If you have an account, then you can avoid this step and can go to the next step

STEP 2: CREATE AN INSTANCE

  1. On the Lightsail homepage, select Create instance.
  2. Select an application or an operation system from the displayed list lightsail 1
  3. Choose your instance plan. Lightsail plans start from $5 per month, which is available for free for one month.
  4. Set a name for your instance, and then click Create.
  5. (Optional) To configure advanced options, select Create a shell script that runs when you create your Lightsail instanceorCreate or upload a new SSH key pair.

Your instance is now ready. You can connect to it via SSH, without exiting Lightsail.

STEP 3: CONNECTING TO INSTANCE

1.    Open the menu on the right of your instance name, and then select Connect

lightsail 2

 Tip: You can also connect by choosing Connect by opening the instance management page and choose Connect with SSH

lightsail 3

 You can then type a command into the terminal and manage your instance without setting up an SSH client. 

lightsail 4

 2.    (Optional) Once connected to the instance, you can:

  • Create a static IP address for your instance to keep the same IP address each time you restart your Lightsail instance.
  • Create a snapshot of your instance as a backup.

We will talk a bit about these options now.

CREATE A STATIC IP ADDRESS

The next time you start your instance you will see that the default IP address has changed. To avoid this situation, you can create and assign a static IP address so that IP address remain the same every time you stop and start it. This makes it easier to manage DNS zones.

  1. Select Create other resources, then select Static IP on the homepage. lightsail 5
  2. Select the Lightsail resource where you want to attach a static IP address.
  3. Name the static IP address and select Create. Now, the static IP address is listed beside the region on the Homepage. lightsail 6

In addition, a blue pushpin appears next to the public IP address on the homepage’s Networking tab, indicating that the IP address is a static one. 

lightsail 7

 Up to five static IP addresses can be managed at a time.

CREATE A SNAPSHOT

On the Lightsail homepage, from the instance menu, select Manage > Snapshots

lightsail 8

 You can change the name of your snapshot and select Create snapshot. This helps save time in creating several instances using the same snapshot.

Lightsail Costs

Amazon Lightsail offers five different plans, ranging in cost from $5 up to $80 per month.

$5 per month$10 per month$20 per month$40 per month$80 per month
512 MB Memory1 GB Memory2 GB Memory4 GB Memory8 GB Memory
1 Core Processor1 Core Processor1 Core Processor2 Core Processors2 Core Processors
20 GB SSD Hard Disk30 GB SSD Hard Disk40 GB SSD Hard Disk60 GB SSD Hard Disk80 GB SSD Hard Disk
1 TB Transfer2 TB Transfer3 TB Transfer4 TB Transfer5 TB Transfer

SOFTWARE OF APPLICATION SUPPORTED BY LIGHTSAIL

Amazon Lightsail currently supports these operating systems and applications (with more to come in the near future). Operating systems in Lightsail

  1. Amazon Linux 2016
  2. Ubuntu Server 16.04 LTS

CMS applications in Lightsail

  • WordPress powered by Bitnami
  • Drupal powered by Bitnami
  • Joomla powered by Bitnami

E-Commerce and project management applications in Lightsail

  • Magento powered by Bitnami (eCommerce)
  • Redmine (Project Management)

Development stacks in Lightsail

  • LAMP Stack powered by Bitnami
  • Node.js powered by Bitnami
  • MEAN Stack powered by Bitnami (HVM)
  • LEMP Stack (Nginx) by Bitnami
  • GitLab powered by Bitnami (HVM)

Final Notes

The real shining point of Amazon Lightsail over typical VPS is a cloud backup service. Amazon Lightsail users can create a snapshot of the Lightsail instance for a small cost – $0.05 per month. Also, the API can be used to restore a AWS snapshot to a different instance type and re-assign a static IP address to that instance, making it possible to scale up or down an instance. Amazon Lightsail helps businesses grow and discover unlimited potential as 70+ AWS services can be connected to the Lightsail application using VPC peering. All these services can be managed from your AWS console while still keeping day-to-day VPS management in the Lightsail console.

Next step

The easier way to recover cloud workloads

Allowed us to save over $1 million in the management of AWS EBS snapshots...

Try N2WS for Free