Here is a tabular comparison of different compute available in AWS based on compute capacity, cost, and use case:

Compute ServiceCompute CapacityCostUse Case
Amazon EC2Highly scalable compute capacity in the cloudPay as you go pricing model with no upfront costsGreat for a wide variety of use cases including web applications, game servers, batch processing, and more.
Amazon EC2 Auto ScalingAutomatically scales the number of Amazon EC2 instancesPay for the resources you useIdeal for applications with fluctuating demand, such as batch processing jobs or seasonal traffic spikes.
AWS Elastic BeanstalkPlatform for deploying, managing, and scaling web applicationsFree, but you pay for underlying AWS resourcesIdeal for developers who want to deploy and manage their web applications without having to worry about the infrastructure.
AWS LambdaServerless compute servicePay for the compute time consumedGreat for running small, event-driven applications or as part of a larger serverless architecture.
Amazon ECSHighly scalable container management servicePay for the compute resources you useIdeal for organizations that want to run and scale containerized applications.
Amazon EKSManaged Kubernetes servicePay for the compute resources you useGreat for organizations that want to run and scale containerized applications using Kubernetes.
AWS FargateServerless compute engine for containersPay for the resources you useIdeal for organizations that want to run containerized applications without having to manage the underlying infrastructure.

Here are some example use case stories for each of the compute options available in AWS:

  1. EC2 Instances – A large e-commerce company that experiences heavy traffic during sales and holiday periods uses EC2 instances to scale their compute capacity during peak periods. By leveraging EC2 instances with auto-scaling groups, they are able to dynamically adjust their compute capacity to match demand, ensuring that their website remains responsive and available to customers at all times.
  2. Lambda Functions – A mobile gaming company uses AWS Lambda functions to handle real-time data processing and game logic for their multiplayer games. By leveraging Lambda functions, they are able to scale their compute capacity in response to demand, without having to manage any underlying infrastructure. This allows them to focus on building great games, rather than worrying about managing servers.
  3. Elastic Beanstalk – A startup that is building a new SaaS product uses Elastic Beanstalk to quickly deploy and manage their application infrastructure. By using Elastic Beanstalk, they are able to focus on building their application, rather than worrying about the underlying infrastructure. Elastic Beanstalk takes care of scaling, monitoring, and patching the infrastructure, allowing the startup to move fast and iterate quickly.
  4. ECS – A large financial services company uses Amazon ECS to run their containerized workloads in a highly available and scalable manner. By leveraging ECS, they are able to run their workloads on a highly flexible and cost-effective platform that can scale to meet their changing needs. ECS also provides a highly secure environment for running containerized workloads, which is critical for a financial services company.
  5. Batch – A research organization that needs to run large-scale simulations and data processing jobs uses AWS Batch to manage their compute resources. By using Batch, they are able to easily manage and scale their compute resources, without having to manage the underlying infrastructure. This allows them to focus on their research, rather than worrying about managing compute resources.
  6. EC2 Spot Instances – A machine learning startup uses EC2 Spot instances to train their models at a lower cost. By using Spot instances, they are able to take advantage of spare EC2 capacity at a reduced price, which allows them to run more training jobs and iterate faster. Spot instances can be interrupted with two minutes’ notice, but by using techniques like checkpointing, the startup is able to minimize the impact of these interruptions.
  7. Fargate – A healthcare company that needs to process sensitive patient data uses AWS Fargate to run their containerized workloads. By leveraging Fargate, they are able to run their workloads on a highly secure and isolated platform that meets strict compliance requirements. Fargate provides a fully managed environment for running containerized workloads, which allows the healthcare company to focus on delivering better patient outcomes.