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: !Ref: "DBName"
      AllocatedStorage: 
     Ref: "DBAllocatedStorage"
   DBInstanceClass: 
     Ref: "DBInstanceClass"
   Engine: "MySQL"
   EngineVersion: "5.6.13"
   MasterUsername: 
     Ref: "DBUser"
   MasterUserPassword: 
     Ref: "DBPassword"
   Tags: 
     - 
       Key: "Name"
       Value: "My SQL Database"
 DeletionPolicy: "Snapshot"