Created
July 5, 2016 14:47
-
-
Save akira345/117c7a984a45c67501820b0638e1a24a to your computer and use it in GitHub Desktop.
AWS Aurora をCloudFormerで解析
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Resources": { | |
"rdsauroratest": { | |
"Type": "AWS::RDS::DBInstance", | |
"Properties": { | |
"AllocatedStorage": "0", | |
"AllowMajorVersionUpgrade": "false", | |
"AutoMinorVersionUpgrade": "true", | |
"DBInstanceClass": "db.r3.large", | |
"Port": "3306", | |
"StorageType": "aurora", | |
"BackupRetentionPeriod": "0", | |
"MasterUsername": "dbadmin", | |
"MasterUserPassword": "MyPassword", | |
"PreferredBackupWindow": "14:50-15:20", | |
"PreferredMaintenanceWindow": "mon:00:00-mon:00:30", | |
"DBName": "MyDatabase", | |
"Engine": "aurora", | |
"EngineVersion": "5.6.10a", | |
"LicenseModel": "general-public-license", | |
"DBSubnetGroupName": { | |
"Ref": "dbsubnetrdssunet" | |
}, | |
"VPCSecurityGroups": [ | |
{ | |
"Ref": "sgdefault" | |
} | |
], | |
"Tags": [ | |
{ | |
"Key": "workload-type", | |
"Value": "???" | |
} | |
] | |
} | |
}, | |
"rdsauroratestapnortheast1c": { | |
"Type": "AWS::RDS::DBInstance", | |
"Properties": { | |
"AllocatedStorage": "0", | |
"AllowMajorVersionUpgrade": "false", | |
"AutoMinorVersionUpgrade": "true", | |
"DBInstanceClass": "db.r3.large", | |
"Port": "3306", | |
"StorageType": "aurora", | |
"BackupRetentionPeriod": "0", | |
"MasterUsername": "dbadmin", | |
"MasterUserPassword": "MyPassword", | |
"PreferredBackupWindow": "18:00-18:30", | |
"PreferredMaintenanceWindow": "mon:00:00-mon:00:30", | |
"DBName": "MyDatabase", | |
"Engine": "aurora", | |
"EngineVersion": "5.6.10a", | |
"LicenseModel": "general-public-license", | |
"DBSubnetGroupName": { | |
"Ref": "dbsubnetrdssunet" | |
}, | |
"VPCSecurityGroups": [ | |
{ | |
"Ref": "sgdefault" | |
} | |
] | |
} | |
}, | |
"dbsubnetrdssunet": { | |
"Type": "AWS::RDS::DBSubnetGroup", | |
"Properties": { | |
"DBSubnetGroupDescription": "rds-subnet", | |
"SubnetIds": [ | |
{ | |
"Ref": "subnetd9d91980" | |
}, | |
{ | |
"Ref": "subnetc3de70b4" | |
} | |
] | |
} | |
}, | |
"dbsgdefault": { | |
"Type": "AWS::RDS::DBSecurityGroup", | |
"Properties": { | |
"GroupDescription": "default" | |
} | |
}, | |
"Description": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment