Bootstrap Cluster with Primary Instance
A 4-step recipe with Amazon DocumentDB. We can help you get access.
Recipe · 4 steps
Bootstrap Cluster with Primary Instance
with Amazon DocumentDB · IT Infrastructure Management
Provision a cluster and its first instance end to end.
- Create the DB cluster with the supplied identifier and master credentials.
- Poll the cluster status, looping back here until the cluster reports available before any instance is created.
- Create the primary instance inside the now-available cluster.
- Poll the instance status, looping back here until the instance reports available.
What you'll need to have ready
- DBClusterIdentifier: The identifier to assign to the new DB cluster.
- MasterUsername: The master user name for the cluster.
- MasterUserPassword: The master user password for the cluster.
- DBInstanceIdentifier: The identifier to assign to the new primary instance.
- DBInstanceClass: The compute and memory capacity of the instance.
- Engine: The database engine for the cluster and instance.
For your developer
Arazzo workflow amazon-documentdb:bootstrap-cluster-with-instance, 4 operations: CreateDBCluster → DescribeDBClusters → CreateDBInstance → DescribeDBInstances. Specs on APIs.io.