aws-aurora
TLDR
Create an Aurora MySQL cluster
SYNOPSIS
aws rds command [options]
DESCRIPTION
aws rds commands manage Amazon Aurora, a MySQL and PostgreSQL-compatible relational database built for the cloud. Aurora commands operate under the RDS service namespace rather than a separate Aurora namespace.
Aurora clusters consist of a primary writer instance and up to 15 read replicas. Create the cluster first with create-db-cluster, then add instances with create-db-instance. Aurora handles replication automatically across Availability Zones.
Aurora Serverless (engine-mode serverless) automatically scales capacity based on demand. Aurora I/O-Optimized (storage-type aurora-iopt1) provides predictable pricing for I/O-intensive workloads.
Use --manage-master-user-password to have AWS Secrets Manager automatically manage the master password instead of specifying it directly.
PARAMETERS
create-db-cluster
Create a new Aurora DB clustercreate-db-instance
Create a database instance in a clusterdescribe-db-clusters
List DB clusters and their detailsmodify-db-cluster
Modify cluster configurationdelete-db-cluster
Delete an Aurora clustercreate-db-cluster-snapshot
Create a manual snapshot of a clusterrestore-db-cluster-from-snapshot
Restore a cluster from a snapshotcreate-db-cluster-endpoint
Create a custom endpoint for read replicasfailover-db-cluster
Force a failover to a replica--db-cluster-identifier name
Unique identifier for the cluster--engine type
Database engine: aurora-mysql, aurora-postgresql--engine-version version
Specific engine version--master-username name
Master user account name--master-user-password password
Master user password (or use --manage-master-user-password)--db-instance-class class
Instance type (db.r5.large, db.r6g.xlarge, etc.)--db-subnet-group-name name
Subnet group for the cluster--vpc-security-group-ids ids
Security groups for network access--engine-mode mode
provisioned or serverless
CAVEATS
Creating a cluster does not automatically create instances; you must add them separately. Deleting a cluster without --skip-final-snapshot requires specifying a final snapshot identifier. VPC, subnet groups, and security groups must be configured before cluster creation.
HISTORY
Amazon Aurora was announced at AWS re:Invent 2014 and became generally available in July 2015. It was designed to provide MySQL compatibility with significantly improved performance and availability. Aurora PostgreSQL followed in 2017, and Aurora Serverless launched in 2018 for variable workloads.


