πŸ’»

Compute Services

EC2, Lambda, ECS and serverless compute services

⏱️ Estimated reading time: 18 minutes

Amazon EC2 - Elastic Compute Cloud

Amazon EC2 provides scalable compute capacity in the cloud. It allows you to launch virtual servers (instances) and scale them on demand.

Main features:
- On-demand, reserved, or spot instances
- Multiple instance types optimized for different workloads
- Elasticity: vertical and horizontal scaling
- Pay-as-you-go: only pay for what you use

🎯 Key Points

  • βœ“ EC2 provides scalable virtual servers
  • βœ“ Different pricing models based on needs
  • βœ“ Support for multiple operating systems
  • βœ“ Full control over configuration

AWS Lambda - Serverless Compute

AWS Lambda lets you run code without provisioning or managing servers. You only pay for the compute time you consume.

Benefits:
- No servers to manage
- Automatic scaling
- Pay per milliseconds of execution
- Integration with other AWS services

🎯 Key Points

  • βœ“ Run code without managing servers
  • βœ“ Execution-based pricing model
  • βœ“ Instant automatic scaling
  • βœ“ Ideal for event-driven architectures