Amazon Relational Database Operations: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
[[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 | ||
[[Amazon_Relational_Database_Concepts#Master_Username|MasterUsername]]: | [[Amazon_Relational_Database_Concepts#Master_Username|MasterUsername]]: bn73hewc | ||
MasterUserPassword: | MasterUserPassword: ce75h9w0 | ||
Tags: | Tags: | ||
- Key: Name | - Key: Name |
Revision as of 04:36, 17 April 2019
Internal
Create a Database Instance with CloudFormation
AWS::RDS::DBInstance
Resources: RelationalDatabase: Type: AWS::RDS::DBInstance DeletionPolicy: Delete Properties: DBName: some-name DBInstanceIdentifier: some-id AllocatedStorage: 8 DBInstanceClass: db.m1 Engine: postgres EngineVersion: 9.4.20 MasterUsername: bn73hewc MasterUserPassword: ce75h9w0 Tags: - Key: Name Value: "My Postgres Database"
Return Values
Ref
Returns instance identifier (DBInstanceIdentifier).
GetAtt
- Endpoint.Address returns the connection endpoint for the database (e.g. mystack-mydb-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com)
- Endpoint.Port