Serverless computing has changed how developers build and deploy applications. Instead of managing servers, operating systems, and infrastructure capacity, developers can focus more on application logic.
AWS offers several serverless services covering compute, databases, storage, messaging, APIs, and workflow automation.
Let's look at some of the most commonly used services and where they fit.
1. Compute
AWS Lambda
Runs code in response to events without requiring you to manage servers. Common use cases include API backends, scheduled tasks, file processing, and automation.
AWS Fargate
Runs containers without managing the underlying EC2 instances. It works with ECS and EKS and is useful for containerized applications and background workloads.
2. API Management
Amazon API Gateway
Allows developers to create, manage, and expose APIs. It can route HTTP requests to Lambda functions and other backend services.
A common combination is API Gateway + Lambda for building serverless REST APIs.
3. Database and Storage
Amazon DynamoDB
A fully managed NoSQL database designed for applications requiring low-latency data access and automatic scaling.
Amazon S3
Object storage commonly used for images, documents, backups, static website assets, and data lakes. It can also trigger Lambda functions when objects are uploaded.
Amazon Aurora Serverless
An on-demand, automatically scaling relational database option for applications that need SQL databases without managing database capacity in the traditional way.
4. Messaging and Event-Driven Architecture
Amazon SQS
A message queue that allows different application components to communicate asynchronously without depending on each other being available at the same time.
Amazon SNS
A publish/subscribe messaging service that can send notifications to multiple subscribers.
Amazon EventBridge
An event bus that routes events between AWS services, applications, and external SaaS platforms based on configured rules.
5. Workflow Automation
AWS Step Functions
Coordinates multiple services and Lambda functions into workflows. It supports branching, retries, error handling, and execution tracking.
It is useful for processes such as order processing, payment workflows, and data pipelines.
6. Monitoring and Observability
Amazon CloudWatch
Collects logs, metrics, and events from AWS services. It helps monitor application performance, investigate failures, and configure alarms.
AWS X-Ray
Helps trace requests across distributed applications and identify performance bottlenecks.
7. Putting Everything Together
Consider a simple serverless application where users upload images.
- A user uploads an image to Amazon S3.
- S3 generates an event when the upload completes.
- AWS Lambda processes the image.
- The processed image is stored back in S3.
- Amazon DynamoDB stores the image metadata.
- Amazon SNS sends a notification to the user.
- Amazon CloudWatch monitors the execution and captures logs.
Each service handles a specific responsibility, and they communicate through events rather than requiring a single continuously running application server.
Final Thoughts
Serverless doesn't mean there are no servers. It means AWS manages the underlying infrastructure so developers don't have to provision, patch, and maintain it themselves.
Choosing the right service depends on the workload, execution requirements, cost, and architectural needs.
Understanding how these services work together is more important than simply memorizing their names.
Loading article