Bitzu

CLF-C02 ยท Compute services

Lightsail, Elastic Beanstalk and AWS Batch

Amazon Lightsail for simple virtual servers, AWS Elastic Beanstalk for managed app platforms and AWS Batch for batch jobs, and when each fits.

Key points

  • Amazon Lightsail: easy virtual private servers plus bundled databases, storage, load balancers, CDN, static IPs for a low, predictable monthly price; simple websites, small projects.
  • AWS Elastic Beanstalk: upload web app code; it provisions capacity, load balancing, scaling, health monitoring; no extra charge beyond resources.
  • AWS Batch: queues batch jobs and provisions compute (EC2, Spot, Fargate) at any scale.

Source: https://docs.aws.amazon.com/lightsail/latest/userguide/what-is-amazon-lightsail.html

Practice questions

Single choice

Which AWS service offers easy-to-launch virtual private servers with bundled resources for a low, predictable monthly price?

  1. AWS Batch
  2. Amazon Lightsail
  3. AWS Elastic Beanstalk
  4. AWS Lambda
Show answer

Answer: B. Amazon Lightsail

Amazon Lightsail bundles instances, storage, networking and more at a predictable monthly price. EC2 offers far more options but is billed per use with more configuration work.

Select all that apply

Which statements about AWS Batch are correct?

  1. It provisions compute resources based on the jobs that are submitted
  2. It can run jobs on EC2 instances, including Spot, or on Fargate
  3. You must install and patch your own batch scheduling software
  4. It is designed to serve interactive websites with instant responses
  5. It always runs every job on one fixed-size EC2 instance
Show answer

Answer: A. It provisions compute resources based on the jobs that are submitted, B. It can run jobs on EC2 instances, including Spot, or on Fargate

AWS Batch provisions compute in response to submitted jobs and can use EC2 instances (On-Demand or Spot) and Fargate. It is fully managed, so there is no batch scheduling software to install, and it targets throughput-oriented jobs, not interactive websites.

True or false

AWS Elastic Beanstalk adds its own service fee on top of the EC2 instances, load balancers and other resources it creates.

Show answer

Answer: False

False. There is no additional charge for Elastic Beanstalk; you pay only for the underlying AWS resources your application uses.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module