Skip to content

Instantly share code, notes, and snippets.

@mobilequickie
Last active May 4, 2020 00:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mobilequickie/f25c4083c16ca330a2bb6c83c0d97e27 to your computer and use it in GitHub Desktop.
Save mobilequickie/f25c4083c16ca330a2bb6c83c0d97e27 to your computer and use it in GitHub Desktop.
Create an Aurora Serverless Cluster via AWS CLI
aws rds create-db-cluster --db-cluster-identifier my-serverless-cluster --master-username mymasteruser \
--master-user-password mymasterpassword --engine aurora --engine-mode serverless \
--region us-east-1
@mobilequickie
Copy link
Author

mobilequickie commented Apr 23, 2019

// Result of the above AWS CLI command - ran on April 23, 2019

{
    "DBCluster": {
        "AllocatedStorage": 1,
        "AvailabilityZones": [
            "us-east-2a",
            "us-east-2b",
            "us-east-2c"
        ],
        "BackupRetentionPeriod": 1,
        "DBClusterIdentifier": "my-serverless-cluster",
        "DBClusterParameterGroup": "default.aurora5.6",
        "DBSubnetGroup": "default",
        "Status": "creating",
        "Endpoint": "my-serverless-cluster.cluster-<redacted>.us-east-1.rds.amazonaws.com",
        "ReaderEndpoint": "my-serverless-cluster.cluster-ro-<redacted>.us-east-1.rds.amazonaws.com",
        "MultiAZ": false,
        "Engine": "aurora",
        "EngineVersion": "5.6.10a",
        "Port": 3306,
        "MasterUsername": "mymasteruser",
        "PreferredBackupWindow": "07:17-07:47",
        "PreferredMaintenanceWindow": "fri:10:29-fri:10:59",
        "ReadReplicaIdentifiers": [],
        "DBClusterMembers": [],
        "VpcSecurityGroups": [
            {
                "VpcSecurityGroupId": "sg-36292b58",
                "Status": "active"
            }
        ],
        "HostedZoneId": "Z2XHWR1WZ565X2",
        "StorageEncrypted": true,
        "KmsKeyId": "arn:aws:kms:us-east-2:<redacted>:key/<redacted>",
        "DbClusterResourceId": "cluster-YYE7XNIREUYWIRSVNEE2I2AHLU",
        "DBClusterArn": "arn:aws:rds:us-east-1:<redacted>:cluster:my-serverless-cluster",
        "AssociatedRoles": [],
        "IAMDatabaseAuthenticationEnabled": false,
        "ClusterCreateTime": "2019-04-23T22:23:10.757Z",
        "EngineMode": "serverless",
        "DeletionProtection": false,
        "HttpEndpointEnabled": false
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment