RDS backups cross regions
Hello, this is Ken. Lately, I've been thinking about using services from various vendors, not just AWS, but I end up using AWS. This week... I will do my best to write this blog today as well.
Goal of this construction
This time, I would like to try RDS cross-region backup. So, the goal is to have the backup created in another region. Specifically, if a snapshot of RDS in the Tokyo region is created in the Osaka region, the verification will be considered successful this time.
Prerequisites
- A VPC has been created (including subnets and routing tables)
- An RDS subnet group has been created.
- Omit settings on the RDS console that are not necessary for this purpose.
Let's set up cross-region backup
① Enable backup in another AWS region in additional settings
*This time, we will set the encryption to enable and disable.
②Create RDS by setting only this part
③Click “Actions” and select “Cross Region Replication”
④ Move to the Osaka region and check that replication has been created in the "Automatic" section of "Snapshot" and "Replicated" section of "Automatic backup".
You can now confirm that snapshots are created across regions as backups.
summary
I usually create backups as snapshots in the same region, but by changing the region, you can expect to improve availability, so why not give it a try? This time, I did it without encryption, so I didn't have any problems with it getting stuck in the middle, but next time I'd like to write a blog about what I got stuck on when I did it with encryption.