Difference between revisions of "Aws rds create-db-instance"
Jump to navigation
Jump to search
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[aws rds]] create-db-instance</code> | |
− | + | * https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html | |
+ | [[--db-instance-identifier]] | ||
+ | [[--db-instance-class]] | ||
+ | [[--engine]] | ||
+ | [[--master-username]] | ||
+ | [[--master-user-password]] | ||
− | * <code>aws rds create-db-instance --db-instance-identifier kk --db-instance-class db. | + | |
+ | == Examples == | ||
+ | * <code>aws rds create-db-instance --db-instance-identifier kk --db-instance-class [[db.t3.micro]] [[--engine]] mariadb --master-username master [[--master-user-password]] 12345678</code> | ||
+ | |||
+ | * <code>[[aws rds create-db-instance --db-instance-identifier kk --db-instance-class db.t3.medium --engine aurora-postgresql]] --master-username master --master-user-password 12345678</code> | ||
+ | ::<code>[[db.t3.medium]]</code> is minimum instance supported in with <code>[[aurora-postgresql]]</code> engine. Price calculator: aprox 63 USD https://calculator.aws/#/createCalculator/AuroraPostgreSQL | ||
+ | |||
+ | [[--publicly-accessible]] | --no-publicly-accessible (Related: [[PCI DSS]]) | ||
+ | |||
+ | == Synopsis == | ||
+ | <pre> | ||
+ | create-db-instance | ||
+ | [--db-name <value>] | ||
+ | --db-instance-identifier <value> | ||
+ | [--allocated-storage <value>] | ||
+ | --db-instance-class <value> | ||
+ | --engine <value> | ||
+ | [--master-username <value>] | ||
+ | [--master-user-password <value>] | ||
+ | [--db-security-groups <value>] | ||
+ | [--vpc-security-group-ids <value>] | ||
+ | [--availability-zone <value>] | ||
+ | [--db-subnet-group-name <value>] | ||
+ | [--preferred-maintenance-window <value>] | ||
+ | [--db-parameter-group-name <value>] | ||
+ | [--backup-retention-period <value>] | ||
+ | [--preferred-backup-window <value>] | ||
+ | [--port <value>] | ||
+ | [--multi-az | --no-multi-az] | ||
+ | [--engine-version <value>] | ||
+ | [--auto-minor-version-upgrade | --no-auto-minor-version-upgrade] | ||
+ | [--license-model <value>] | ||
+ | [--iops <value>] | ||
+ | [--option-group-name <value>] | ||
+ | [--character-set-name <value>] | ||
+ | [--nchar-character-set-name <value>] | ||
+ | [--publicly-accessible | --no-publicly-accessible] | ||
+ | [--tags <value>] | ||
+ | [--db-cluster-identifier <value>] | ||
+ | [--storage-type <value>] | ||
+ | [--tde-credential-arn <value>] | ||
+ | [--tde-credential-password <value>] | ||
+ | [--storage-encrypted | --no-storage-encrypted] | ||
+ | [--kms-key-id <value>] | ||
+ | [--domain <value>] | ||
+ | [--copy-tags-to-snapshot | --no-copy-tags-to-snapshot] | ||
+ | [--monitoring-interval <value>] | ||
+ | [--monitoring-role-arn <value>] | ||
+ | [--domain-iam-role-name <value>] | ||
+ | [--promotion-tier <value>] | ||
+ | [--timezone <value>] | ||
+ | [--enable-iam-database-authentication | --no-enable-iam-database-authentication] | ||
+ | [--enable-performance-insights | --no-enable-performance-insights] | ||
+ | [--performance-insights-kms-key-id <value>] | ||
+ | [--performance-insights-retention-period <value>] | ||
+ | [--enable-cloudwatch-logs-exports <value>] | ||
+ | [--processor-features <value>] | ||
+ | [--deletion-protection | --no-deletion-protection] | ||
+ | [--max-allocated-storage <value>] | ||
+ | [--enable-customer-owned-ip | --no-enable-customer-owned-ip] | ||
+ | [--custom-iam-instance-profile <value>] | ||
+ | [--backup-target <value>] | ||
+ | [--network-type <value>] | ||
+ | [--storage-throughput <value>] | ||
+ | [--manage-master-user-password | --no-manage-master-user-password] | ||
+ | [--master-user-secret-kms-key-id <value>] | ||
+ | [--ca-certificate-identifier <value>] | ||
+ | [--cli-input-json | --cli-input-yaml] | ||
+ | [--generate-cli-skeleton <value>] | ||
+ | [--debug] | ||
+ | [--endpoint-url <value>] | ||
+ | [--no-verify-ssl] | ||
+ | [--no-paginate] | ||
+ | [--output <value>] | ||
+ | [--query <value>] | ||
+ | [--profile <value>] | ||
+ | [--region <value>] | ||
+ | [--version <value>] | ||
+ | [--color <value>] | ||
+ | [--no-sign-request] | ||
+ | [--ca-bundle <value>] | ||
+ | [--cli-read-timeout <value>] | ||
+ | [--cli-connect-timeout <value>] | ||
+ | [--cli-binary-format <value>] | ||
+ | [--no-cli-pager] | ||
+ | [--cli-auto-prompt] | ||
+ | [--no-cli-auto-prompt] | ||
+ | </pre> | ||
== Related terms == | == Related terms == | ||
− | |||
* [[CloudFormation]] <code>[[AWS::RDS::DBInstance]]</code> | * [[CloudFormation]] <code>[[AWS::RDS::DBInstance]]</code> | ||
+ | * [[Terraform resource]]: <code>[[Terraform resource: aws_db_instance|aws_db_instance]]</code> | ||
* [[AWS Free Tier]]: <code>[[db.t2.micro]]</code> | * [[AWS Free Tier]]: <code>[[db.t2.micro]]</code> | ||
+ | * <code>[[aws rds create-db-instance-read-replica]]</code> | ||
+ | * <code>[[aws rds delete-db-instance]]</code> | ||
+ | * <code>[[aws rds stop-db-instance]]</code> | ||
+ | * <code>[[--vpc-security-group-ids]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * Best practices for converting a Single-AZ Amazon RDS instance to a Multi-AZ instance: https://aws.amazon.com/blogs/database/best-practices-for-converting-a-single-az-amazon-rds-instance-to-a-multi-az-instance/ | ||
== See also == | == See also == | ||
+ | * {{aws rds create-db-instance}} | ||
* {{aws rds}} | * {{aws rds}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 13:59, 6 January 2023
aws rds create-db-instance
--db-instance-identifier --db-instance-class --engine --master-username --master-user-password
Examples[edit]
aws rds create-db-instance --db-instance-identifier kk --db-instance-class db.t3.micro --engine mariadb --master-username master --master-user-password 12345678
aws rds create-db-instance --db-instance-identifier kk --db-instance-class db.t3.medium --engine aurora-postgresql --master-username master --master-user-password 12345678
db.t3.medium
is minimum instance supported in withaurora-postgresql
engine. Price calculator: aprox 63 USD https://calculator.aws/#/createCalculator/AuroraPostgreSQL
--publicly-accessible | --no-publicly-accessible (Related: PCI DSS)
Synopsis[edit]
create-db-instance [--db-name <value>] --db-instance-identifier <value> [--allocated-storage <value>] --db-instance-class <value> --engine <value> [--master-username <value>] [--master-user-password <value>] [--db-security-groups <value>] [--vpc-security-group-ids <value>] [--availability-zone <value>] [--db-subnet-group-name <value>] [--preferred-maintenance-window <value>] [--db-parameter-group-name <value>] [--backup-retention-period <value>] [--preferred-backup-window <value>] [--port <value>] [--multi-az | --no-multi-az] [--engine-version <value>] [--auto-minor-version-upgrade | --no-auto-minor-version-upgrade] [--license-model <value>] [--iops <value>] [--option-group-name <value>] [--character-set-name <value>] [--nchar-character-set-name <value>] [--publicly-accessible | --no-publicly-accessible] [--tags <value>] [--db-cluster-identifier <value>] [--storage-type <value>] [--tde-credential-arn <value>] [--tde-credential-password <value>] [--storage-encrypted | --no-storage-encrypted] [--kms-key-id <value>] [--domain <value>] [--copy-tags-to-snapshot | --no-copy-tags-to-snapshot] [--monitoring-interval <value>] [--monitoring-role-arn <value>] [--domain-iam-role-name <value>] [--promotion-tier <value>] [--timezone <value>] [--enable-iam-database-authentication | --no-enable-iam-database-authentication] [--enable-performance-insights | --no-enable-performance-insights] [--performance-insights-kms-key-id <value>] [--performance-insights-retention-period <value>] [--enable-cloudwatch-logs-exports <value>] [--processor-features <value>] [--deletion-protection | --no-deletion-protection] [--max-allocated-storage <value>] [--enable-customer-owned-ip | --no-enable-customer-owned-ip] [--custom-iam-instance-profile <value>] [--backup-target <value>] [--network-type <value>] [--storage-throughput <value>] [--manage-master-user-password | --no-manage-master-user-password] [--master-user-secret-kms-key-id <value>] [--ca-certificate-identifier <value>] [--cli-input-json | --cli-input-yaml] [--generate-cli-skeleton <value>] [--debug] [--endpoint-url <value>] [--no-verify-ssl] [--no-paginate] [--output <value>] [--query <value>] [--profile <value>] [--region <value>] [--version <value>] [--color <value>] [--no-sign-request] [--ca-bundle <value>] [--cli-read-timeout <value>] [--cli-connect-timeout <value>] [--cli-binary-format <value>] [--no-cli-pager] [--cli-auto-prompt] [--no-cli-auto-prompt]
Related terms[edit]
- CloudFormation
AWS::RDS::DBInstance
- Terraform resource:
aws_db_instance
- AWS Free Tier:
db.t2.micro
aws rds create-db-instance-read-replica
aws rds delete-db-instance
aws rds stop-db-instance
--vpc-security-group-ids
Activities[edit]
- Best practices for converting a Single-AZ Amazon RDS instance to a Multi-AZ instance: https://aws.amazon.com/blogs/database/best-practices-for-converting-a-single-az-amazon-rds-instance-to-a-multi-az-instance/
See also[edit]
aws rds create-db-instance, --master-username
- AWS RDS:
AWS::RDS
,aws rds
[create-db-instance | create-db-instance-read-replica
|describe-db-instances
|modify-db-instance | modify-db-cluster | create-db-subnet-group
|delete-db-instance
|create-db-snapshot | aws rds create-db-parameter-group
],AllocatedStorage, FreeStorageSpace
Advertising: