aws elbv2 describe-load-balancers

From wikieduonline
Jump to navigation Jump to search

Examples[edit]

aws elbv2 describe-load-balancers --output text 
LOADBALANCERS   T1H1FL6HABSF6   2021-06-24T13:14:07.960000+00:00        your-name-363809056.us-west-2.elb.amazonaws.com ipv4    
arn:aws:elasticloadbalancing:us-west-2:63809056:loadbalancer/app/your-name/f127fb7905ba9910
your-name            internet-facing application     vpc-06346f047d922d157
AVAILABILITYZONES       subnet-0a8dc4f6c22abaea2        us-west-2b
AVAILABILITYZONES       subnet-0b27d35e09a723073        us-west-2a
SECURITYGROUPS  sg-0


aws elbv2 describe-load-balancers
{
  "LoadBalancers": [
      {
          "Type": "application",
          "Scheme": "internet-facing",
          "IpAddressType": "ipv4",
          "VpcId": "vpc-3ac0fb5f",
          "AvailabilityZones": [
              {
                  "ZoneName": "us-west-2a",
                  "SubnetId": "subnet-8360a9e7"
              },
              {
                  "ZoneName": "us-west-2b",
                  "SubnetId": "subnet-b7d581c0"
              }
          ],
          "CreatedTime": "2016-03-25T21:26:12.920Z",
          "CanonicalHostedZoneId": "Z2P70J7EXAMPLE",
          "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com",
          "SecurityGroups": [
              "sg-5943793c"
          ],
          "LoadBalancerName": "my-load-balancer",
          "State": {
              "Code": "active"
          },
          "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
      }
  ]
}

Related terms[edit]

See also[edit]

Advertising: