python - Difficulty in finding the Region names in AWS rds -
How to get names of all RDS examples using A BTO script in AOWS I want to write a dragon script which is all Spreads to the areas and then displays their dbinstances.
The following should be given to all areas available to you for RDS.
import boto.rds regions = boto.rds.regions () which is similar to area information A list of items will return.
[RegionInfo: Our Pre-1, Area Information: CN-North-1, Area Information: AP-North-East -1, Area Information: EU-West-1, Field Information : AP-South-East-1, Area Information: AP-South-East-2, Area Information: WE-West-2, Area Information: us-gov-west-1, Area information: us-west-1, area Info: eu-central-1, regionInfo: sa-east-1] If you want to connect to a particular area, then eu-west-1 You say you You can:
area = regions [6] conn = region.connect () or even:
conn = boto.rds.connect_to_region (region.name)
Comments
Post a Comment