Difference between revisions of "Aws rds create-db-instance"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html | * https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html | ||
− | --db-instance-identifier | + | [[--db-instance-identifier]] |
[[--db-instance-class]] | [[--db-instance-class]] | ||
− | --engine | + | [[--engine]] |
[[--master-username]] | [[--master-username]] | ||
[[--master-user-password]] | [[--master-user-password]] | ||
Line 17: | Line 17: | ||
[[--publicly-accessible]] | --no-publicly-accessible (Related: [[PCI DSS]]) | [[--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 == | ||
Line 24: | Line 105: | ||
* <code>[[aws rds create-db-instance-read-replica]]</code> | * <code>[[aws rds create-db-instance-read-replica]]</code> | ||
* <code>[[aws rds delete-db-instance]]</code> | * <code>[[aws rds delete-db-instance]]</code> | ||
+ | * <code>[[aws rds stop-db-instance]]</code> | ||
* <code>[[--vpc-security-group-ids]]</code> | * <code>[[--vpc-security-group-ids]]</code> | ||
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: