Amazon Relational Database Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
     [[Amazon_Relational_Database_Concepts#Engine|Engine]]: postgres
     [[Amazon_Relational_Database_Concepts#Engine|Engine]]: postgres
     [[Amazon_Relational_Database_Concepts#Engine_Version|EngineVersion]]: 9.4.20
     [[Amazon_Relational_Database_Concepts#Engine_Version|EngineVersion]]: 9.4.20
    MasterUsername:  
    [[Amazon_Relational_Database_Concepts#Master_Username|MasterUsername]]: admin
      Ref: "DBUser"
    MasterUserPassword: ...
    MasterUserPassword:  
    [[AWS_CloudFormation_Concepts#DeletionPolicy|DeletionPolicy]]: Delete
      Ref: "DBPassword"
    Tags:  
    Tags:  
      -  
      -  
          Key: "Name"
        Key: "Name"
          Value: "My SQL Database"
        Value: "My SQL Database"
  DeletionPolicy: "Snapshot"

Revision as of 03:15, 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: db.m1.medium
    Engine: postgres
    EngineVersion: 9.4.20
    MasterUsername: admin
    MasterUserPassword: ...
    DeletionPolicy: Delete
    Tags: 
      - 
         Key: "Name"
         Value: "My SQL Database"