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
Which AWS service offers easy-to-launch virtual private servers with bundled resources for a low, predictable monthly price?
- AWS Batch
- Amazon Lightsail
- AWS Elastic Beanstalk
- 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.
Which statements about AWS Batch are correct?
- It provisions compute resources based on the jobs that are submitted
- It can run jobs on EC2 instances, including Spot, or on Fargate
- You must install and patch your own batch scheduling software
- It is designed to serve interactive websites with instant responses
- 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.
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.
