Editing AWS::RDS::DBInstance

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<code>[[AWS::RDS]]::DBInstance</code>
 
 
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html
 
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html
* Template [[Cloudformation snippets|snippets]]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-rds.html
+
* Template [[snippets]]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-rds.html
 +
 
 +
 
 +
 
  
 
* [[AWS CloudFormation templates]]: https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/RDS_Snapshot_On_Delete.template
 
* [[AWS CloudFormation templates]]: https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/RDS_Snapshot_On_Delete.template
Line 9: Line 11:
  
 
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: [[postgres]]
 
    MasterUsername: MyName
 
    MasterUserPassword: MyPassword
 
  [[DeletionPolicy]]: Delete
 
 
Complete example: [[RDS_template.cf]]
 
 
* Engines: MySQL, postgres, ... https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
 
 
 
  
 
  MyDB:
 
  MyDB:
Line 30: Line 16:
 
   Properties:
 
   Properties:
 
     [[DBSecurityGroups]]:
 
     [[DBSecurityGroups]]:
     - [[Ref:]] MyDbSecurityByEC2SecurityGroup
+
     - Ref: MyDbSecurityByEC2SecurityGroup
 
     - Ref: MyDbSecurityByCIDRIPGroup
 
     - Ref: MyDbSecurityByCIDRIPGroup
 
     AllocatedStorage: '5'
 
     AllocatedStorage: '5'
Line 37: Line 23:
 
     MasterUsername: MyName
 
     MasterUsername: MyName
 
     MasterUserPassword: MyPassword
 
     MasterUserPassword: MyPassword
   [[DeletionPolicy]]: Delete
+
   [[DeletionPolicy]]: Snapshot
 
 
 
 
 
 
Delete | Snapshot | Retain
 
 
 
== Complete example ==
 
<pre>
 
Type: AWS::RDS::DBInstance
 
Properties:
 
  AllocatedStorage: String
 
  AllowMajorVersionUpgrade: Boolean
 
  AssociatedRoles:
 
    - DBInstanceRole
 
  AutoMinorVersionUpgrade: Boolean
 
  AvailabilityZone: String
 
  BackupRetentionPeriod: Integer
 
  CACertificateIdentifier: String
 
  CharacterSetName: String
 
  CopyTagsToSnapshot: Boolean
 
  DBClusterIdentifier: String
 
  DBInstanceClass: String
 
  DBInstanceIdentifier: String
 
  DBName: String
 
  DBParameterGroupName: String
 
  DBSecurityGroups:
 
    - String
 
  DBSnapshotIdentifier: String
 
  DBSubnetGroupName: String
 
  DeleteAutomatedBackups: Boolean
 
  DeletionProtection: Boolean
 
  Domain: String
 
  DomainIAMRoleName: String
 
  EnableCloudwatchLogsExports:
 
    - String
 
  EnableIAMDatabaseAuthentication: Boolean
 
  EnablePerformanceInsights: Boolean
 
  Engine: String
 
  EngineVersion: String
 
  Iops: Integer
 
  KmsKeyId: String
 
  LicenseModel: String
 
  MasterUsername: String
 
  MasterUserPassword: String
 
  MaxAllocatedStorage: Integer
 
  MonitoringInterval: Integer
 
  MonitoringRoleArn: String
 
  MultiAZ: Boolean
 
  OptionGroupName: String
 
  PerformanceInsightsKMSKeyId: String
 
  PerformanceInsightsRetentionPeriod: Integer
 
  Port: String
 
  PreferredBackupWindow: String
 
  PreferredMaintenanceWindow: String
 
  ProcessorFeatures:
 
    - ProcessorFeature
 
  PromotionTier: Integer
 
  PubliclyAccessible: Boolean
 
  SourceDBInstanceIdentifier: String
 
  SourceRegion: String
 
  StorageEncrypted: Boolean
 
  StorageType: String
 
  Tags:
 
    - Tag
 
  Timezone: String
 
  UseDefaultProcessorFeatures: Boolean
 
  VPCSecurityGroups:
 
    - String
 
</pre>
 
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[aws cloudformation create-stack]] </code>
 
* <code>[[aws cloudformation create-stack]] </code>
* [[AWS CloudFormation functions]]: <code>[[Fn::GetAtt]]</code>
+
* <code>[[Fn::GetAtt]]</code>
 +
* [[AWS Free Tier]]
 
* <code>[[aws rds create-db-instance]]</code>
 
* <code>[[aws rds create-db-instance]]</code>
* <code>[[SourceDBInstanceIdentifier]]</code> for [[replicas]]
 
  
 
== See also ==
 
== See also ==
* {{AWS::RDS}}
 
 
* {{aws rds}}
 
* {{aws rds}}
 
* {{RDS}}
 
* {{RDS}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: