Created
September 8, 2014 07:36
-
-
Save m87h/54a5c8615c325d10c242 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
[ | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "e5e454a0-3511-11e4-8f4c-50d500f62a00", | |
"ResourceStatus": "ROLLBACK_COMPLETE", | |
"ResourceType": "AWS::CloudFormation::Stack", | |
"Timestamp": "2014-09-05T15:32:51.428Z", | |
"StackName": "deis", | |
"PhysicalResourceId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"LogicalResourceId": "deis" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELBSecurityGroup-DELETE_COMPLETE-1409931170000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T15:32:50Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"FromPort\":\"80\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"FromPort\":\"2222\",\"CidrIp\":\"0.0.0.0/0\"}],\"GroupDescription\":\"Deis Web ELB SecurityGroup\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-27af0d42", | |
"LogicalResourceId": "DeisWebELBSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELBSecurityGroup-DELETE_IN_PROGRESS-1409931158000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T15:32:38Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"FromPort\":\"80\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"FromPort\":\"2222\",\"CidrIp\":\"0.0.0.0/0\"}],\"GroupDescription\":\"Deis Web ELB SecurityGroup\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-27af0d42", | |
"LogicalResourceId": "DeisWebELBSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroup-DELETE_COMPLETE-1409931156000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T15:32:36Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"22\",\"FromPort\":\"22\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"80\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"2222\"}],\"GroupDescription\":\"Enable public SSH and intra-VPC communication\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-2baf0d4e", | |
"LogicalResourceId": "VPCSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroup-DELETE_IN_PROGRESS-1409931155000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T15:32:35Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"22\",\"FromPort\":\"22\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"80\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"2222\"}],\"GroupDescription\":\"Enable public SSH and intra-VPC communication\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-2baf0d4e", | |
"LogicalResourceId": "VPCSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerLaunchConfig-DELETE_COMPLETE-1409931153000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::AutoScaling::LaunchConfiguration", | |
"Timestamp": "2014-09-05T15:32:33Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"ImageId\":\"ami-74865b03\",\"AssociatePublicIpAddress\":\"false\",\"SecurityGroups\":[\"sg-2baf0d4e\"],\"UserData\":\"I2Nsb3VkLWNvbmZpZwotLS0KY29yZW9zOgogIGV0Y2Q6CiAgICBkaXNjb3Zlcnk6IGh0dHBzOi8vZGlzY292ZXJ5LmV0Y2QuaW8vNGFmMTU2YzMwYjg0NTRjNzM1MGNmYTNkNTk4YjY4MmYKICAgIGFkZHI6ICRwcml2YXRlX2lwdjQ6NDAwMQogICAgcGVlci1hZGRyOiAkcHJpdmF0ZV9pcHY0OjcwMDEKICAgICMgZ2l2ZSBldGNkIG1vcmUgdGltZSBpZiBpdCdzIHVuZGVyIGhlYXZ5IGxvYWQgLSBwcmV2ZW50IGxlYWRlciBlbGVjdGlvbiB0aHJhc2hpbmcKICAgIHBlZXItZWxlY3Rpb24tdGltZW91dDogMjAwMAogICAgIyBoZWFydGJlYXQgaW50ZXJ2YWwgc2hvdWxkIGlkZWFsbHkgYmUgMS80IG9yIDEvNSBvZiBwZWVyIGVsZWN0aW9uIHRpbWVvdXQsIGJ1dCB0aGF0J3MgYSBsb25nIHRpbWUuLi4KICAgIHBlZXItaGVhcnRiZWF0LWludGVydmFsOiAyMDAKICBmbGVldDoKICAgICMgV2UgaGF2ZSB0byBzZXQgdGhlIHB1YmxpY19pcCBoZXJlIHNvIHRoaXMgd29ya3Mgb24gVmFncmFudCAtLSBvdGhlcndpc2UsIFZhZ3JhbnQgVk1zCiAgICAjIHdpbGwgYWxsIHB1Ymxpc2ggdGhlIHNhbWUgcHJpdmF0ZSBJUC4gVGhpcyBpcyBoYXJtbGVzcyBmb3IgY2xvdWQgcHJvdmlkZXJzLgogICAgcHVibGljX2lwOiAkcHJpdmF0ZV9pcHY0CiAgICAjIGFsbG93IGV0Y2QgdG8gc2xvdyBkb3duIGF0IHRpbWVzCiAgICBldGNkX3", | |
"PhysicalResourceId": "deis-CoreOSServerLaunchConfig-1O2J50LARGJT9", | |
"LogicalResourceId": "CoreOSServerLaunchConfig" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELB-DELETE_COMPLETE-1409931153000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Timestamp": "2014-09-05T15:32:33Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Listeners\":[{\"LoadBalancerPort\":\"80\",\"InstancePort\":\"80\",\"InstanceProtocol\":\"HTTP\",\"Protocol\":\"HTTP\"},{\"LoadBalancerPort\":\"2222\",\"InstancePort\":\"2222\",\"InstanceProtocol\":\"TCP\",\"Protocol\":\"TCP\"}],\"Subnets\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"HealthCheck\":{\"Timeout\":\"5\",\"Interval\":\"15\",\"Target\":\"HTTP:80/health-check\",\"HealthyThreshold\":\"4\",\"UnhealthyThreshold\":\"2\"},\"SecurityGroups\":[\"sg-27af0d42\"]}", | |
"PhysicalResourceId": "deis-DeisWebELB-GPRQB92UJWUG", | |
"LogicalResourceId": "DeisWebELB" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerLaunchConfig-DELETE_IN_PROGRESS-1409931153000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::AutoScaling::LaunchConfiguration", | |
"Timestamp": "2014-09-05T15:32:33Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"ImageId\":\"ami-74865b03\",\"AssociatePublicIpAddress\":\"false\",\"SecurityGroups\":[\"sg-2baf0d4e\"],\"UserData\":\"I2Nsb3VkLWNvbmZpZwotLS0KY29yZW9zOgogIGV0Y2Q6CiAgICBkaXNjb3Zlcnk6IGh0dHBzOi8vZGlzY292ZXJ5LmV0Y2QuaW8vNGFmMTU2YzMwYjg0NTRjNzM1MGNmYTNkNTk4YjY4MmYKICAgIGFkZHI6ICRwcml2YXRlX2lwdjQ6NDAwMQogICAgcGVlci1hZGRyOiAkcHJpdmF0ZV9pcHY0OjcwMDEKICAgICMgZ2l2ZSBldGNkIG1vcmUgdGltZSBpZiBpdCdzIHVuZGVyIGhlYXZ5IGxvYWQgLSBwcmV2ZW50IGxlYWRlciBlbGVjdGlvbiB0aHJhc2hpbmcKICAgIHBlZXItZWxlY3Rpb24tdGltZW91dDogMjAwMAogICAgIyBoZWFydGJlYXQgaW50ZXJ2YWwgc2hvdWxkIGlkZWFsbHkgYmUgMS80IG9yIDEvNSBvZiBwZWVyIGVsZWN0aW9uIHRpbWVvdXQsIGJ1dCB0aGF0J3MgYSBsb25nIHRpbWUuLi4KICAgIHBlZXItaGVhcnRiZWF0LWludGVydmFsOiAyMDAKICBmbGVldDoKICAgICMgV2UgaGF2ZSB0byBzZXQgdGhlIHB1YmxpY19pcCBoZXJlIHNvIHRoaXMgd29ya3Mgb24gVmFncmFudCAtLSBvdGhlcndpc2UsIFZhZ3JhbnQgVk1zCiAgICAjIHdpbGwgYWxsIHB1Ymxpc2ggdGhlIHNhbWUgcHJpdmF0ZSBJUC4gVGhpcyBpcyBoYXJtbGVzcyBmb3IgY2xvdWQgcHJvdmlkZXJzLgogICAgcHVibGljX2lwOiAkcHJpdmF0ZV9pcHY0CiAgICAjIGFsbG93IGV0Y2QgdG8gc2xvdyBkb3duIGF0IHRpbWVzCiAgICBldGNkX3", | |
"PhysicalResourceId": "deis-CoreOSServerLaunchConfig-1O2J50LARGJT9", | |
"LogicalResourceId": "CoreOSServerLaunchConfig" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELB-DELETE_IN_PROGRESS-1409931152000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Timestamp": "2014-09-05T15:32:32Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Listeners\":[{\"LoadBalancerPort\":\"80\",\"InstancePort\":\"80\",\"InstanceProtocol\":\"HTTP\",\"Protocol\":\"HTTP\"},{\"LoadBalancerPort\":\"2222\",\"InstancePort\":\"2222\",\"InstanceProtocol\":\"TCP\",\"Protocol\":\"TCP\"}],\"Subnets\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"HealthCheck\":{\"Timeout\":\"5\",\"Interval\":\"15\",\"Target\":\"HTTP:80/health-check\",\"HealthyThreshold\":\"4\",\"UnhealthyThreshold\":\"2\"},\"SecurityGroups\":[\"sg-27af0d42\"]}", | |
"PhysicalResourceId": "deis-DeisWebELB-GPRQB92UJWUG", | |
"LogicalResourceId": "DeisWebELB" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroupIngress-DELETE_COMPLETE-1409931151000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroupIngress", | |
"Timestamp": "2014-09-05T15:32:31Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"IpProtocol\":\"-1\",\"ToPort\":\"65535\",\"SourceSecurityGroupId\":\"sg-2baf0d4e\",\"FromPort\":\"0\",\"GroupId\":\"sg-2baf0d4e\"}", | |
"PhysicalResourceId": "VPCSecurityGroupIngress", | |
"LogicalResourceId": "VPCSecurityGroupIngress" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerAutoScale-DELETE_COMPLETE-1409931151000", | |
"ResourceStatus": "DELETE_COMPLETE", | |
"ResourceType": "AWS::AutoScaling::AutoScalingGroup", | |
"Timestamp": "2014-09-05T15:32:31Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Tags\":[{\"PropagateAtLaunch\":\"true\",\"Value\":\"Deis\",\"Key\":\"Name\"}],\"LoadBalancerNames\":[\"deis-DeisWebELB-GPRQB92UJWUG\"],\"DesiredCapacity\":\"3\",\"AvailabilityZones\":[\"eu-west-1a\",\"eu-west-1b\",\"eu-west-1c\"],\"MaxSize\":\"12\",\"VPCZoneIdentifier\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"MinSize\":\"3\",\"LaunchConfigurationName\":\"deis-CoreOSServerLaunchConfig-1O2J50LARGJT9\"}", | |
"PhysicalResourceId": "deis-CoreOSServerAutoScale-1XSP4HSFIP1RC", | |
"LogicalResourceId": "CoreOSServerAutoScale" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroupIngress-DELETE_IN_PROGRESS-1409931150000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroupIngress", | |
"Timestamp": "2014-09-05T15:32:30Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"IpProtocol\":\"-1\",\"ToPort\":\"65535\",\"SourceSecurityGroupId\":\"sg-2baf0d4e\",\"FromPort\":\"0\",\"GroupId\":\"sg-2baf0d4e\"}", | |
"PhysicalResourceId": "VPCSecurityGroupIngress", | |
"LogicalResourceId": "VPCSecurityGroupIngress" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerAutoScale-DELETE_IN_PROGRESS-1409931150000", | |
"ResourceStatus": "DELETE_IN_PROGRESS", | |
"ResourceType": "AWS::AutoScaling::AutoScalingGroup", | |
"Timestamp": "2014-09-05T15:32:30Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Tags\":[{\"PropagateAtLaunch\":\"true\",\"Value\":\"Deis\",\"Key\":\"Name\"}],\"LoadBalancerNames\":[\"deis-DeisWebELB-GPRQB92UJWUG\"],\"DesiredCapacity\":\"3\",\"AvailabilityZones\":[\"eu-west-1a\",\"eu-west-1b\",\"eu-west-1c\"],\"MaxSize\":\"12\",\"VPCZoneIdentifier\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"MinSize\":\"3\",\"LaunchConfigurationName\":\"deis-CoreOSServerLaunchConfig-1O2J50LARGJT9\"}", | |
"PhysicalResourceId": "deis-CoreOSServerAutoScale-1XSP4HSFIP1RC", | |
"LogicalResourceId": "CoreOSServerAutoScale" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "cb9d7e50-3511-11e4-a936-50fa18c86ab4", | |
"ResourceStatus": "ROLLBACK_IN_PROGRESS", | |
"ResourceType": "AWS::CloudFormation::Stack", | |
"Timestamp": "2014-09-05T15:32:07.270Z", | |
"ResourceStatusReason": "The following resource(s) failed to create: [CoreOSServerAutoScale]. . Rollback requested by user.", | |
"StackName": "deis", | |
"PhysicalResourceId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"LogicalResourceId": "deis" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerAutoScale-CREATE_FAILED-1409931124000", | |
"ResourceStatus": "CREATE_FAILED", | |
"ResourceType": "AWS::AutoScaling::AutoScalingGroup", | |
"Timestamp": "2014-09-05T15:32:04Z", | |
"ResourceStatusReason": "Group did not stabilize. {current/minSize/maxSize} group size = {0/3/12}. Failed Scaling Activity: Invalid device name /dev/sda. Launching EC2 instance failed.", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Tags\":[{\"PropagateAtLaunch\":\"true\",\"Value\":\"Deis\",\"Key\":\"Name\"}],\"LoadBalancerNames\":[\"deis-DeisWebELB-GPRQB92UJWUG\"],\"DesiredCapacity\":\"3\",\"AvailabilityZones\":[\"eu-west-1a\",\"eu-west-1b\",\"eu-west-1c\"],\"MaxSize\":\"12\",\"VPCZoneIdentifier\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"MinSize\":\"3\",\"LaunchConfigurationName\":\"deis-CoreOSServerLaunchConfig-1O2J50LARGJT9\"}", | |
"PhysicalResourceId": "deis-CoreOSServerAutoScale-1XSP4HSFIP1RC", | |
"LogicalResourceId": "CoreOSServerAutoScale" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerAutoScale-CREATE_IN_PROGRESS-1409927413000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::AutoScaling::AutoScalingGroup", | |
"Timestamp": "2014-09-05T14:30:13Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Tags\":[{\"PropagateAtLaunch\":\"true\",\"Value\":\"Deis\",\"Key\":\"Name\"}],\"LoadBalancerNames\":[\"deis-DeisWebELB-GPRQB92UJWUG\"],\"DesiredCapacity\":\"3\",\"AvailabilityZones\":[\"eu-west-1a\",\"eu-west-1b\",\"eu-west-1c\"],\"MaxSize\":\"12\",\"VPCZoneIdentifier\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"MinSize\":\"3\",\"LaunchConfigurationName\":\"deis-CoreOSServerLaunchConfig-1O2J50LARGJT9\"}", | |
"PhysicalResourceId": "deis-CoreOSServerAutoScale-1XSP4HSFIP1RC", | |
"LogicalResourceId": "CoreOSServerAutoScale" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerLaunchConfig-CREATE_COMPLETE-1409927411000", | |
"ResourceStatus": "CREATE_COMPLETE", | |
"ResourceType": "AWS::AutoScaling::LaunchConfiguration", | |
"Timestamp": "2014-09-05T14:30:11Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"ImageId\":\"ami-74865b03\",\"AssociatePublicIpAddress\":\"false\",\"SecurityGroups\":[\"sg-2baf0d4e\"],\"UserData\":\"I2Nsb3VkLWNvbmZpZwotLS0KY29yZW9zOgogIGV0Y2Q6CiAgICBkaXNjb3Zlcnk6IGh0dHBzOi8vZGlzY292ZXJ5LmV0Y2QuaW8vNGFmMTU2YzMwYjg0NTRjNzM1MGNmYTNkNTk4YjY4MmYKICAgIGFkZHI6ICRwcml2YXRlX2lwdjQ6NDAwMQogICAgcGVlci1hZGRyOiAkcHJpdmF0ZV9pcHY0OjcwMDEKICAgICMgZ2l2ZSBldGNkIG1vcmUgdGltZSBpZiBpdCdzIHVuZGVyIGhlYXZ5IGxvYWQgLSBwcmV2ZW50IGxlYWRlciBlbGVjdGlvbiB0aHJhc2hpbmcKICAgIHBlZXItZWxlY3Rpb24tdGltZW91dDogMjAwMAogICAgIyBoZWFydGJlYXQgaW50ZXJ2YWwgc2hvdWxkIGlkZWFsbHkgYmUgMS80IG9yIDEvNSBvZiBwZWVyIGVsZWN0aW9uIHRpbWVvdXQsIGJ1dCB0aGF0J3MgYSBsb25nIHRpbWUuLi4KICAgIHBlZXItaGVhcnRiZWF0LWludGVydmFsOiAyMDAKICBmbGVldDoKICAgICMgV2UgaGF2ZSB0byBzZXQgdGhlIHB1YmxpY19pcCBoZXJlIHNvIHRoaXMgd29ya3Mgb24gVmFncmFudCAtLSBvdGhlcndpc2UsIFZhZ3JhbnQgVk1zCiAgICAjIHdpbGwgYWxsIHB1Ymxpc2ggdGhlIHNhbWUgcHJpdmF0ZSBJUC4gVGhpcyBpcyBoYXJtbGVzcyBmb3IgY2xvdWQgcHJvdmlkZXJzLgogICAgcHVibGljX2lwOiAkcHJpdmF0ZV9pcHY0CiAgICAjIGFsbG93IGV0Y2QgdG8gc2xvdyBkb3duIGF0IHRpbWVzCiAgICBldGNkX3", | |
"PhysicalResourceId": "deis-CoreOSServerLaunchConfig-1O2J50LARGJT9", | |
"LogicalResourceId": "CoreOSServerLaunchConfig" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroupIngress-CREATE_COMPLETE-1409927410000", | |
"ResourceStatus": "CREATE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroupIngress", | |
"Timestamp": "2014-09-05T14:30:10Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"IpProtocol\":\"-1\",\"ToPort\":\"65535\",\"SourceSecurityGroupId\":\"sg-2baf0d4e\",\"FromPort\":\"0\",\"GroupId\":\"sg-2baf0d4e\"}", | |
"PhysicalResourceId": "VPCSecurityGroupIngress", | |
"LogicalResourceId": "VPCSecurityGroupIngress" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerLaunchConfig-CREATE_IN_PROGRESS-1409927410000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::AutoScaling::LaunchConfiguration", | |
"Timestamp": "2014-09-05T14:30:10Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"ImageId\":\"ami-74865b03\",\"AssociatePublicIpAddress\":\"false\",\"SecurityGroups\":[\"sg-2baf0d4e\"],\"UserData\":\"I2Nsb3VkLWNvbmZpZwotLS0KY29yZW9zOgogIGV0Y2Q6CiAgICBkaXNjb3Zlcnk6IGh0dHBzOi8vZGlzY292ZXJ5LmV0Y2QuaW8vNGFmMTU2YzMwYjg0NTRjNzM1MGNmYTNkNTk4YjY4MmYKICAgIGFkZHI6ICRwcml2YXRlX2lwdjQ6NDAwMQogICAgcGVlci1hZGRyOiAkcHJpdmF0ZV9pcHY0OjcwMDEKICAgICMgZ2l2ZSBldGNkIG1vcmUgdGltZSBpZiBpdCdzIHVuZGVyIGhlYXZ5IGxvYWQgLSBwcmV2ZW50IGxlYWRlciBlbGVjdGlvbiB0aHJhc2hpbmcKICAgIHBlZXItZWxlY3Rpb24tdGltZW91dDogMjAwMAogICAgIyBoZWFydGJlYXQgaW50ZXJ2YWwgc2hvdWxkIGlkZWFsbHkgYmUgMS80IG9yIDEvNSBvZiBwZWVyIGVsZWN0aW9uIHRpbWVvdXQsIGJ1dCB0aGF0J3MgYSBsb25nIHRpbWUuLi4KICAgIHBlZXItaGVhcnRiZWF0LWludGVydmFsOiAyMDAKICBmbGVldDoKICAgICMgV2UgaGF2ZSB0byBzZXQgdGhlIHB1YmxpY19pcCBoZXJlIHNvIHRoaXMgd29ya3Mgb24gVmFncmFudCAtLSBvdGhlcndpc2UsIFZhZ3JhbnQgVk1zCiAgICAjIHdpbGwgYWxsIHB1Ymxpc2ggdGhlIHNhbWUgcHJpdmF0ZSBJUC4gVGhpcyBpcyBoYXJtbGVzcyBmb3IgY2xvdWQgcHJvdmlkZXJzLgogICAgcHVibGljX2lwOiAkcHJpdmF0ZV9pcHY0CiAgICAjIGFsbG93IGV0Y2QgdG8gc2xvdyBkb3duIGF0IHRpbWVzCiAgICBldGNkX3", | |
"PhysicalResourceId": "deis-CoreOSServerLaunchConfig-1O2J50LARGJT9", | |
"LogicalResourceId": "CoreOSServerLaunchConfig" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroupIngress-CREATE_IN_PROGRESS-1409927410000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroupIngress", | |
"Timestamp": "2014-09-05T14:30:10Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"IpProtocol\":\"-1\",\"ToPort\":\"65535\",\"SourceSecurityGroupId\":\"sg-2baf0d4e\",\"FromPort\":\"0\",\"GroupId\":\"sg-2baf0d4e\"}", | |
"PhysicalResourceId": "VPCSecurityGroupIngress", | |
"LogicalResourceId": "VPCSecurityGroupIngress" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "CoreOSServerLaunchConfig-CREATE_IN_PROGRESS-1409927409000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::AutoScaling::LaunchConfiguration", | |
"Timestamp": "2014-09-05T14:30:09Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"ImageId\":\"ami-74865b03\",\"AssociatePublicIpAddress\":\"false\",\"SecurityGroups\":[\"sg-2baf0d4e\"],\"UserData\":\"I2Nsb3VkLWNvbmZpZwotLS0KY29yZW9zOgogIGV0Y2Q6CiAgICBkaXNjb3Zlcnk6IGh0dHBzOi8vZGlzY292ZXJ5LmV0Y2QuaW8vNGFmMTU2YzMwYjg0NTRjNzM1MGNmYTNkNTk4YjY4MmYKICAgIGFkZHI6ICRwcml2YXRlX2lwdjQ6NDAwMQogICAgcGVlci1hZGRyOiAkcHJpdmF0ZV9pcHY0OjcwMDEKICAgICMgZ2l2ZSBldGNkIG1vcmUgdGltZSBpZiBpdCdzIHVuZGVyIGhlYXZ5IGxvYWQgLSBwcmV2ZW50IGxlYWRlciBlbGVjdGlvbiB0aHJhc2hpbmcKICAgIHBlZXItZWxlY3Rpb24tdGltZW91dDogMjAwMAogICAgIyBoZWFydGJlYXQgaW50ZXJ2YWwgc2hvdWxkIGlkZWFsbHkgYmUgMS80IG9yIDEvNSBvZiBwZWVyIGVsZWN0aW9uIHRpbWVvdXQsIGJ1dCB0aGF0J3MgYSBsb25nIHRpbWUuLi4KICAgIHBlZXItaGVhcnRiZWF0LWludGVydmFsOiAyMDAKICBmbGVldDoKICAgICMgV2UgaGF2ZSB0byBzZXQgdGhlIHB1YmxpY19pcCBoZXJlIHNvIHRoaXMgd29ya3Mgb24gVmFncmFudCAtLSBvdGhlcndpc2UsIFZhZ3JhbnQgVk1zCiAgICAjIHdpbGwgYWxsIHB1Ymxpc2ggdGhlIHNhbWUgcHJpdmF0ZSBJUC4gVGhpcyBpcyBoYXJtbGVzcyBmb3IgY2xvdWQgcHJvdmlkZXJzLgogICAgcHVibGljX2lwOiAkcHJpdmF0ZV9pcHY0CiAgICAjIGFsbG93IGV0Y2QgdG8gc2xvdyBkb3duIGF0IHRpbWVzCiAgICBldGNkX3", | |
"PhysicalResourceId": null, | |
"LogicalResourceId": "CoreOSServerLaunchConfig" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroupIngress-CREATE_IN_PROGRESS-1409927409000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroupIngress", | |
"Timestamp": "2014-09-05T14:30:09Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"IpProtocol\":\"-1\",\"ToPort\":\"65535\",\"SourceSecurityGroupId\":\"sg-2baf0d4e\",\"FromPort\":\"0\",\"GroupId\":\"sg-2baf0d4e\"}", | |
"PhysicalResourceId": null, | |
"LogicalResourceId": "VPCSecurityGroupIngress" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroup-CREATE_COMPLETE-1409927407000", | |
"ResourceStatus": "CREATE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:30:07Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"22\",\"FromPort\":\"22\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"80\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"2222\"}],\"GroupDescription\":\"Enable public SSH and intra-VPC communication\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-2baf0d4e", | |
"LogicalResourceId": "VPCSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroup-CREATE_IN_PROGRESS-1409927406000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:30:06Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"22\",\"FromPort\":\"22\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"80\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"2222\"}],\"GroupDescription\":\"Enable public SSH and intra-VPC communication\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-2baf0d4e", | |
"LogicalResourceId": "VPCSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELB-CREATE_COMPLETE-1409927393000", | |
"ResourceStatus": "CREATE_COMPLETE", | |
"ResourceType": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Timestamp": "2014-09-05T14:29:53Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Listeners\":[{\"LoadBalancerPort\":\"80\",\"InstancePort\":\"80\",\"InstanceProtocol\":\"HTTP\",\"Protocol\":\"HTTP\"},{\"LoadBalancerPort\":\"2222\",\"InstancePort\":\"2222\",\"InstanceProtocol\":\"TCP\",\"Protocol\":\"TCP\"}],\"Subnets\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"HealthCheck\":{\"Timeout\":\"5\",\"Interval\":\"15\",\"Target\":\"HTTP:80/health-check\",\"HealthyThreshold\":\"4\",\"UnhealthyThreshold\":\"2\"},\"SecurityGroups\":[\"sg-27af0d42\"]}", | |
"PhysicalResourceId": "deis-DeisWebELB-GPRQB92UJWUG", | |
"LogicalResourceId": "DeisWebELB" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELB-CREATE_IN_PROGRESS-1409927391000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Timestamp": "2014-09-05T14:29:51Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Listeners\":[{\"LoadBalancerPort\":\"80\",\"InstancePort\":\"80\",\"InstanceProtocol\":\"HTTP\",\"Protocol\":\"HTTP\"},{\"LoadBalancerPort\":\"2222\",\"InstancePort\":\"2222\",\"InstanceProtocol\":\"TCP\",\"Protocol\":\"TCP\"}],\"Subnets\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"HealthCheck\":{\"Timeout\":\"5\",\"Interval\":\"15\",\"Target\":\"HTTP:80/health-check\",\"HealthyThreshold\":\"4\",\"UnhealthyThreshold\":\"2\"},\"SecurityGroups\":[\"sg-27af0d42\"]}", | |
"PhysicalResourceId": "deis-DeisWebELB-GPRQB92UJWUG", | |
"LogicalResourceId": "DeisWebELB" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "VPCSecurityGroup-CREATE_IN_PROGRESS-1409927389000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:29:49Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"22\",\"FromPort\":\"22\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"80\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"SourceSecurityGroupId\":\"sg-27af0d42\",\"FromPort\":\"2222\"}],\"GroupDescription\":\"Enable public SSH and intra-VPC communication\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": null, | |
"LogicalResourceId": "VPCSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELB-CREATE_IN_PROGRESS-1409927389000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Timestamp": "2014-09-05T14:29:49Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"Listeners\":[{\"LoadBalancerPort\":\"80\",\"InstancePort\":\"80\",\"InstanceProtocol\":\"HTTP\",\"Protocol\":\"HTTP\"},{\"LoadBalancerPort\":\"2222\",\"InstancePort\":\"2222\",\"InstanceProtocol\":\"TCP\",\"Protocol\":\"TCP\"}],\"Subnets\":[\"subnet-123\",\"subnet-456\",\"subnet-789\"],\"HealthCheck\":{\"Timeout\":\"5\",\"Interval\":\"15\",\"Target\":\"HTTP:80/health-check\",\"HealthyThreshold\":\"4\",\"UnhealthyThreshold\":\"2\"},\"SecurityGroups\":[\"sg-27af0d42\"]}", | |
"PhysicalResourceId": null, | |
"LogicalResourceId": "DeisWebELB" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELBSecurityGroup-CREATE_COMPLETE-1409927387000", | |
"ResourceStatus": "CREATE_COMPLETE", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:29:47Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"FromPort\":\"80\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"FromPort\":\"2222\",\"CidrIp\":\"0.0.0.0/0\"}],\"GroupDescription\":\"Deis Web ELB SecurityGroup\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-27af0d42", | |
"LogicalResourceId": "DeisWebELBSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELBSecurityGroup-CREATE_IN_PROGRESS-1409927386000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:29:46Z", | |
"ResourceStatusReason": "Resource creation Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"FromPort\":\"80\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"FromPort\":\"2222\",\"CidrIp\":\"0.0.0.0/0\"}],\"GroupDescription\":\"Deis Web ELB SecurityGroup\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": "sg-27af0d42", | |
"LogicalResourceId": "DeisWebELBSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "DeisWebELBSecurityGroup-CREATE_IN_PROGRESS-1409927370000", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::EC2::SecurityGroup", | |
"Timestamp": "2014-09-05T14:29:30Z", | |
"StackName": "deis", | |
"ResourceProperties": "{\"SecurityGroupIngress\":[{\"IpProtocol\":\"tcp\",\"ToPort\":\"80\",\"FromPort\":\"80\",\"CidrIp\":\"0.0.0.0/0\"},{\"IpProtocol\":\"tcp\",\"ToPort\":\"2222\",\"FromPort\":\"2222\",\"CidrIp\":\"0.0.0.0/0\"}],\"GroupDescription\":\"Deis Web ELB SecurityGroup\",\"VpcId\":\"vpc-123\"}", | |
"PhysicalResourceId": null, | |
"LogicalResourceId": "DeisWebELBSecurityGroup" | |
}, | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"EventId": "03787041-3509-11e4-83d2-507bb00bdca0", | |
"ResourceStatus": "CREATE_IN_PROGRESS", | |
"ResourceType": "AWS::CloudFormation::Stack", | |
"Timestamp": "2014-09-05T14:29:15.778Z", | |
"ResourceStatusReason": "User Initiated", | |
"StackName": "deis", | |
"ResourceProperties": "{\"KeyPair\":\"mykeypair\",\"AssociatePublicIP\":\"false\",\"EC2VirtualizationType\":\"HVM\",\"ClusterSize\":\"3\",\"SSHFrom\":\"0.0.0.0/0\",\"InstanceType\":\"t2.medium\"}", | |
"PhysicalResourceId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"LogicalResourceId": "deis" | |
} | |
] | |
} |
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
{ | |
"Stacks": [ | |
{ | |
"StackId": "arn:aws:cloudformation:eu-west-1:123456789123:stack/deis/03787040-3509-11e4-83d2-507bb00bdca0", | |
"Description": "Deis on EC2: http://deis.io/", | |
"Parameters": [ | |
{ | |
"ParameterValue": "mykeypair", | |
"ParameterKey": "KeyPair" | |
}, | |
{ | |
"ParameterValue": "false", | |
"ParameterKey": "AssociatePublicIP" | |
}, | |
{ | |
"ParameterValue": "3", | |
"ParameterKey": "ClusterSize" | |
}, | |
{ | |
"ParameterValue": "HVM", | |
"ParameterKey": "EC2VirtualizationType" | |
}, | |
{ | |
"ParameterValue": "0.0.0.0/0", | |
"ParameterKey": "SSHFrom" | |
}, | |
{ | |
"ParameterValue": "t2.medium", | |
"ParameterKey": "InstanceType" | |
} | |
], | |
"Tags": [], | |
"StackStatusReason": null, | |
"CreationTime": "2014-09-05T14:29:15.778Z", | |
"StackName": "deis", | |
"NotificationARNs": [], | |
"StackStatus": "ROLLBACK_COMPLETE", | |
"DisableRollback": false | |
} | |
] | |
} |
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
{ | |
"TemplateBody": { | |
"Description": "Deis on EC2: http://deis.io/", | |
"Parameters": { | |
"KeyPair": { | |
"Type": "String", | |
"Description": "Name of an existing EC2 KeyPair to enable SSH access to the Deis hosts", | |
"MinLength": "1", | |
"AllowedPattern": "[-_ a-zA-Z0-9]*", | |
"MaxLength": "64", | |
"ConstraintDescription": "can contain only alphanumeric characters, spaces, dashes and underscores." | |
}, | |
"ClusterSize": { | |
"Default": "3", | |
"MinValue": "3", | |
"Type": "Number", | |
"Description": "Number of nodes in cluster (3-12).", | |
"MaxValue": "12" | |
}, | |
"SSHFrom": { | |
"Type": "String", | |
"Description": "Lockdown SSH access to the Deis hosts (default: can be accessed from anywhere)", | |
"Default": "0.0.0.0/0", | |
"MinLength": "9", | |
"AllowedPattern": "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})", | |
"MaxLength": "18", | |
"ConstraintDescription": "must be a valid CIDR range of the form x.x.x.x/x." | |
}, | |
"EC2VirtualizationType": { | |
"Default": "PV", | |
"Type": "String", | |
"ConstraintDescription": "must be either PV or HVM", | |
"Description": "EC2 AMI virtualization type (see http://aws.amazon.com/amazon-linux-ami/instance-type-matrix/)", | |
"AllowedValues": [ | |
"PV", | |
"HVM" | |
] | |
}, | |
"InstanceType": { | |
"Default": "m3.large", | |
"Type": "String", | |
"ConstraintDescription": "must be a valid EC2 instance type.", | |
"Description": "EC2 instance type (see http://aws.amazon.com/ec2/instance-types/)", | |
"AllowedValues": [ | |
"m3.medium", | |
"m3.large", | |
"m3.xlarge", | |
"m3.2xlarge", | |
"m1.medium", | |
"m1.large", | |
"m1.xlarge", | |
"c3.large", | |
"c3.xlarge", | |
"c3.2xlarge", | |
"c3.4xlarge", | |
"c3.8xlarge", | |
"c1.medium", | |
"c1.xlarge", | |
"cc2.8xlarge", | |
"g2.2xlarge", | |
"cg1.4xlarge", | |
"m2.xlarge", | |
"m2.4xlarge", | |
"cr1.8xlarge", | |
"hi1.4xlarge", | |
"hs1.8xlarge", | |
"i2.xlarge", | |
"i2.2xlarge", | |
"i2.4xlarge", | |
"i2.8xlarge", | |
"r3.large", | |
"r3.xlarge", | |
"r3.2xlarge", | |
"r3.4xlarge", | |
"r3.8xlarge", | |
"t2.medium" | |
] | |
}, | |
"AssociatePublicIP": { | |
"Default": "true", | |
"Type": "String", | |
"ConstraintDescription": "must be either true or false", | |
"Description": "Whether to associate a public IP address to the instances", | |
"AllowedValues": [ | |
"true", | |
"false" | |
] | |
} | |
}, | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Outputs": { | |
"DNSName": { | |
"Description": "DNS Name of the ELB", | |
"Value": { | |
"Fn::GetAtt": [ | |
"DeisWebELB", | |
"DNSName" | |
] | |
} | |
} | |
}, | |
"Resources": { | |
"VPCSecurityGroup": { | |
"Type": "AWS::EC2::SecurityGroup", | |
"Properties": { | |
"SecurityGroupIngress": [ | |
{ | |
"ToPort": "22", | |
"IpProtocol": "tcp", | |
"FromPort": "22", | |
"CidrIp": { | |
"Ref": "SSHFrom" | |
} | |
}, | |
{ | |
"ToPort": "80", | |
"IpProtocol": "tcp", | |
"SourceSecurityGroupId": { | |
"Ref": "DeisWebELBSecurityGroup" | |
}, | |
"FromPort": "80" | |
}, | |
{ | |
"ToPort": "2222", | |
"IpProtocol": "tcp", | |
"SourceSecurityGroupId": { | |
"Ref": "DeisWebELBSecurityGroup" | |
}, | |
"FromPort": "2222" | |
} | |
], | |
"VpcId": "vpc-123", | |
"GroupDescription": "Enable public SSH and intra-VPC communication" | |
} | |
}, | |
"CoreOSServerLaunchConfig": { | |
"Type": "AWS::AutoScaling::LaunchConfiguration", | |
"Properties": { | |
"UserData": { | |
"Fn::Base64": { | |
"Fn::Join": [ | |
"", | |
[ | |
"#cloud-config\n", | |
"---\n", | |
"coreos:\n", | |
" etcd:\n", | |
" discovery: https://discovery.etcd.io/mytoken123\n", | |
" addr: $private_ipv4:4001\n", | |
" peer-addr: $private_ipv4:7001\n", | |
" # give etcd more time if it's under heavy load - prevent leader election thrashing\n", | |
" peer-election-timeout: 2000\n", | |
" # heartbeat interval should ideally be 1/4 or 1/5 of peer election timeout, but that's a long time...\n", | |
" peer-heartbeat-interval: 200\n", | |
" fleet:\n", | |
" # We have to set the public_ip here so this works on Vagrant -- otherwise, Vagrant VMs\n", | |
" # will all publish the same private IP. This is harmless for cloud providers.\n", | |
" public_ip: $private_ipv4\n", | |
" # allow etcd to slow down at times\n", | |
" etcd_request_timeout: 3\n", | |
" units:\n", | |
" - name: etcd.service\n", | |
" command: start\n", | |
" - name: fleet.service\n", | |
" command: start\n", | |
" - name: stop-update-engine.service\n", | |
" command: start\n", | |
" content: |\n", | |
" [Unit]\n", | |
" Description=stop update-engine\n", | |
"\n", | |
" [Service]\n", | |
" Type=oneshot\n", | |
" ExecStart=/usr/bin/systemctl stop update-engine.service\n", | |
" ExecStartPost=/usr/bin/systemctl mask update-engine.service\n", | |
"write_files:\n", | |
" - path: /etc/deis-release\n", | |
" content: |\n", | |
" DEIS_RELEASE=latest\n", | |
" - path: /etc/motd\n", | |
" content: \" \\e[31m* * \\e[34m* \\e[32m***** \\e[39mddddd eeeeeee iiiiiii ssss\\n\\e[31m* * \\e[34m* * \\e[32m* * \\e[39md d e e i s s\\n \\e[31m* * \\e[34m***** \\e[32m***** \\e[39md d e i s\\n\\e[32m***** \\e[31m* * \\e[34m* \\e[39md d e i s\\n\\e[32m* * \\e[31m* * \\e[34m* * \\e[39md d eee i sss\\n\\e[32m***** \\e[31m* * \\e[34m***** \\e[39md d e i s\\n \\e[34m* \\e[32m***** \\e[31m* * \\e[39md d e i s\\n \\e[34m* * \\e[32m* * \\e[31m* * \\e[39md d e e i s s\\n\\e[34m***** \\e[32m***** \\e[31m* * \\e[39mddddd eeeeeee iiiiiii ssss\\n\\n\\e[39mWelcome to Deis\\t\\t\\tPowered by Core\\e[38;5;45mO\\e[38;5;206mS\\e[39m\\n\"\n", | |
" - path: /etc/profile.d/nse-function.sh\n", | |
" permissions: '0755'\n", | |
" content: |\n", | |
" function nse() {\n", | |
" sudo nsenter --pid --uts --mount --ipc --net --target $(docker inspect --format=\"{{ .State.Pid }}\" $1)\n", | |
" }\n", | |
" - path: /run/deis/bin/get_image\n", | |
" permissions: '0755'\n", | |
" content: |\n", | |
" #!/bin/bash\n", | |
" # usage: get_image <component_path>\n", | |
" IMAGE=`etcdctl get $1/image 2>/dev/null`\n", | |
"\n", | |
" # if no image was set in etcd, we use the default plus the release string\n", | |
" if [ $? -ne 0 ]; then\n", | |
" RELEASE=`etcdctl get /deis/release 2>/dev/null`\n", | |
"\n", | |
" # if no release was set in etcd, use the default provisioned with the server\n", | |
" if [ $? -ne 0 ]; then\n", | |
" source /etc/deis-release\n", | |
" RELEASE=$DEIS_RELEASE\n", | |
" fi\n", | |
"\n", | |
" IMAGE=$1:$RELEASE\n", | |
" fi\n", | |
"\n", | |
" # remove leading slash\n", | |
" echo ${IMAGE#/}\n" | |
] | |
] | |
} | |
}, | |
"ImageId": { | |
"Fn::FindInMap": [ | |
"CoreOSAMIs", | |
{ | |
"Ref": "AWS::Region" | |
}, | |
{ | |
"Ref": "EC2VirtualizationType" | |
} | |
] | |
}, | |
"BlockDeviceMappings": [ | |
{ | |
"DeviceName": "/dev/sda", | |
"Ebs": { | |
"VolumeSize": "100" | |
} | |
} | |
], | |
"KeyName": { | |
"Ref": "KeyPair" | |
}, | |
"SecurityGroups": [ | |
{ | |
"Fn::GetAtt": [ | |
"VPCSecurityGroup", | |
"GroupId" | |
] | |
} | |
], | |
"InstanceType": { | |
"Ref": "InstanceType" | |
}, | |
"AssociatePublicIpAddress": { | |
"Ref": "AssociatePublicIP" | |
} | |
} | |
}, | |
"CoreOSServerAutoScale": { | |
"Type": "AWS::AutoScaling::AutoScalingGroup", | |
"Properties": { | |
"DesiredCapacity": { | |
"Ref": "ClusterSize" | |
}, | |
"Tags": [ | |
{ | |
"Value": "Deis", | |
"PropagateAtLaunch": true, | |
"Key": "Name" | |
} | |
], | |
"LaunchConfigurationName": { | |
"Ref": "CoreOSServerLaunchConfig" | |
}, | |
"MinSize": "3", | |
"MaxSize": "12", | |
"VPCZoneIdentifier": [ | |
"subnet-123", | |
"subnet-456", | |
"subnet-789" | |
], | |
"LoadBalancerNames": [ | |
{ | |
"Ref": "DeisWebELB" | |
} | |
], | |
"AvailabilityZones": [ | |
"eu-west-1a", | |
"eu-west-1b", | |
"eu-west-1c" | |
] | |
} | |
}, | |
"VPCSecurityGroupIngress": { | |
"Type": "AWS::EC2::SecurityGroupIngress", | |
"Properties": { | |
"ToPort": "65535", | |
"IpProtocol": "-1", | |
"SourceSecurityGroupId": { | |
"Ref": "VPCSecurityGroup" | |
}, | |
"GroupId": { | |
"Ref": "VPCSecurityGroup" | |
}, | |
"FromPort": "0" | |
} | |
}, | |
"DeisWebELBSecurityGroup": { | |
"Type": "AWS::EC2::SecurityGroup", | |
"Properties": { | |
"SecurityGroupIngress": [ | |
{ | |
"ToPort": "80", | |
"IpProtocol": "tcp", | |
"FromPort": "80", | |
"CidrIp": "0.0.0.0/0" | |
}, | |
{ | |
"ToPort": "2222", | |
"IpProtocol": "tcp", | |
"FromPort": "2222", | |
"CidrIp": "0.0.0.0/0" | |
} | |
], | |
"VpcId": "vpc-123", | |
"GroupDescription": "Deis Web ELB SecurityGroup" | |
} | |
}, | |
"DeisWebELB": { | |
"Type": "AWS::ElasticLoadBalancing::LoadBalancer", | |
"Properties": { | |
"HealthCheck": { | |
"HealthyThreshold": "4", | |
"Interval": "15", | |
"Target": "HTTP:80/health-check", | |
"Timeout": "5", | |
"UnhealthyThreshold": "2" | |
}, | |
"Listeners": [ | |
{ | |
"InstancePort": "80", | |
"LoadBalancerPort": "80", | |
"Protocol": "HTTP", | |
"InstanceProtocol": "HTTP" | |
}, | |
{ | |
"InstancePort": "2222", | |
"LoadBalancerPort": "2222", | |
"Protocol": "TCP", | |
"InstanceProtocol": "TCP" | |
} | |
], | |
"SecurityGroups": [ | |
{ | |
"Fn::GetAtt": [ | |
"DeisWebELBSecurityGroup", | |
"GroupId" | |
] | |
} | |
], | |
"Subnets": [ | |
"subnet-123", | |
"subnet-456", | |
"subnet-789" | |
] | |
} | |
} | |
}, | |
"Mappings": { | |
"SubnetConfig": { | |
"Subnet2": { | |
"CIDR": "10.21.2.0/24" | |
}, | |
"Subnet1": { | |
"CIDR": "10.21.1.0/24" | |
}, | |
"VPC": { | |
"CIDR": "10.21.0.0/16" | |
} | |
}, | |
"CoreOSAMIs": { | |
"us-east-1": { | |
"PV": "ami-b85786d0", | |
"HVM": "ami-a65786ce" | |
}, | |
"ap-northeast-1": { | |
"PV": "ami-47cb9246", | |
"HVM": "ami-49cb9248" | |
}, | |
"eu-west-1": { | |
"PV": "ami-72865b05", | |
"HVM": "ami-74865b03" | |
}, | |
"ap-southeast-1": { | |
"PV": "ami-88e4bcda", | |
"HVM": "ami-ce376c9c" | |
}, | |
"ap-southeast-2": { | |
"PV": "ami-3ba8ce01", | |
"HVM": "ami-0d98fe37" | |
}, | |
"us-west-2": { | |
"PV": "ami-cfafd5ff", | |
"HVM": "ami-cdafd5fd" | |
}, | |
"us-west-1": { | |
"PV": "ami-45151800", | |
"HVM": "ami-bb1a17fe" | |
}, | |
"sa-east-1": { | |
"PV": "ami-e1f65efc", | |
"HVM": "ami-e7f65efa" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment