Complete the code to specify the launch type for an ECS task using Fargate.
LaunchType: "[1]"
Fargate is specified as "FARGATE" in the launch type to run containers without managing servers.
Complete the code to define the required CPU units for a Fargate task.
Cpu: "[1]"
256 CPU units is a common minimal CPU configuration for Fargate tasks.
Fix the error in the ECS task definition to correctly specify the network mode for Fargate.
NetworkMode: "[1]"
Fargate requires the network mode to be set to "awsvpc" for proper networking.
Fill both blanks to configure the ECS service to use EC2 launch type and specify the desired count.
LaunchType: "[1]", DesiredCount: [2]
EC2 launch type is specified as "EC2" and desired count is the number of task instances to run.
Fill all three blanks to define a Fargate task with 512 CPU units, 1024 MiB memory, and the correct launch type.
Cpu: "[1]", Memory: "[2]", LaunchType: "[3]"
512 CPU units and 1024 MiB memory are valid Fargate task sizes, and launch type must be "FARGATE".