Difference between revisions of "Aws ec2 describe-regions --all-regions"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[aws ec2 describe-regions]] --all-regions
 
  [[aws ec2 describe-regions]] --all-regions
 +
 +
[[aws ec2 describe-regions]] --all-regions | grep RegionName | wc -l
 +
      29
 +
 +
[[aws ec2 describe-regions]] --all-regions | grep opt-in-not-required | wc -l
 +
      17
 +
 +
* opt-in-not-required, [[not-opted-in]] 
 +
 +
== Output ==
 +
{
 +
    "Regions": [
 +
        {
 +
            "Endpoint": "ec2.ap-south-2.amazonaws.com",
 +
            "RegionName": "ap-south-2",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-south-1.amazonaws.com",
 +
            "RegionName": "ap-south-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-south-1.amazonaws.com",
 +
            "RegionName": "eu-south-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-south-2.amazonaws.com",
 +
            "RegionName": "eu-south-2",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.me-central-1.amazonaws.com",
 +
            "RegionName": "me-central-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.il-central-1.amazonaws.com",
 +
            "RegionName": "il-central-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ca-central-1.amazonaws.com",
 +
            "RegionName": "ca-central-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-central-1.amazonaws.com",
 +
            "RegionName": "eu-central-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-central-2.amazonaws.com",
 +
            "RegionName": "eu-central-2",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.us-west-1.amazonaws.com",
 +
            "RegionName": "us-west-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.us-west-2.amazonaws.com",
 +
            "RegionName": "us-west-2",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.af-south-1.amazonaws.com",
 +
            "RegionName": "af-south-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-north-1.amazonaws.com",
 +
            "RegionName": "eu-north-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-west-3.amazonaws.com",
 +
            "RegionName": "eu-west-3",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-west-2.amazonaws.com",
 +
            "RegionName": "eu-west-2",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.eu-west-1.amazonaws.com",
 +
            "RegionName": "eu-west-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-northeast-3.amazonaws.com",
 +
            "RegionName": "ap-northeast-3",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-northeast-2.amazonaws.com",
 +
            "RegionName": "ap-northeast-2",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.me-south-1.amazonaws.com",
 +
            "RegionName": "me-south-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-northeast-1.amazonaws.com",
 +
            "RegionName": "ap-northeast-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.sa-east-1.amazonaws.com",
 +
            "RegionName": "sa-east-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-east-1.amazonaws.com",
 +
            "RegionName": "ap-east-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ca-west-1.amazonaws.com",
 +
            "RegionName": "ca-west-1",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-southeast-1.amazonaws.com",
 +
            "RegionName": "ap-southeast-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-southeast-2.amazonaws.com",
 +
            "RegionName": "ap-southeast-2",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-southeast-3.amazonaws.com",
 +
            "RegionName": "ap-southeast-3",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.ap-southeast-4.amazonaws.com",
 +
            "RegionName": "ap-southeast-4",
 +
            "OptInStatus": "not-opted-in"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.us-east-1.amazonaws.com",
 +
            "RegionName": "us-east-1",
 +
            "OptInStatus": "opt-in-not-required"
 +
        },
 +
        {
 +
            "Endpoint": "ec2.us-east-2.amazonaws.com",
 +
            "RegionName": "us-east-2",
 +
            "OptInStatus": "opt-in-not-required"
 +
        }
 +
    ]
 +
}
 +
  
  
  
 
== See also ==
 
== See also ==
 +
* {{aws ec2 regions}}
 
* {{aws ec2}}
 
* {{aws ec2}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 14:20, 19 February 2024

aws ec2 describe-regions --all-regions
aws ec2 describe-regions --all-regions | grep RegionName | wc -l
     29
aws ec2 describe-regions --all-regions | grep opt-in-not-required | wc -l
     17

Output[edit]

{
    "Regions": [
        {
            "Endpoint": "ec2.ap-south-2.amazonaws.com",
            "RegionName": "ap-south-2",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ap-south-1.amazonaws.com",
            "RegionName": "ap-south-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-south-1.amazonaws.com",
            "RegionName": "eu-south-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.eu-south-2.amazonaws.com",
            "RegionName": "eu-south-2",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.me-central-1.amazonaws.com",
            "RegionName": "me-central-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.il-central-1.amazonaws.com",
            "RegionName": "il-central-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ca-central-1.amazonaws.com",
            "RegionName": "ca-central-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-central-1.amazonaws.com",
            "RegionName": "eu-central-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-central-2.amazonaws.com",
            "RegionName": "eu-central-2",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.us-west-1.amazonaws.com",
            "RegionName": "us-west-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.us-west-2.amazonaws.com",
            "RegionName": "us-west-2",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.af-south-1.amazonaws.com",
            "RegionName": "af-south-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.eu-north-1.amazonaws.com",
            "RegionName": "eu-north-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-west-3.amazonaws.com",
            "RegionName": "eu-west-3",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-west-2.amazonaws.com",
            "RegionName": "eu-west-2",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.eu-west-1.amazonaws.com",
            "RegionName": "eu-west-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.ap-northeast-3.amazonaws.com",
            "RegionName": "ap-northeast-3",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.ap-northeast-2.amazonaws.com",
            "RegionName": "ap-northeast-2",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.me-south-1.amazonaws.com",
            "RegionName": "me-south-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ap-northeast-1.amazonaws.com",
            "RegionName": "ap-northeast-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.sa-east-1.amazonaws.com",
            "RegionName": "sa-east-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.ap-east-1.amazonaws.com",
            "RegionName": "ap-east-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ca-west-1.amazonaws.com",
            "RegionName": "ca-west-1",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ap-southeast-1.amazonaws.com",
            "RegionName": "ap-southeast-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.ap-southeast-2.amazonaws.com",
            "RegionName": "ap-southeast-2",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.ap-southeast-3.amazonaws.com",
            "RegionName": "ap-southeast-3",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.ap-southeast-4.amazonaws.com",
            "RegionName": "ap-southeast-4",
            "OptInStatus": "not-opted-in"
        },
        {
            "Endpoint": "ec2.us-east-1.amazonaws.com",
            "RegionName": "us-east-1",
            "OptInStatus": "opt-in-not-required"
        },
        {
            "Endpoint": "ec2.us-east-2.amazonaws.com",
            "RegionName": "us-east-2",
            "OptInStatus": "opt-in-not-required"
        }
    ]
}



See also[edit]

Advertising: