π»
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
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
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