GuideBeginner

Aws Serverless And Containers

This guide continues directly from the AWS Core Services Guide, using the same Andes Cargo case and the same LocalStack lab, to teach the two real ways compute gets designed in production AWS: serverless in depth and containers. The Lambda function that processed shipment manifests becomes a production-grade function with layers, concurrency, and secrets; it gets wrapped in a Step Functions workflow with explicit retries and error handling; the direct S3 trigger gets decoupled with an EventBridge event bus, complete with its own dead-letter queue; and a REST API Gateway unifies HTTP access to everything Andes Cargo exposes. On that same thread, the guide builds `andes-cargo-status-api`, an always-on service (unlike a function that only runs on events), packaged in Docker, pushed to a registry, and run with ECS's cluster/task-definition/service model on Fargate. The guide is upfront about a real limitation: LocalStack's free plan doesn't include ECR or ECS, so those two modules execute the real mechanics with plain Docker and a local registry, and show verified command syntax and output as reference, leaving LocalStack's paid plan as an optional, never-required path. The capstone runs the event-driven flow end to end and documents the container path, closing with the "when Lambda, when a container" criterion installed since the first module.

64
lessons
8
modules
English · Spanish
available in
Yes
certificate
Free
access
NIEVA

Outcomes

What you'll be able to do

  • Apply a decision framework (latency, duration, statefulness, cost) between a Lambda function and a containerized service
  • Take a Lambda function to production grade: layers for shared code, reserved concurrency, environment variables with Secrets Manager, versions, and aliases
  • Design a Step Functions state machine with Task/Choice states, parallel branches, retries (`Retry`), and error handling (`Catch`)
  • Decouple producers from consumers with EventBridge: custom buses, rules, custom event patterns, scheduled events, and dead-letter queues
  • Expose a unified REST API with API Gateway: Lambda proxy integration, deployment stages, request validation, and usage plans
  • Build a Docker image for an AWS-ready service and apply the mechanics of pushing/pulling images with a container registry
  • Explain the ECS model (cluster, task definition, task, service) and the difference between the Fargate and EC2 launch types
  • Distinguish an ECS task's execution role from the task role itself, and apply least privilege to each
  • Recognize when Fargate costs more than EC2 and which container services have no free tier in real AWS
  • Chain together a full event-driven architecture (S3 → EventBridge → Step Functions → DynamoDB) and an API that routes to both Lambda and a container

Before you start

What you need to bring

It's for you if...

  • Devs who already completed the AWS Core Services Guide and need to move from "one function with a trigger" to production-grade serverless architectures
  • Devs with Docker experience who want to apply that knowledge to the AWS-specific context (ECR, ECS, Fargate)
  • Teams deciding whether a flow should be orchestrated with Step Functions or decoupled with EventBridge
  • Anyone who needs the real market criterion for choosing between serverless and containers before committing to an architecture

Requirements and materials

  • AWS Core Services Guide completed (single-account IAM, S3, basic VPC/EC2, Lambda with a simple trigger, DynamoDB) with the LocalStack lab already running
  • Docker Essentials Guide completed (or equivalent: Dockerfile, layers, `docker build`/`run`, multi-stage builds)
  • Docker installed and running locally
  • Free LocalStack account with an auth token (the paid Base plan is optional, only needed to run ECR/ECS literally)

Content

The syllabus, module by module

Open any of them to see its lessons.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!