Skip to content

Instantly share code, notes, and snippets.

@tiffanyfay
Created December 20, 2017 23:21
Show Gist options
  • Save tiffanyfay/bf6ba36c01e2ca07755b6aaca7fd2e9d to your computer and use it in GitHub Desktop.
Save tiffanyfay/bf6ba36c01e2ca07755b6aaca7fd2e9d to your computer and use it in GitHub Desktop.
{
"family": "scorekeep",
"containerDefinitions": [
{
"name": "scorekeep-frontend",
"image": "038954622175.dkr.ecr.us-east-1.amazonaws.com/scorekeep-frontend",
"cpu": 64,
"memoryReservation": 512,
"links": [
"scorekeep-api"
],
"portMappings" : [
{
"containerPort": 8080,
"hostPort": 8080
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "scorekeep",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "scorekeep/frontend"
}
}
},
{
"name": "scorekeep-api",
"image": "038954622175.dkr.ecr.us-east-1.amazonaws.com/scorekeep-api",
"cpu": 192,
"memoryReservation": 512,
"environment": [
{ "name" : "AWS_REGION", "value" : "us-east-1" },
{ "name" : "NOTIFICATION_TOPIC", "value" : "arn:aws:sns:us-east-1:038954622175:scorekeep-notifications" }
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "scorekeep",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "scorekeep/api"
}
}
}
],
"executionRoleArn": "arn:aws:iam::038954622175:role/scorekeepExecutionRole", <so I don't have these in EC2, what should I change it to if anything?
"taskRoleArn": "arn:aws:iam::038954622175:role/scorekeepRole"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment