Difference between revisions of "Aws rds"

From Wasya Wiki
Jump to: navigation, search
Line 26: Line 26:
 
   --master-user-password $dbpasswd \
 
   --master-user-password $dbpasswd \
 
   --allocated-storage 5 \
 
   --allocated-storage 5 \
  --network-configuration "awsvpcConfiguration={subnets=[subnet-002cfddc88821739a],securityGroups=[sg-0cab3a81fc072e563],assignPublicIp=ENABLED}" \
 
 
   --profile rds_driver_1
 
   --profile rds_driver_1
 
</pre>
 
</pre>

Revision as of 23:15, 28 March 2024

 aws rds describe-db-instances --profile rds_driver_1
 aws rds describe-db-snapshots
 aws rds describe-db-clusters
aws rds create-db-instance \
    --engine sqlserver-se \
    --db-instance-identifier mymsftsqlserver \
    --allocated-storage 250 \
    --db-instance-class db.t3.large \
    --vpc-security-group-ids mysecuritygroup \
    --db-subnet-group mydbsubnetgroup \
    --master-username masterawsuser \
    --manage-master-user-password \
    --backup-retention-period 3
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