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。
