How can I get a list of available EBS volume types for a particular region / local zone?

0

I see that Ec2Client has a method 'describeInstanceTypeOfferings' to see all available instances in a region or local zone.

Is there a similar API method to get a list of available volume types in a region or local zone?

已提問 3 個月前檢視次數 218 次
2 個答案
1

Hello.

Is there a similar API method to get a list of available volume types in a region or local zone?

As far as I know, I don't think there is any such API.
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/OperationList-query-ebs.html

For local zones, the table in the document below lists the volume types that can be used with EBS.
https://aws.amazon.com/about-aws/global-infrastructure/localzones/features/?nc1=h_ls

profile picture
專家
已回答 3 個月前
profile pictureAWS
專家
已審閱 3 個月前
-1

Hi,

"describeVolumeTypeOfferings" or a similar method to directly retrieve a list of available EBS volume types in a region or local zone. However, the AWS SDKs are updated regularly, and new features are added.

As an alternative, you can use the "describeVolumeTypes" method provided by the EC2 service to retrieve information about all available EBS volume types in a region. The response will include details about each volume type, including their specifications.

Here's an example using the AWS CLI: code: "aws ec2 describe-volume-types --region your-region" Replace your-region with the specific AWS region you are interested in.

profile picture
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南