Skip to content

Instantly share code, notes, and snippets.

@astrotars
Last active August 28, 2018 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astrotars/22e2d174ebaf4bfc630c8d0e8f5f919d to your computer and use it in GitHub Desktop.
Save astrotars/22e2d174ebaf4bfc630c8d0e8f5f919d to your computer and use it in GitHub Desktop.
version: 1
task_definition:
task_execution_role: ecsTaskExecutionRole
ecs_network_mode: awsvpc
task_size:
mem_limit: 0.5GB
cpu_limit: 256
run_params:
network_configuration:
awsvpc_configuration:
subnets:
- "YOUR_SUBNET_ID_1"
- "YOUR_SUBNET_ID_2"
security_groups:
- "YOUR_SECURITY_GROUP_ID"
assign_public_ip: ENABLED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment