QT-DevOps / AWSIssues

Issues with AWS
Apache License 2.0
3 stars 26 forks source link

Unable to create read replica in other region availability zone. #35

Closed AnandSag closed 5 years ago

AnandSag commented 5 years ago

Command:

aws rds create-db-instance-read-replica --db-instance-identifier "qt-rds-from-cli-read-only" --source-db-instance-identifier "qt-rds-from-cli" --db-instance-class "db.t2.micro" --availability-zone "ap-south-1a"

source DB is in us-west-2b

Error: An error occurred (InvalidParameterValue) when calling the CreateDBInstanceReadReplica operation: ap-south-1a is not a valid availability zone.

srmanikanta commented 5 years ago

--source-db-instance-identifier name and --db-instance-identifier(in your database) name must be same and also availability zone

AnandSag commented 5 years ago

I can able to create a cross region read replica from console with different db-instance name.

ghost commented 5 years ago

try some other region (az)