Amazon Relational Database Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
   Properties:  
   Properties:  
     [[Amazon Relational Database Concepts#Database_Name|DBName]]: some-name
     [[Amazon Relational Database Concepts#Database_Name|DBName]]: some-name
      AllocatedStorage:  
    [[Amazon_Relational_Database_Concepts#Allocated_Storage|AllocatedStorage]]: 8
      Ref: "DBAllocatedStorage"
    [[Amazon_Relational_Database_Concepts#Instance_Class|DBInstanceClass]]:  
    DBInstanceClass:  
       Ref: "DBInstanceClass"
       Ref: "DBInstanceClass"
     Engine: "MySQL"
     Engine: "MySQL"

Revision as of 03:02, 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: 8
    DBInstanceClass: 
     Ref: "DBInstanceClass"
   Engine: "MySQL"
   EngineVersion: "5.6.13"
   MasterUsername: 
     Ref: "DBUser"
   MasterUserPassword: 
     Ref: "DBPassword"
   Tags: 
     - 
       Key: "Name"
       Value: "My SQL Database"
 DeletionPolicy: "Snapshot"