fg

Fargate

ContainersAWS
General

General information about the service.

Description

AWS Fargate is a serverless compute engine for containers that works with ECS and EKS.

Service Namespace

AWS::ECS::TaskDefinition

ARN Pattern

arn:aws:ecs:{region}:{account}:task-definition/{family}:{revision}

References

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

fg-

Length

1-255

Valid Characters

Letters, numbers, hyphens, underscores

Scope

region

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "aws_ecs_task_definition" "main" {
2 family = "fg-${var.environment}"
3 requires_compatibilities = ["FARGATE"]
4 network_mode = "awsvpc"
5 cpu = 256
6 memory = 512
7 container_definitions = jsonencode([{
8 name = "app"
9 image = "nginx:latest"
10 }])
11}
Utilities

Utilities to support app deployment or configuration.