Skip to content

Instantly share code, notes, and snippets.

@ukayani
Last active November 21, 2017 05:32
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 ukayani/61ba55be93a601898b69e211bf199f33 to your computer and use it in GitHub Desktop.
Save ukayani/61ba55be93a601898b69e211bf199f33 to your computer and use it in GitHub Desktop.
A service definition for ECS
"Service": {
"Type": "AWS::ECS::Service",
"Properties": {
"ServiceName": "theatre-service",
"TaskDefinition": {
"Ref": "TaskDefinition"
},
"DesiredCount": 3,
"LoadBalancers": [
{
"TargetGroupArn": {
"Ref": "TargetGroup"
},
"ContainerPort": 8080,
"ContainerName": "theatre-example"
}
],
"Cluster": "akka-services",
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment