GithubHelp home page GithubHelp logo

Comments (2)

anujbiyani avatar anujbiyani commented on June 11, 2024

Can you show the output of the following command:

aws autoscaling describe-auto-scaling-groups --auto-scaling-group-name "prod_media_asg" --region ap-southeast-2

Also have you given the Ruby version a shot? It uses the aws sdk gem which is a bit more reliable than their CLI.

from aws-missing-tools.

mtb-xt avatar mtb-xt commented on June 11, 2024

Yes, the Ruby version works fine, I use that at the moment.

The output of the command:

[user@shinkiro ansible]$ aws autoscaling describe-auto-scaling-groups --auto-scaling-group-name "prod_media_asg" --region ap-southeast-2
{
    "AutoScalingGroups": [
        {
            "AutoScalingGroupName": "prod_media_asg",
            "DefaultCooldown": 300,
            "LaunchConfigurationName": "terraform-xqwn7yggpbdn7d7apinpc523yi",
            "MinSize": 2,
            "Tags": [
                {
                    "ResourceId": "prod_media_asg",
                    "Key": "Name",
                    "Value": "prod_media_asg",
                    "PropagateAtLaunch": true,
                    "ResourceType": "auto-scaling-group"
                },
                {
                    "ResourceId": "prod_media_asg",
                    "Key": "env",
                    "Value": "prod",
                    "PropagateAtLaunch": true,
                    "ResourceType": "auto-scaling-group"
                },
                {
                    "ResourceId": "prod_media_asg",
                    "Key": "role",
                    "Value": "media",
                    "PropagateAtLaunch": true,
                    "ResourceType": "auto-scaling-group"
                }
            ],
            "VPCZoneIdentifier": "subnet-6503a800,subnet-e4fd2d93",
            "HealthCheckGracePeriod": 300,
            "HealthCheckType": "ELB",
            "MaxSize": 4,
            "AutoScalingGroupARN": "arn:aws:autoscaling:ap-southeast-2:648824010792:autoScalingGroup:e6339064-f0f7-4432-af78-4772f6884cee:autoScalingGroupName/prod_media_asg",
            "TerminationPolicies": [
                "OldestLaunchConfiguration"
            ],
            "DesiredCapacity": 4,
            "AvailabilityZones": [
                "ap-southeast-2b",
                "ap-southeast-2a"
            ],
            "SuspendedProcesses": [],
            "EnabledMetrics": [],
            "Instances": [
                {
                    "InstanceId": "i-0fa3ecd1",
                    "LifecycleState": "InService",
                    "LaunchConfigurationName": "terraform-xqwn7yggpbdn7d7apinpc523yi",
                    "HealthStatus": "Healthy",
                    "AvailabilityZone": "ap-southeast-2a"
                },
                {
                    "InstanceId": "i-09a3ecd7",
                    "LifecycleState": "InService",
                    "LaunchConfigurationName": "terraform-xqwn7yggpbdn7d7apinpc523yi",
                    "HealthStatus": "Healthy",
                    "AvailabilityZone": "ap-southeast-2a"
                },
                {
                    "InstanceId": "i-cc199a13",
                    "LifecycleState": "InService",
                    "LaunchConfigurationName": "terraform-xqwn7yggpbdn7d7apinpc523yi",
                    "HealthStatus": "Healthy",
                    "AvailabilityZone": "ap-southeast-2b"
                },
                {
                    "InstanceId": "i-d0189b0f",
                    "LifecycleState": "InService",
                    "LaunchConfigurationName": "terraform-xqwn7yggpbdn7d7apinpc523yi",
                    "HealthStatus": "Healthy",
                    "AvailabilityZone": "ap-southeast-2b"
                }
            ],
            "CreatedTime": "2015-10-16T13:29:49.339Z",
            "LoadBalancerNames": [
                "prod-media-elb"
            ]
        }
    ]
}

from aws-missing-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.