Skip to content

Instantly share code, notes, and snippets.

@sakamaki-kazuyoshi
sakamaki-kazuyoshi / 01_HPC-BaseNetwork.yml
Created July 16, 2018 11:37
HighPerformanceComputing
AWSTemplateFormatVersion: '2010-09-09'
Description: "Create BaseNetwork"
Parameters:
EnvType:
Description: Select Environment Type. Default is prd
Type: String
Default: prd
AllowedValues:
- prd
- dev
AWSTemplateFormatVersion: '2010-09-09'
Description: "Create VPC-B"
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: "Network Configuration"
Parameters:
- VPCName
- VPCCider
AWSTemplateFormatVersion: '2010-09-09'
Description: "Create VPC,EC2 for Fluentd Test"
Parameters:
KeyPairName:
Type: "AWS::EC2::KeyPair::KeyName"
S3BucketName:
Type: String
SecurityGroupCidrIp:
Type: String
Default: 0.0.0.0/0
{
"Resources" : {
"TestVPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "10.0.0.0/16",
"EnableDnsSupport" : "true",
"EnableDnsHostnames" : "true",
"InstanceTenancy" : "default",
"Tags" : [ {"Key" : "Name", "Value" : "TestVPC"}]
@sakamaki-kazuyoshi
sakamaki-kazuyoshi / sample-2018-01.template
Last active January 28, 2018 11:49
sample-2018-01_bk
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Parameters" : {
"KeyName" : {
"Description" : "input EC2 Keyname",
"Type" : "AWS::EC2::KeyPair::KeyName"
}
},
"Resources" : {
"VPC" : {