Introduction to Amazon Lightsail

Amazon Lightsail is a VPS(virtual private server) provisioning service, much like the Amazon EC2. But unlike the Amazon EC2, Lightsail doesn’t have as many configurations required to boot up the VPS. Lightsail is the easiest way for developers to get started with aws. It is specifically designed to be a quick and simple solution for small scale applications at fairly low costs. For example, to host a simple small website like blogs and portfolio pages, Lightsail can be a cheap and fairly better solution as compared to EC2. You can obviously do your work in EC2 and have the website deployed from a there but as mentioned before, setting up EC2 is a longer and harder method than AWS Lightsail.

AWS Lightsail features:

  • Quick and simple setup: Setting up  AWS Lightsail instance is a fairly simple task as compared to running an ECS or EC2 service.
    • Can be provisioned from AWS console.
    • Can be directly set up from AWS LightSail.
    • Can be managed and set-up from AWS CLI.
  • Cheaper: AWS Lightsail is cheaper as compared to EC2 and ECS service. Implying that it won’t offer as many features and as much configuration freedom as an EC2 instance.
  • Multiple Instances: You can run multiple instances of AWS Lightsail and have them communicate with each other to make a fairly complex use case.
  • Connection to other services: AWS Lightsail can connect to other AWS Ressources much like any other EC2 instance.
  • Less configuration: AWS Lightsail insatnce can be provisioned from a single page of configurations. It also has some pre-configured settings to support faster deployments. Following are some of the commonly used website configurations provided by AWS Lightsail:
    • WordPress
    • WordPress MultiSite
    • PHP-5 LAMP Server
    • PHP-7 LAMP Server
    • Node.js
    • MEAN
    • Nginx

List of available commands:

AWS provides a set of commands that can be run on AWS-CLI (AWS Command Line Interface) to manage your services. Much like you’d manage from your AWS Console. Following is a list of commands that can be run for managing the AWS Lightsail service.

  • allocate-static-ip
  • attach-disk
  • attach-instances-to-load-balancer
  • attach-load-balancer-tls-certificate
  • attach-static-ip
  • close-instance-public-ports
  • copy-snapshot
  • create-cloud-formation-stack
  • create-contact-method
  • create-disk
  • create-disk-from-snapshot
  • create-disk-snapshot
  • create-domain
  • create-domain-entry
  • create-instance-snapshot
  • create-instances
  • create-instances-from-snapshot
  • create-key-pair
  • create-load-balancer
  • create-load-balancer-tls-certificate
  • create-relational-database
  • create-relational-database-from-snapshot
  • create-relational-database-snapshot
  • delete-alarmdelete-auto-snapshot
  • delete-contact-methoddelete-disk
  • delete-disk-snapshot
  • delete-domain
  • delete-domain-entry
  • delete-instance
  • delete-instance-snapshot
  • delete-key-pair
  • delete-known-host-keys
  • delete-load-balancer
  • delete-load-balancer-tls-certificate
  • delete-relational-database
  • delete-relational-database-snapshot
  • detach-disk
  • detach-instances-from-load-balancer
  • detach-static-ip
  • disable-add-on
  • download-default-key-pair
  • enable-add-on
  • export-snapshot
  • get-active-names
  • get-alarms
  • get-auto-snapshots
  • get-blueprints
  • get-bundles
  • get-cloud-formation-stack-records
  • get-contact-methodsget-disk
  • get-disk-snapshot
  • get-disk-snapshots
  • get-disks
  • get-domain
  • get-domains
  • get-export-snapshot-records
  • get-instance
  • get-instance-access-details
  • get-instance-metric-data
  • get-instance-port-states
  • get-instance-snapshot
  • get-instance-snapshots
  • get-instance-state
  • get-instances
  • get-key-pair
  • get-key-pairs
  • get-load-balancer
  • get-load-balancer-metric-data
  • get-load-balancer-tls-certificates
  • get-load-balancers
  • get-operation
  • get-operations
  • get-operations-for-resource
  • get-regions
  • get-relational-database
  • get-relational-database-blueprints
  • get-relational-database-bundles
  • get-relational-database-events
  • get-relational-database-log-events
  • get-relational-database-log-streams
  • get-relational-database-master-user-password
  • get-relational-database-metric-data
  • get-relational-database-parameters
  • get-relational-database-snapshot
  • get-relational-database-snapshots
  • get-relational-databases
  • get-static-ip
  • get-static-ips
  • import-key-pair
  • is-vpc-peered
  • open-instance-public-ports
  • peer-vpcput-alarm
  • put-instance-public-ports
  • reboot-instance
  • reboot-relational-database
  • release-static-ip
  • send-contact-method-verification
  • start-instance
  • start-relational-database
  • stop-instance
  • stop-relational-database
  • tag-resource
  • test-alarm
  • unpeer-vpc
  • untag-resource
  • update-domain-entry
  • update-load-balancer-attribute
  • update-relational-database
  • update-relational-database-parameters

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.