1_1_VPC_1_PUBLIC_SUBNET_1_INSTANCE_1_INTERNET_GATEWAY.JSON:包含one VPC , one public subnet , Internet gateway和one instance通過網關連接到Internet的簡單堆棧。

2_1_vpc_1_public_subnet_2_instances_1_internet_gateway.json:簡單堆棧,其中包含one VPC , one public subnet , Internet gateway和two instances 。
以上樣本已更新為:
icmp從端口8添加到SecurityGroup中的所有-1 ,以在計算機之間啟用ping請求。 
3_1_vpc_1_public_subnet_1_private_subnet_2_instances_1_internet_gateway.json:簡單堆棧,其中包含one VPC , one public subnet ,一個私人子網, one private subnet , Internet gateway和two instances 。 public subnet過CustomRouteTable路線連接到Internet的流量將其連接到Internet gateway 。 private subnet未連接到Internet,並使用MainRouteTable 。
以上樣本已更新為:

4_1_VPC_1_PUBLIC_SUBNET_1_INSTANCE_1_INTERNET_GATEWAY_RECOVERY_ALARM.JSON:與VPC/subnet/Internet網關相同,但添加了恢復警報CloudWatch 。 UserData添加了為在8080上啟動Jenkins Server供以後使用

5_1_vpc_2_public_subnet_1_internet_gateway_autoscaling.json:簡單的堆棧,其中包含one VPC , two public subnets , Internet gateway , launch configruation和autoscaling for one instance min/max two instances 。通過CustomRouteTable路線連接到Internet subnets連接到Internet gateway 。

6_1_vpc_2_public_subnet_1_internet_gateway_autoscaling_ebs_recovery.json:與VPC/2子網/Internet Gateway/autoscaling(1 max/min)相同,但imageId被參數化為optional參數。所以我們可以:
aws ec2 create-image --instance-id=i-0ad5005528a7ed71f --name jenkins-instance
等到available圖像狀態。
aws ec2 describe-images --image-id $newImageId --query "Images[].State"
aws cloudformation update-stack --stack-name $stackName --template-url $tempateUrl --parameters ParameterKey=JenkinsAdminPassword,UsePreviousValue=true ParameterKey=AMISnapshot,ParameterValue=$newImageId
aws ec2 terminate-instances --instance-ids $instanceId
在下面運行:
aws cloudformation delete-stack --stack-name $stackName
aws cloudformation describe-stacks --stack-name $stackName #wait until return error or stack deleted.
aws ec2 deregister-image --image-id $newImageId
aws ec2 delete-snapshot --snapshot-id $snapshotId

7_1_vpc_2_public_subnet_1_internet_gateway_autoscaling_ebs_recovery_elastic_ip.json: Same as VPC/2 Subnets/Internet Gateway/AutoScaling/EBS Recovery (1 instance max/min) but overcoming the problem of assigning another publicIP/PrivateIP to the new instance in another availability zone since we can't keep the same publicIP between different zones.默認情況下,您也不能將Elastic IP用作自動縮放啟動的虛擬服務器的公共IP地址。

8_1_vpc_2_public_subnet_1_internet_gateway_autoscaling_ebs_recovery_loadbalancer.json: Same as VPC/2 Subnets/Internet Gateway/AutoScaling/EBS Recovery (1 instance max/min) but overcoming the problem of assigning another publicIP/PrivateIP to the new instance in another availability zone since we can't keep the same publicIP between different zones.因此,已經創建了一個將流量分發給EC2實例的人。一旦創建了一個新實例,它就會將自己註冊到LoadBalaner。
