aws rds create-global-cluster
Creates an Aurora global database spread across multiple Amazon Web Services Regions. AWS CLI reference
1 example 9 options Its page in the AWS CLI reference
Examples
To create a global DB cluster
The following create-global-cluster example creates a new Aurora MySQL-compatible global DB cluster.
aws rds create-global-cluster --global-cluster-identifier myglobalcluster --engine aurora-mysqlIdentify--global-cluster-identifierThe cluster identifier for this global database cluster.--engineThe database engine to use for this global database cluster.Its output
{
"GlobalCluster": {
"GlobalClusterIdentifier": "myglobalcluster",
"GlobalClusterResourceId": "cluster-f0e523bfe07aabb",
"GlobalClusterArn": "arn:aws:rds::123456789012:global-cluster:myglobalcluster",
"Status": "available",
"Engine": "aurora-mysql",
"EngineVersion": "5.7.mysql_aurora.2.07.2",
"StorageEncrypted": false,
"DeletionProtection": false,
"GlobalClusterMembers": []
}
}For more information, see Creating an Aurora global database in the Amazon Aurora User Guide.
Options
--database-nameThe name for your database of up to 64 alphanumeric characters.--deletion-protectionSpecifies whether to enable deletion protection for the new global database cluster.--engine-lifecycle-supportThe lifecycle type for this global database cluster.--engine-versionThe engine version to use for this global database cluster.--engineThe database engine to use for this global database cluster.--global-cluster-identifierThe cluster identifier for this global database cluster.--source-db-cluster-identifierThe Amazon Resource Name (ARN) to use as the primary cluster of the global database.--storage-encryptedSpecifies whether to enable storage encryption for the new global database cluster.--tagsTags to assign to the global cluster.