Technical Glossary

AWS Fargate

Definition: Serverless compute engine for containers that eliminates the need to manage servers or EC2 instance clusters.

— Source: NERVICO, Product Development Consultancy

What is AWS Fargate

AWS Fargate is a serverless compute engine for containers that allows running containerized applications without managing servers or clusters. With Fargate, you define the container image, the required CPU and memory resources, and AWS handles provisioning, scaling, and maintaining the underlying infrastructure. It works with Amazon ECS and Amazon EKS, providing a serverless alternative to manually managing EC2 instances for running containers in production.

How It Works

When you deploy a task on Fargate, you specify the container image stored in ECR or Docker Hub, the required CPU and memory amount, and the network configuration. Fargate allocates isolated compute resources for each task, ensuring no container shares a kernel with other customers. Each task gets its own elastic network interface (ENI) with a private IP address within the VPC. The pricing model charges per second of use based on configured CPU and memory resources, eliminating the cost of unused capacity that occurs with oversized EC2 instances.

Why It Matters

Managing EC2 clusters to run containers requires capacity planning, applying OS security patches, configuring instance auto-scaling, and optimizing container distribution. Fargate eliminates all this operational complexity. For teams that want to benefit from containers without investing in infrastructure operations, Fargate offers the balance between Docker portability and serverless operational simplicity. It is especially valuable for small teams without dedicated infrastructure engineers.

Practical Example

A fintech startup runs 15 microservices in Docker containers. Initially they used an ECS cluster with EC2 instances, but spent 20 hours weekly managing patches, capacity planning, and bin-packing optimization. After migrating to Fargate, they eliminate instance management entirely. Each microservice defines its CPU and memory requirements, and Fargate scales automatically. The team reduces operational costs by 35% by eliminating oversized instances and dedicating freed hours to product development.

Need help with product development?

We help you accelerate your development with cutting-edge technology and best practices.