Created
March 23, 2018 04:57
-
-
Save antklim/7fada3722569bde7e7282f9eadded577 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: This template deploys service instances for SimpleAPI | |
Parameters: | |
... | |
KeyName: | |
Description: EC2 key pair name for bastion host SSH access | |
Type: AWS::EC2::KeyPair::KeyName | |
... | |
Resources: | |
... | |
LaunchConfiguration: | |
Type: AWS::AutoScaling::LaunchConfiguration | |
Properties: | |
ImageId: !FindInMap [AWSRegionToAMI, !Ref "AWS::Region", AMI] | |
InstanceType: t2.micro | |
KeyName: !Ref KeyName | |
SecurityGroups: | |
- !Ref EC2HostSecurityGroup | |
IamInstanceProfile: !Ref InstanceProfile | |
Metadata: | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment