Difference between revisions of "Aws-ec2-describe-instances-all-regions"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
[[aws ec2 describe-instances]] --region $region | [[aws ec2 describe-instances]] --region $region | ||
done | done | ||
+ | |||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{aws ec2}} | ||
+ | * {{EC2}} | ||
+ | |||
+ | [[Category:AWS]] | ||
+ | [[Category:AWS CLI]] |
Revision as of 18:12, 28 January 2022
for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f4` do echo -e "\nListing Instances in region:'$region'..." aws ec2 describe-instances --region $region done
See also
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
] - AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2
, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId
, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View
Advertising: