Skip to content

Commit

Permalink
provision docker optimized EC2 for testing (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaro0508 authored Oct 1, 2018
1 parent 79c7cf6 commit 2e9bb63
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/prod/test-ecs-ami
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Provision an EC2 instance
template_path: templates/managed-ec2.yaml
stack_name: test-ecs-ami
dependencies:
- peer-vpn-computevpc
parameters:
# The Sage deparment for this resource
Department: "Platform"
# The Sage project this resource will be used for
Project: "Infrastructure"
# The resource owner
OwnerEmail: "[email protected]"
# EC2 instance type (available types https://aws.amazon.com/ec2/instance-types/)
InstanceType: "t2.medium"
# Docker optimized ami https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
AMIId: "ami-0b9a214f40c38d5eb"

# Integrate with our cloud directory service (do not change)
JcConnectKey: !ssm /infra/JcConnectKey
JcServiceApiKey: !ssm /infra/JcServiceApiKey
JcSystemsGroupId: !ssm /infra/JcSystemsGroupId
hooks:
after_update:
- !notify_ec2

0 comments on commit 2e9bb63

Please sign in to comment.