Skip to content

Instantly share code, notes, and snippets.

@jperry
Created November 2, 2012 19:31
Show Gist options
  • Save jperry/4003812 to your computer and use it in GitHub Desktop.
Save jperry/4003812 to your computer and use it in GitHub Desktop.
autoscale group output in xml
<DescribeAutoScalingGroupsResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/">
<DescribeAutoScalingGroupsResult>
<AutoScalingGroups>
<member>
<Tags>
<member>
<ResourceId>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>Name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectAsubprojectAGroup</Value>
<Key>aws:cloudformation:logical-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>arn:aws:cloudformation:us-east-1:749779118921:stack/projectA-production-subprojectA-992/434eb4a0-21cd-11e2-ae26-5017821d788d</Value>
<Key>aws:cloudformation:stack-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectA-production-subprojectA-992</Value>
<Key>aws:cloudformation:stack-name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>projectA:service</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
</Tags>
<SuspendedProcesses/>
<AutoScalingGroupName>projectA-production-subprojectA-992-projectAsubprojectAGroup-49GEKI5AGPAZ</AutoScalingGroupName>
<HealthCheckType>EC2</HealthCheckType>
<CreatedTime>2012-10-29T13:34:50.990Z</CreatedTime>
<EnabledMetrics/>
<LaunchConfigurationName>projectA-production-subprojectA-992-projectAsubprojectA-11VKV6YTEH4WC</LaunchConfigurationName>
<Instances>
<member>
<HealthStatus>Healthy</HealthStatus>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceId>i-498a</InstanceId>
<LaunchConfigurationName>projectA-production-subprojectA-992-projectAsubprojectA-11VKV6YTEH4WC</LaunchConfigurationName>
<LifecycleState>InService</LifecycleState>
</member>
</Instances>
<DesiredCapacity>1</DesiredCapacity>
<AvailabilityZones>
<member>us-east-1a</member>
</AvailabilityZones>
<LoadBalancerNames>
<member>projectA-ElasticL-AKO2691GK35Q</member>
</LoadBalancerNames>
<MinSize>1</MinSize>
<VPCZoneIdentifier/>
<HealthCheckGracePeriod>0</HealthCheckGracePeriod>
<DefaultCooldown>300</DefaultCooldown>
<AutoScalingGroupARN>arn:aws:autoscaling:text-replaced</AutoScalingGroupARN>
<TerminationPolicies>
<member>Default</member>
</TerminationPolicies>
<MaxSize>1</MaxSize>
</member>
<member>
<Tags>
<member>
<ResourceId>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>Name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectAsubprojectAGroup</Value>
<Key>aws:cloudformation:logical-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>arn:aws:cloudformation:us-east-1:749779118921:stack/projectA-qa-subprojectA-1011/55bb7400-2517-11e2-a143-5017c2aa8c86</Value>
<Key>aws:cloudformation:stack-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectA-qa-subprojectA-1011</Value>
<Key>aws:cloudformation:stack-name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>projectA:service</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
</Tags>
<SuspendedProcesses/>
<AutoScalingGroupName>projectA-qa-subprojectA-1011-projectAsubprojectAGroup-1WX5S6R5ZHDIV</AutoScalingGroupName>
<HealthCheckType>EC2</HealthCheckType>
<CreatedTime>2012-11-02T18:02:21.543Z</CreatedTime>
<EnabledMetrics/>
<LaunchConfigurationName>projectA-qa-subprojectA-1011-projectAsubprojectA-W4ZYC90JYF7R</LaunchConfigurationName>
<Instances>
<member>
<HealthStatus>Healthy</HealthStatus>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceId>i-49f9a</InstanceId>
<LaunchConfigurationName>projectA-qa-subprojectA-1011-projectAsubprojectA-W4ZYC90JYF7R</LaunchConfigurationName>
<LifecycleState>InService</LifecycleState>
</member>
</Instances>
<DesiredCapacity>1</DesiredCapacity>
<AvailabilityZones>
<member>us-east-1a</member>
</AvailabilityZones>
<LoadBalancerNames>
<member>projectA-ElasticL-1YMAJ1O0E1XF</member>
</LoadBalancerNames>
<MinSize>1</MinSize>
<VPCZoneIdentifier/>
<HealthCheckGracePeriod>0</HealthCheckGracePeriod>
<DefaultCooldown>300</DefaultCooldown>
<AutoScalingGroupARN>arn:aws:autoscaling:text-replaced</AutoScalingGroupARN>
<TerminationPolicies>
<member>Default</member>
</TerminationPolicies>
<MaxSize>1</MaxSize>
</member>
<member>
<Tags>
<member>
<ResourceId>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>Name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectAsubprojectAGroup</Value>
<Key>aws:cloudformation:logical-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>arn:aws:cloudformation:us-east-1:749779118921:stack/projectA-qa-subprojectA-982-perf/587335f0-1f01-11e2-a765-5081b23f0c86</Value>
<Key>aws:cloudformation:stack-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectA-qa-subprojectA-982-perf</Value>
<Key>aws:cloudformation:stack-name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>projectA:service</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
</Tags>
<SuspendedProcesses/>
<AutoScalingGroupName>projectA-qa-subprojectA-982-perf-projectAsubprojectAGroup-139H70ZHWWN72</AutoScalingGroupName>
<HealthCheckType>EC2</HealthCheckType>
<CreatedTime>2012-10-26T00:10:09.892Z</CreatedTime>
<EnabledMetrics/>
<LaunchConfigurationName>projectA-qa-subprojectA-982-perf-projectAsubprojectA-OUGGSPOE1EIP</LaunchConfigurationName>
<Instances>
<member>
<HealthStatus>Healthy</HealthStatus>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceId>i-65da</InstanceId>
<LaunchConfigurationName>projectA-qa-subprojectA-982-perf-projectAsubprojectA-OUGGSPOE1EIP</LaunchConfigurationName>
<LifecycleState>InService</LifecycleState>
</member>
<member>
<HealthStatus>Healthy</HealthStatus>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceId>i-6bda</InstanceId>
<LaunchConfigurationName>projectA-qa-subprojectA-982-perf-projectAsubprojectA-OUGGSPOE1EIP</LaunchConfigurationName>
<LifecycleState>InService</LifecycleState>
</member>
</Instances>
<DesiredCapacity>2</DesiredCapacity>
<AvailabilityZones>
<member>us-east-1a</member>
</AvailabilityZones>
<LoadBalancerNames>
<member>projectA-ElasticL-1EY1HVVP5B4TM</member>
</LoadBalancerNames>
<MinSize>2</MinSize>
<VPCZoneIdentifier/>
<HealthCheckGracePeriod>0</HealthCheckGracePeriod>
<DefaultCooldown>300</DefaultCooldown>
<AutoScalingGroupARN>arn:aws:autoscaling:text-replaced</AutoScalingGroupARN>
<TerminationPolicies>
<member>Default</member>
</TerminationPolicies>
<MaxSize>2</MaxSize>
</member>
<member>
<Tags>
<member>
<ResourceId>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>Name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectAsubprojectAGroup</Value>
<Key>aws:cloudformation:logical-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>arn:aws:cloudformation:us-east-1:749779118921:stack/projectA-staging-subprojectA-992/820895c0-21c9-11e2-8f88-5081b017bc4b</Value>
<Key>aws:cloudformation:stack-id</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>projectA-staging-subprojectA-992</Value>
<Key>aws:cloudformation:stack-name</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
<member>
<ResourceId>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</ResourceId>
<PropagateAtLaunch>true</PropagateAtLaunch>
<Value>subprojectA</Value>
<Key>projectA:service</Key>
<ResourceType>auto-scaling-group</ResourceType>
</member>
</Tags>
<SuspendedProcesses/>
<AutoScalingGroupName>projectA-staging-subprojectA-992-projectAsubprojectAGroup-15FE3RGO9ECM0</AutoScalingGroupName>
<HealthCheckType>EC2</HealthCheckType>
<CreatedTime>2012-10-29T13:07:44.152Z</CreatedTime>
<EnabledMetrics/>
<LaunchConfigurationName>projectA-staging-subprojectA-992-projectAsubprojectA-Y22JEDG14I8M</LaunchConfigurationName>
<Instances>
<member>
<HealthStatus>Healthy</HealthStatus>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceId>i-bdc5</InstanceId>
<LaunchConfigurationName>projectA-staging-subprojectA-992-projectAsubprojectA-Y22JEDG14I8M</LaunchConfigurationName>
<LifecycleState>InService</LifecycleState>
</member>
</Instances>
<DesiredCapacity>1</DesiredCapacity>
<AvailabilityZones>
<member>us-east-1a</member>
</AvailabilityZones>
<LoadBalancerNames>
<member>projectA-ElasticL-BYS0F5ZOPGQJ</member>
</LoadBalancerNames>
<MinSize>1</MinSize>
<VPCZoneIdentifier/>
<HealthCheckGracePeriod>0</HealthCheckGracePeriod>
<DefaultCooldown>300</DefaultCooldown>
<AutoScalingGroupARN>arn:aws:autoscaling:text-replaced</AutoScalingGroupARN>
<TerminationPolicies>
<member>Default</member>
</TerminationPolicies>
<MaxSize>1</MaxSize>
</member>
</AutoScalingGroups>
</DescribeAutoScalingGroupsResult>
<ResponseMetadata>
<RequestId>0a9e3690-2523-11e2-98a7-89b4920a90b1</RequestId>
</ResponseMetadata>
</DescribeAutoScalingGroupsResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment