- Newest
- Most votes
- Most comments
Hi,
Amazon RDS FAQs actually address this very question.
Link: https://aws.amazon.com/rds/faqs/
For Multi-AZ deployments, defining a subnet for all Availability Zones in a Region will allow Amazon RDS to create a new standby in another Availability Zone should the need arise. You need to do this even for Single-AZ deployments, just in case you want to convert them to Multi-AZ deployments at some point.
Q: The second subnet would be used to store your backups and logs
A: No, the second subnet is NOT used for backups and logs.
Q: That AWS uses these two subnets to deploy your RDS. Does it then randomly pick one subnet, deploy the RDS there, and keep it there forever? What is the need for the second subnet then?
A: On RDS creation, you are allowed to choose an Availability zone preference. If you choose "No preference", then RDS will randomly choose to deploy one of the subnets and will keep it there forever (unless you update config to Multi-AZ). The second subnet is just sitting there doing nothing waiting for you to upgrade to Multi-AZ.
Q: That in case of failure, AWS would automatically transition the RDS to the second subnet.
A: No, it will only transition to the second subnet if Multi-AZ is enabled
Q: If you change to multi-AZ, then these two are used as a basis. But why would you need to pre-define it before going multi-AZ?
A: Most likely because AWS would rather you use multi-AZ (and also wants the migration to multi-AZ be as simple as a possible).
Hope this helps!
-randy
ok thanks. i missed that. i guess it must be something to do with the backend implementation to ease the conversion later if needed. in any case, thanks for the answer!
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago