Skip to content

Instantly share code, notes, and snippets.

@walmsles
Last active August 9, 2018 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walmsles/157828cbcfd24e71ce3ed6582a3bdf35 to your computer and use it in GitHub Desktop.
Save walmsles/157828cbcfd24e71ce3ed6582a3bdf35 to your computer and use it in GitHub Desktop.
Serverless Aurora RDS Setup (Clustered)
Cluster:
Type: AWS::RDS::DBCluster
Properties:
DatabaseName: db_name
Engine: aurora
MasterUsername: user
MasterUserPassword: password
Database:
Type: AWS::RDS::DBInstance
Properties:
DBInstanceClass: db.t2.small
Engine: aurora
PubliclyAccessible: true
DBInstanceIdentifier: ${self:service}-project-${self:provider.stage}
DBClusterIdentifier:
Ref: Cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment