Skip to main content

AWS Compute and Serverless Services Overview

An overview of AWS compute services including Docker containers, ECS, Fargate, EKS, Lambda, API Gateway, Batch, and Lightsail, detailing their management levels and best use cases for cloud application development.

Save this reading to your study set

Sign up free

When building applications in the cloud, one of the most critical decisions a developer or architect faces is choosing the right compute model. AWS provides a vast spectrum of services, ranging from low-level virtual servers where you manage everything, to high-level "serverless" models where the infrastructure is entirely invisible to you. This article explores the different tiers of AWS compute, from container orchestration to event-driven functions, helping you understand which service fits your specific workload requirements.

Containerization and Microservices

Modern application development often relies on a microservices architecture, where a large application is broken down into small, independent services that communicate over a network. The foundation of this approach is Docker technology. Docker allows you to package an application together with all its dependencies into a "container," ensuring it runs identically whether it is on a developer's laptop or in the AWS cloud. Containers are significantly lighter than traditional virtual machines because they share the host operating system's kernel rather than carrying a full guest OS.

To manage these containers at scale, AWS offers several orchestration services:

  • Amazon ECS (Elastic Container Service): A highly scalable container orchestration service. In a standard ECS setup, you manage the underlying EC2 instances that run your containers.
  • AWS Fargate: This is a "serverless" engine for containers. With Fargate, you no longer manage EC2 instances; instead, you simply specify the CPU and RAM requirements for your container, and AWS handles the rest.
  • Amazon EKS (Elastic Kubernetes Service): For organizations that want to use the open-source Kubernetes orchestration tool, EKS provides a managed environment. This is ideal for teams seeking cloud-agnostic portability.
  • Amazon ECR (Elastic Container Registry): Before you can run a container, you must store it. ECR is the private repository used to store and manage your Docker images.

Keep reading for free.

Create an account to finish this reading and make it part of your study routine.

Continue reading free

Already have an account? Log in

Updated

Study it your way.

Import this reading into your study set to get started with another study mode.

Make it your own.

Keep this reading in a new study set, or add it to one you already use.