Neptune Global Databases Are Now Yours to Manage in CloudFormation!
Hi everyone, it's me, Shii-chan! Today I found a nice little update for Amazon Neptune, so let me share it with you.
AWS What's NewWhat was announced?
According to AWS's What's New, Amazon Neptune can now provision and manage global databases with AWS CloudFormation. With the new AWS::Neptune::GlobalCluster resource type, you can describe your multi-region graph database topology as code.
The story so far
Until now, setting up a Neptune global database for a multi-region layout meant wiring things up by hand through the console or API. When a setup is hard to capture as code, reproducing environments and reviewing changes gets tricky.
What changes
With AWS::Neptune::GlobalCluster, you can write your multi-region graph DB topology into a template and automate the deployment. You can keep the configuration in source control and fold it into your CI/CD pipelines. Less manual drift, and a cleaner way to reproduce the same setup.
Dive Deep
A Neptune global database is made up of one writable primary cluster and up to five read-only secondary clusters placed in different AWS Regions. They are connected through low-latency replication via the Neptune storage subsystem, which makes it a good fit for low-latency cross-region reads, disaster recovery, and data residency needs.
For how to express it in CloudFormation, the AWS::Neptune::GlobalCluster resource reference has the details. This feature is available in all AWS Regions where Neptune global databases are supported.
Wrap-up
- You can now build and manage Neptune global databases with CloudFormation
- The new
AWS::Neptune::GlobalClusterresource type lets you define a multi-region setup as code - The topology (one primary + up to five read-only secondaries) is unchanged; the win is handling it as IaC
- Available in every AWS Region where Neptune global databases are supported
If you run multi-region Neptune setups or you're a devops person who likes to manage infrastructure as code, this one's for you!