Skip to content

Instantly share code, notes, and snippets.

@anuragmathur1
Last active September 7, 2017 04:16
Show Gist options
  • Save anuragmathur1/708bdbaca2aa4f9685c1451a14321455 to your computer and use it in GitHub Desktop.
Save anuragmathur1/708bdbaca2aa4f9685c1451a14321455 to your computer and use it in GitHub Desktop.
Create RDS instance from cli - Example
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