Amazon Fargate logo

Amazon Fargate

Amazon Fargate is a serverless compute engine for containers that works with both Amazon ECS and Amazon EKS. Fargate removes the need to provision and manage servers, letting you specify and pay for resources per application, and improves security through application isolation by design.

1 APIs 10 Features
ComputeContainersECSEKSMicroservicesServerless

APIs

Amazon Fargate API

The Amazon Fargate API is accessed through Amazon ECS and enables you to run containers without managing servers or clusters. You can define tasks, configure networking and IAM ...

Features

Serverless Compute

Run containers without provisioning or managing servers. Fargate handles capacity, OS updates, and scaling automatically.

ECS and EKS Integration

Works seamlessly with both Amazon ECS task definitions and Amazon EKS pods.

Workload Isolation

Each task runs in its own dedicated single-tenant compute environment for improved security.

VPC Networking

Tasks receive ENIs with full VPC networking support including security groups and VPC Flow Logs.

Auto Scaling

Supports Application Auto Scaling with target tracking, step scaling, and scheduled scaling.

Persistent Storage

Integration with Amazon EFS for stateful workloads requiring persistent storage.

Compliance Support

HIPAA, PCI, FedRAMP, and GovCloud (US) region support for regulated workloads.

CloudWatch Integration

Built-in Container Insights for metrics, logs, and observability.

ARM64/Graviton Support

Run workloads on AWS Graviton processors for improved price-performance.

Spot Instances

Run fault-tolerant workloads on Fargate Spot for significant cost savings.

Use Cases

Web Applications and APIs

Deploy microservices-based web applications and REST APIs without infrastructure management.

Batch Data Processing

Run parallel data processing jobs and ETL workloads using AWS Batch with Fargate.

Application Modernization

Lift-and-shift containerized workloads to serverless infrastructure for reduced operational burden.

AI/ML Workloads

Run training, inference, and data preparation containers in flexible serverless environments.

CI/CD Pipelines

Execute build, test, and deployment pipelines as ephemeral Fargate tasks.

Scheduled Jobs

Run time-based container workloads using Amazon EventBridge and Fargate tasks.

Semantic Vocabularies

Amazon Fargate Context

18 classes · 61 properties

JSON-LD

API Governance Rules

Amazon Fargate API Rules

29 rules · 10 errors 15 warnings 4 info

SPECTRAL

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
ArazzoWorkflows
ArazzoWorkflows
🌐
Portal
Portal
🔗
Website
Website
🔗
Documentation
Documentation
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
💬
Support
Support
📰
Blog
Blog
👥
GitHubOrganization
GitHubOrganization
🌐
Console
Console
📝
SignUp
SignUp
🟢
StatusPage
StatusPage
👥
YouTube
YouTube
👥
StackOverflow
StackOverflow
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
JSONLD
JSONLD

Sources

Raw ↑
name: Amazon Fargate
description: >-
  Amazon Fargate is a serverless compute engine for containers that works with both Amazon ECS and Amazon EKS. Fargate
  removes the need to provision and manage servers, letting you specify and pay for resources per application, and
  improves security through application isolation by design.
image: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
url: https://aws.amazon.com/fargate/
type: Index
created: '2024-01-15'
modified: '2026-05-19'
tags:
  - AWS
  - Compute
  - Containers
  - ECS
  - EKS
  - Microservices
  - Serverless
apis:
  - name: Amazon Fargate API
    description: >-
      The Amazon Fargate API is accessed through Amazon ECS and enables you to run containers without managing servers
      or clusters. You can define tasks, configure networking and IAM policies, and deploy containerized applications
      with serverless compute capacity.
    image: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
    humanURL: https://aws.amazon.com/fargate/
    baseURL: https://ecs.amazonaws.com
    tags:
      - Compute
      - Containers
      - Microservices
      - Serverless
    properties:
      - type: Documentation
        url: https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html
      - type: OpenAPI
        url: openapi/amazon-fargate-openapi.yml
      - type: JSONSchema
        url: json-schema/amazon-fargate-cluster-schema.json
      - type: JSONSchema
        url: json-schema/amazon-fargate-task-definition-schema.json
      - type: JSONSchema
        url: json-schema/amazon-fargate-task-schema.json
      - type: JSONSchema
        url: json-schema/amazon-fargate-service-schema.json
      - type: JSONStructure
        url: json-structure/amazon-fargate-cluster-structure.json
      - type: JSONStructure
        url: json-structure/amazon-fargate-task-definition-structure.json
      - type: JSONStructure
        url: json-structure/amazon-fargate-task-structure.json
      - type: JSONStructure
        url: json-structure/amazon-fargate-service-structure.json
      - type: Example
        url: examples/amazon-fargate-cluster-example.json
      - type: Example
        url: examples/amazon-fargate-task-definition-example.json
      - type: Example
        url: examples/amazon-fargate-task-example.json
      - type: Example
        url: examples/amazon-fargate-service-example.json
      - type: Pricing
        url: https://aws.amazon.com/fargate/pricing/
      - type: GettingStarted
        url: https://aws.amazon.com/fargate/getting-started/
      - type: FAQ
        url: https://aws.amazon.com/fargate/faqs/
      - type: APIReference
        url: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/Welcome.html
common:
  - type: PostmanWorkspace
    url: https://www.postman.com/kinlaneapi/amazon-fargate/overview
  - type: ArazzoWorkflows
    url: arazzo/
    workflows:
      - url: arazzo/amazon-fargate-cluster-inventory-audit-workflow.yml
        name: Amazon Fargate Cluster Inventory Audit
        summary: Enumerate clusters, describe one, then list its services and running tasks.
      - url: arazzo/amazon-fargate-decommission-cluster-workflow.yml
        name: Amazon Fargate Decommission a Cluster
        summary: Scale a service to zero and delete it, then delete the cluster once it has no active services.
      - url: arazzo/amazon-fargate-deploy-service-workflow.yml
        name: Amazon Fargate Deploy a Service
        summary: >-
          Register a task definition, create a Fargate service, and poll until the running count meets the desired
          count.
      - url: arazzo/amazon-fargate-provision-and-run-task-workflow.yml
        name: Amazon Fargate Provision and Run a Task
        summary: Create a cluster, register a Fargate task definition, run a task, and poll until it reaches RUNNING.
      - url: arazzo/amazon-fargate-rolling-update-service-workflow.yml
        name: Amazon Fargate Roll Out a Service Update
        summary: Register a new task definition revision, update a service to it, and poll until the deployment is steady.
      - url: arazzo/amazon-fargate-run-batch-task-to-completion-workflow.yml
        name: Amazon Fargate Run a Batch Task to Completion
        summary: Run a one-off Fargate task and poll DescribeTasks until it reaches STOPPED.
      - url: arazzo/amazon-fargate-run-latest-task-definition-workflow.yml
        name: Amazon Fargate Run the Latest Task Definition
        summary: Find the latest active revision of a task definition family, describe it, and run a task from it.
      - url: arazzo/amazon-fargate-stop-task-and-confirm-workflow.yml
        name: Amazon Fargate Stop a Task and Confirm
        summary: Find a running task in a cluster, stop it, and poll DescribeTasks until it is STOPPED.
      - url: arazzo/amazon-fargate-teardown-service-workflow.yml
        name: Amazon Fargate Tear Down a Service
        summary: Scale a service to zero, wait for it to drain, then delete it.
  - type: Portal
    url: https://console.aws.amazon.com/
  - type: Website
    url: https://aws.amazon.com/fargate/
  - type: Documentation
    url: https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html
  - type: TermsOfService
    url: https://aws.amazon.com/service-terms/
  - type: PrivacyPolicy
    url: https://aws.amazon.com/privacy/
  - type: Support
    url: https://aws.amazon.com/premiumsupport/
  - type: Blog
    url: https://aws.amazon.com/blogs/containers/
  - type: GitHubOrganization
    url: https://github.com/aws
  - type: Console
    url: https://console.aws.amazon.com/ecs
  - type: SignUp
    url: https://portal.aws.amazon.com/billing/signup
  - type: StatusPage
    url: https://status.aws.amazon.com/
  - type: YouTube
    url: https://www.youtube.com/user/AmazonWebServices
  - type: StackOverflow
    url: https://stackoverflow.com/questions/tagged/aws-fargate
  - type: SpectralRules
    url: rules/amazon-fargate-spectral-rules.yml
  - type: Vocabulary
    url: vocabulary/amazon-fargate-vocabulary.yaml
  - type: JSONLD
    url: json-ld/amazon-fargate-context.jsonld
  - type: Features
    data:
      - name: Serverless Compute
        description: >-
          Run containers without provisioning or managing servers. Fargate handles capacity, OS updates, and scaling
          automatically.
      - name: ECS and EKS Integration
        description: Works seamlessly with both Amazon ECS task definitions and Amazon EKS pods.
      - name: Workload Isolation
        description: Each task runs in its own dedicated single-tenant compute environment for improved security.
      - name: VPC Networking
        description: Tasks receive ENIs with full VPC networking support including security groups and VPC Flow Logs.
      - name: Auto Scaling
        description: Supports Application Auto Scaling with target tracking, step scaling, and scheduled scaling.
      - name: Persistent Storage
        description: Integration with Amazon EFS for stateful workloads requiring persistent storage.
      - name: Compliance Support
        description: HIPAA, PCI, FedRAMP, and GovCloud (US) region support for regulated workloads.
      - name: CloudWatch Integration
        description: Built-in Container Insights for metrics, logs, and observability.
      - name: ARM64/Graviton Support
        description: Run workloads on AWS Graviton processors for improved price-performance.
      - name: Spot Instances
        description: Run fault-tolerant workloads on Fargate Spot for significant cost savings.
  - type: UseCases
    data:
      - name: Web Applications and APIs
        description: Deploy microservices-based web applications and REST APIs without infrastructure management.
      - name: Batch Data Processing
        description: Run parallel data processing jobs and ETL workloads using AWS Batch with Fargate.
      - name: Application Modernization
        description: Lift-and-shift containerized workloads to serverless infrastructure for reduced operational burden.
      - name: AI/ML Workloads
        description: Run training, inference, and data preparation containers in flexible serverless environments.
      - name: CI/CD Pipelines
        description: Execute build, test, and deployment pipelines as ephemeral Fargate tasks.
      - name: Scheduled Jobs
        description: Run time-based container workloads using Amazon EventBridge and Fargate tasks.
  - type: Integrations
    data:
      - name: Amazon ECS
        description: Primary orchestration engine for running Fargate tasks and services.
      - name: Amazon EKS
        description: Run Kubernetes pods serverlessly using Fargate profiles.
      - name: AWS IAM
        description: Fine-grained task-level IAM roles for container security and least privilege.
      - name: Amazon CloudWatch
        description: Container Insights, metrics, logs, and alarms for Fargate workloads.
      - name: AWS Application Auto Scaling
        description: Automatically scale Fargate services based on CloudWatch metrics.
      - name: Amazon EFS
        description: Persistent shared file storage for stateful Fargate workloads.
      - name: AWS Batch
        description: Run high-scale batch workloads using Fargate compute environments.
      - name: Application Load Balancer
        description: Route HTTP/HTTPS traffic to Fargate services using ALB target groups.
      - name: AWS Secrets Manager
        description: Inject secrets and configuration into Fargate task containers securely.
      - name: Amazon ECR
        description: Store and deploy container images from Amazon Elastic Container Registry.
  - type: Integrations
    url: https://aws.amazon.com/marketplace
integrations:
  - name: Sign in
  - name: Agent Mode
  - name: Why AWS Marketplace?
  - name: Get started in AWS Marketplace
  - name: Industry
  - name: Resources
  - name: Become a Channel Partner
  - name: Sell in AWS Marketplace
  - name: Manage Your Account
maintainers:
  - FN: Kin Lane
    email: [email protected]
    url: https://apievangelist.com