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

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[aws rds create-db-instance]]</code>
 
* <code>[[aws rds create-db-instance]]</code>
 
* <code>[[aws cloudformation create-stack]] </code>
 
* <code>[[aws cloudformation create-stack]] </code>
 +
 +
* https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/RDS_Snapshot_On_Delete.template
  
 
== Snippets ==
 
== Snippets ==

Revision as of 09:10, 18 August 2021

Snippets

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

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

Related terms

See also

Advertising: