Skip to content

Instantly share code, notes, and snippets.

@MitchyBAwesome
Created July 3, 2018 07:34
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 MitchyBAwesome/46aa04881c713a2b99896fb86ac78b55 to your computer and use it in GitHub Desktop.
Save MitchyBAwesome/46aa04881c713a2b99896fb86ac78b55 to your computer and use it in GitHub Desktop.
Simple Go Web Service Task Definition
{
"family": "go-http-server",
"networkMode": "awsvpc",
"executionRoleArn": "arn:aws:iam::614658524125:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "go-http-server",
"image": "614658524125.dkr.ecr.us-west-2.amazonaws.com/go-http-server:latest",
"portMappings": [
{
"containerPort": 8000,
"hostPort": 8000,
"protocol": "tcp"
}
],
"essential": true
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment