Created
June 5, 2017 21:06
-
-
Save MatthewJDavis/e1bb0ed8ddd45fbe66199a397872b019 to your computer and use it in GitHub Desktop.
AWS cloudformation EC2 YAML parameters
This file contains 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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: Create a basic Amazon Linux Server with security group in existing VPC and subnet | |
Parameters: | |
KeyName: | |
Description: Key Pair name | |
Type: 'AWS::EC2::KeyPair::KeyName' | |
Default: keyPair | |
VPC: | |
Description: Select a VPC | |
Type: 'AWS::EC2::VPC::Id' | |
Subnet: | |
Description: Select a subnet from the VPC | |
Type: 'AWS::EC2::Subnet::Id' | |
InstanceType: | |
Description: Select one of the instance types | |
Type: String | |
Default: t2.micro | |
AllowedValues: | |
- t2.micro | |
- t2.small | |
- t2.medium | |
Name: | |
Description: The name of the instance | |
Type: String |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment