Skip to content

Instantly share code, notes, and snippets.

@eshleebien
Last active July 4, 2019 00:29
Show Gist options
  • Select an option

  • Save eshleebien/f8214df4fa4d26d034ab196746c3c73c to your computer and use it in GitHub Desktop.

Select an option

Save eshleebien/f8214df4fa4d26d034ab196746c3c73c to your computer and use it in GitHub Desktop.
aws --version # make sure it is 1.16 and up
# aws-cli/1.16.192 Python/3.7.3 Darwin/18.2.0 botocore/1.12.182
aws rds create-db-instance-read-replica \
--db-instance-identifier main-db \
--source-db-instance-identifier [arn resource url of the source] \
--db-subnet-group-name [subnet in a different VPC] \
--vpc-security-group-ids [security group in a different VPC]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment