Last active
September 7, 2017 04:16
-
-
Save anuragmathur1/708bdbaca2aa4f9685c1451a14321455 to your computer and use it in GitHub Desktop.
Create RDS instance from cli - Example
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
aws rds create-db-instance \ | |
--db-name newdb \ | |
--db-instance-identifier my-instance \ | |
--db-instance-class db.t2.micro \ | |
--engine MySQL \ | |
--engine-version 5.6.35 \ | |
--master-username dbuser \ | |
--master-user-password dbpwd \ | |
--vpc-security-group-ids sg-xxxxxxxx \ | |
--db-subnet-group-name db-subnet-group \ | |
--no-multi-az \ | |
--no-auto-minor-version-upgrade \ | |
--no-publicly-accessible \ | |
--storage-type gp2 \ | |
--no-enable-iam-database-authentication \ | |
--license-model general-public-license \ | |
--allocated-storage 20 \ | |
--tags Key=Name,Value=my-instance-name \ | |
--profile=work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment