Difference between revisions of "AWS::RDS::DBInstance"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
PostgreSQL [[AWS Free Tier]]: <code>[[db.t2.micro]]</code> and 20 GB of database storage and backup.
 
PostgreSQL [[AWS Free Tier]]: <code>[[db.t2.micro]]</code> and 20 GB of database storage and backup.
 +
 +
MyDB:
 +
  Type: [[AWS::RDS]]::DBInstance
 +
  Properties:
 +
    AllocatedStorage: '5'
 +
    DBInstanceClass: [[db.t2.micro]]
 +
    Engine: [[PostgreSQL]]
 +
    MasterUsername: MyName
 +
    MasterUserPassword: MyPassword
 +
  [[DeletionPolicy]]: Delete
  
 
  MyDB:
 
  MyDB:

Revision as of 10:30, 29 September 2021

Snippets

PostgreSQL AWS Free Tier: db.t2.micro and 20 GB of database storage and backup.

MyDB:
  Type: AWS::RDS::DBInstance
  Properties:
    AllocatedStorage: '5'
    DBInstanceClass: db.t2.micro
    Engine: PostgreSQL
    MasterUsername: MyName
    MasterUserPassword: MyPassword
  DeletionPolicy: Delete 
MyDB:
  Type: AWS::RDS::DBInstance
  Properties:
    DBSecurityGroups:
    - Ref: MyDbSecurityByEC2SecurityGroup
    - Ref: MyDbSecurityByCIDRIPGroup
    AllocatedStorage: '5'
    DBInstanceClass: db.t2.micro
    Engine: PostgreSQL
    MasterUsername: MyName
    MasterUserPassword: MyPassword
  DeletionPolicy: Delete 


Delete | Snapshot | Retain

Related terms

See also

Advertising: