Amazon Relational Database Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
   Type: AWS::RDS::DBInstance
   Type: AWS::RDS::DBInstance
   Properties:  
   Properties:  
     DBName: !Ref: "DBName"
     DBName: some-name
       AllocatedStorage:  
       AllocatedStorage:  
       Ref: "DBAllocatedStorage"
       Ref: "DBAllocatedStorage"

Revision as of 02:43, 17 April 2019

Internal

Create a Database Instance with CloudFormation

AWS::RDS::DBInstance

AWS::RDS::DBInstance
Resources:
  RelationalDatabase: 
  Type: AWS::RDS::DBInstance
  Properties: 
    DBName: some-name
      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"