{
    "family": "Dynamo-backend",
    "containerDefinitions": [
        {
            "name": "dynamo-prefill",
            "image": "nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag",
            "repositoryCredentials": {
                "credentialsParameter": "arn:aws:secretsmanager:AWS_REGION:AWS_ID:secret:ngc_access"
            },
            "cpu": 0,
            "portMappings": [],
            "essential": true,
            "entryPoint": [
                "sh",
                "-c"
            ],
            "command": [
                "python3 -m dynamo.vllm --model Qwen/Qwen3-0.6B --enforce-eager --disaggregation-mode prefill"
            ],
            "environment": [
                {
                    "name": "ETCD_ENDPOINTS",
                    "value": "http://IP_ADDRESS:2379"
                },
                {
                    "name": "NATS_SERVER",
                    "value": "nats://IP_ADDRESS:4222"
                }
            ],
            "environmentFiles": [],
            "mountPoints": [],
            "volumesFrom": [],
            "ulimits": [],
            "logConfiguration": {
                "logDriver": "awslogs",
                "options": {
                    "awslogs-group": "/ecs/Dynamo-backend",
                    "mode": "non-blocking",
                    "awslogs-create-group": "true",
                    "max-buffer-size": "25m",
                    "awslogs-region": "AWS_REGION",
                    "awslogs-stream-prefix": "ecs"
                },
                "secretOptions": []
            },
            "systemControls": [],
            "resourceRequirements": [
                {
                    "value": "1",
                    "type": "GPU"
                }
            ]
        }
    ],
    "taskRoleArn": "arn:aws:iam::AWS_ID:role/ecsTaskExecutionRole",
    "executionRoleArn": "arn:aws:iam::AWS_ID:role/ecsTaskExecutionRole",
    "networkMode": "bridge",
    "volumes": [],
    "placementConstraints": [],
    "requiresCompatibilities": [
        "EC2"
    ],
    "cpu": "2048",
    "memory": "40960",
    "runtimePlatform": {
        "cpuArchitecture": "X86_64",
        "operatingSystemFamily": "LINUX"
    },
    "enableFaultInjection": false
}
