Advertisement
ExaGridDba

create aws rds instance from command line

Apr 19th, 2019
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. Create rds instance
  2. - allowable combinations
  3. - minimum password length
  4. - minimum storage
  5.  
  6.  
  7. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.m1.small --engine mysql --master-username mas --master-user-password maspw
  8.  
  9. An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.m1.small, Engine=mysql, EngineVersion=5.6.40, LicenseModel=general-public-license. For supported combinations of instance class and database engine version, see the documentation.
  10.  
  11. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.m1.small --engine postgres --master-username mas --master-user-password maspw
  12.  
  13. An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.m1.small, Engine=postgres, EngineVersion=10.6, LicenseModel=postgresql-license. For supported combinations of instance class and database engine version, see the documentation.
  14.  
  15. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.t2.micro --engine mysql --master-username mas --master-user-password maspw
  16.  
  17. An error occurred (InvalidParameterValue) when calling the CreateDBInstance operation: The parameter MasterUserPassword is not a valid password because it is shorter than 8 characters.
  18.  
  19. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.t2.micro --engine mysql --master-username mas --master-user-password maspw555
  20.  
  21. An error occurred (InvalidParameterValue) when calling the CreateDBInstance operation: The parameter AllocatedStorage must be provided and must not be null.
  22.  
  23. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.t2.micro --engine mysql --master-username mas --master-user-password maspw555 --allocated-storage 1
  24.  
  25. An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation: Invalid storage size for engine name mysql and storage type gp2: 1
  26.  
  27. C:\>aws rds create-db-instance --db-instance-identifier briandb --db-instance-class db.t2.micro --engine mysql --master-username mas --master-user-password maspw555 --allocated-storage 8
  28. DBINSTANCE 8 True 1 rds-ca-2015 False arn:aws:rds:us-east-1:549357536367:db:briandb db.t2.micro briandb creating 0 db-JDGWIQQKEQTNCD35JPZR5GIBTE False mysql 5.6.40 False general-public-license mas 0 False False 07:09-07:39 mon:09:25-mon:09:55 True False gp2
  29. DBPARAMETERGROUPS default.mysql5.6 in-sync
  30. DBSUBNETGROUP default default Complete vpc-0d398177
  31. SUBNETS subnet-8c036bd0 Active
  32. SUBNETAVAILABILITYZONE us-east-1a
  33. SUBNETS subnet-364a757c Active
  34. SUBNETAVAILABILITYZONE us-east-1d
  35. SUBNETS subnet-af9a2991 Active
  36. SUBNETAVAILABILITYZONE us-east-1e
  37. SUBNETS subnet-0f476600 Active
  38. SUBNETAVAILABILITYZONE us-east-1f
  39. SUBNETS subnet-b7214ed0 Active
  40. SUBNETAVAILABILITYZONE us-east-1b
  41. SUBNETS subnet-aa197384 Active
  42. SUBNETAVAILABILITYZONE us-east-1c
  43. OPTIONGROUPMEMBERSHIPS default:mysql-5-6 in-sync
  44. PENDINGMODIFIEDVALUES ****
  45. VPCSECURITYGROUPS active sg-04ed8240
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement