-
-
Save williams9438/8ca5124dc9927d954b1adbdd981a7e42 to your computer and use it in GitHub Desktop.
A shell script to create a postgres database on AWS RDS
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
#!/bin/sh | |
aws rds create-db-instance \ | |
--db-instance-identifier HomeAutomationDB \ | |
--db-instance-class db.t2.micro \ | |
--region eu-west-3 \ | |
--engine postgres \ | |
--allocated-storage 5 \ | |
--no-publicly-accessible \ | |
--db-name homeautomation \ | |
--master-username dbmaster \ | |
--master-user-password DB_PASSWORD \ | |
--backup-retention-period 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment