Amazon Relational Database Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Create a Database Instance with CloudFormation

AWS::RDS::DBInstance

AWS::RDS::DBInstance
Resources:
  RelationalDatabase: 
  Type: AWS::RDS::DBInstance
  Properties: 
    DBName: some-name
    AllocatedStorage: 8
    DBInstanceClass: db.m1.medium
    Engine: postgres
    EngineVersion: 9.4.20
   MasterUsername: 
     Ref: "DBUser"
   MasterUserPassword: 
     Ref: "DBPassword"
   Tags: 
     - 
       Key: "Name"
       Value: "My SQL Database"
 DeletionPolicy: "Snapshot"