You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EC2 apis currently provide an ability to return the available EC2 instance types within a given region.
eg
ec2 = boto3.client('ec2', region_name=region)
paginator = ec2.get_paginator('describe_instances')
as of my knowledge , AWS does not provide a similar method for RDS. for example a describe_db_instance_classes method
Use Case
When working multi-region I often need to programically return the valid RDS Instance classes that can be leveraged
Hi @bluedoors, thanks for reaching out. To clarify, do you mean that you want to be able to get all the instance types offered by AWS in a region, or the existing instances that you have created in a region? Thanks!
@RyanFitzSimmonsAK, The former. So as with EC2 you can see the available instance types in a region (regardless of if you have created instances of them). In RDS presently you can only gather information on instances you have created. This is very important as new regions come online often with differing sets of initially available RDS Instance Classes and you have a multi-region strategy, or are looking to migrate workloads between regions.
Describe the feature
The EC2 apis currently provide an ability to return the available EC2 instance types within a given region.
eg
ec2 = boto3.client('ec2', region_name=region)
paginator = ec2.get_paginator('describe_instances')
as of my knowledge , AWS does not provide a similar method for RDS. for example a describe_db_instance_classes method
Use Case
When working multi-region I often need to programically return the valid RDS Instance classes that can be leveraged
Proposed Solution
rds = boto3.client('rds', region_name=region)
paginator = rds.get_paginator('describe_db_instance_classes')
Other Information
No response
Acknowledgements
SDK version used
1.26.153
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: