Difference between revisions of "Aws rds"
From Wasya Wiki
(→setup) |
(→develop) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
= setup = | = setup = | ||
+ | aws ec2 create-default-vpc --profile rds_driver_1 | ||
aws ec2 create-default-subnet --availability-zone us-east-1a --profile rds_driver_1 | aws ec2 create-default-subnet --availability-zone us-east-1a --profile rds_driver_1 | ||
Line 14: | Line 15: | ||
aws rds describe-db-clusters | aws rds describe-db-clusters | ||
− | + | == Create == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<pre> | <pre> |
Latest revision as of 03:35, 31 March 2024
setup
aws ec2 create-default-vpc --profile rds_driver_1 aws ec2 create-default-subnet --availability-zone us-east-1a --profile rds_driver_1
develop
aws rds describe-db-instances --profile rds_driver_1 aws rds describe-db-snapshots aws rds describe-db-clusters
Create
aws rds create-db-instance --db-instance-identifier $dbname \ --db-instance-class db.t3.micro \ --engine mysql \ --master-username $dbuser \ --master-user-password $dbpasswd \ --allocated-storage 5 \ --profile rds_driver_1