Difference between revisions of "Aws rds"
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/cli/latest/reference/rds/delete-db-instance.html
(→cancel) |
|||
(147 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | https:// | + | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/index.html |
− | + | __NOTOC__ | |
* <code>[[aws rds create-db-instance]]</code> | * <code>[[aws rds create-db-instance]]</code> | ||
* <code>[[aws rds describe-db-instances]]</code> | * <code>[[aws rds describe-db-instances]]</code> | ||
Line 10: | Line 10: | ||
* <code>[[aws rds stop-db-instance --db-instance-identifier]] YOUR_DB_IDENTIFIER </code> | * <code>[[aws rds stop-db-instance --db-instance-identifier]] YOUR_DB_IDENTIFIER </code> | ||
− | * <code>[[aws rds describe-db-engine-versions]]</code> | + | * <code>[[aws rds describe-db-engine-versions --output text]]</code> |
* <code>[[aws rds restore-db-instance-to-point-in-time]]</code> | * <code>[[aws rds restore-db-instance-to-point-in-time]]</code> | ||
+ | * <code>[[aws rds describe-db-log-files]]</code> | ||
+ | |||
+ | === [[AWS RDS Snapshots|Snapshots]] === | ||
+ | {{aws rds snapshot TOC}} | ||
== All commands == | == All commands == | ||
Line 29: | Line 33: | ||
=== backtrack === | === backtrack === | ||
− | backtrack-db-cluster | + | |
+ | [[backtrack-db-cluster]] | ||
=== cancel === | === cancel === | ||
− | cancel-export-task | + | [[cancel-export-task]] |
=== copy === | === copy === | ||
− | copy-db-cluster-parameter-group | + | [[aws rds copy-db-cluster-parameter-group]] |
− | copy-db-cluster-snapshot | + | [[aws rds copy-db-cluster-snapshot]] |
− | copy-db-parameter-group | + | [[aws rds copy-db-parameter-group]] |
− | [[copy-db-snapshot]] | + | [[aws rds copy-db-snapshot]] |
− | copy-option-group | + | [[aws rds copy-option-group]] |
− | create-custom-availability-zone | + | |
− | create-custom-db-engine-version | + | === create === |
− | create-db-cluster | + | [[aws rds create-custom-availability-zone]] |
− | create-db-cluster-endpoint | + | [[aws rds create-custom-db-engine-version]] |
− | create-db-cluster-parameter-group | + | [[aws rds create-db-cluster]] |
− | create-db-cluster-snapshot | + | [[aws rds create-db-cluster-endpoint]] |
− | create-db-instance | + | [[aws rds create-db-cluster-parameter-group]] |
− | create-db-instance-read-replica | + | [[aws rds create-db-cluster-snapshot]] |
− | create-db-parameter-group | + | [[aws rds create-db-instance]] |
− | create-db-proxy | + | [[aws rds create-db-instance-read-replica]] |
− | create-db-proxy-endpoint | + | [[aws rds create-db-parameter-group]] |
− | create-db-security-group | + | [[aws rds create-db-proxy]] |
− | [[create-db-snapshot]] | + | [[aws rds create-db-proxy-endpoint]] |
− | create-db-subnet-group | + | [[aws rds create-db-security-group]] |
− | create-event-subscription | + | [[aws rds create-db-snapshot]] |
− | create-global-cluster | + | [[aws rds create-db-subnet-group]] |
− | create-option-group | + | [[aws rds create-event-subscription]] |
− | delete-custom-availability-zone | + | [[aws rds create-global-cluster]] |
− | delete-custom-db-engine-version | + | [[aws rds create-option-group]] |
− | delete-db-cluster | + | |
− | delete-db-cluster-endpoint | + | === delete === |
− | delete-db-cluster-parameter-group | + | [[aws rds delete-custom-availability-zone]] |
− | delete-db-cluster-snapshot | + | [[aws rds delete-custom-db-engine-version]] |
− | delete-db-instance | + | [[aws rds delete-db-cluster]] |
− | delete-db-instance-automated-backup | + | [[aws rds delete-db-cluster-endpoint]] |
− | delete-db-parameter-group | + | [[aws rds delete-db-cluster-parameter-group]] |
− | delete-db-proxy | + | [[aws rds delete-db-cluster-snapshot]] |
− | delete-db-proxy-endpoint | + | [[aws rds delete-db-instance]] |
− | delete-db-security-group | + | [[aws rds delete-db-instance-automated-backup]] |
− | delete-db-snapshot | + | [[aws rds delete-db-parameter-group]] |
− | delete-db-subnet-group | + | [[aws rds delete-db-proxy]] |
− | delete-event-subscription | + | [[aws rds delete-db-proxy-endpoint]] |
− | delete-global-cluster | + | [[aws rds delete-db-security-group]] |
− | delete-installation-media | + | [[aws rds delete-db-snapshot]] |
− | delete-option-group | + | [[aws rds delete-db-subnet-group]] |
− | + | [[aws rds delete-event-subscription]] | |
− | + | [[aws rds delete-global-cluster]] | |
− | + | [[aws rds delete-installation-media]] | |
− | + | [[aws rds delete-option-group]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === deregister === | |
+ | [[aws rds deregister-db-proxy-targets]] | ||
+ | === describe === | ||
+ | [[describe-account-attributes]] | ||
+ | [[describe-certificates]] | ||
+ | [[describe-custom-availability-zones]] | ||
+ | [[describe-db-cluster-backtracks]] | ||
+ | [[describe-db-cluster-endpoints]] | ||
+ | [[describe-db-cluster-parameter-groups]] | ||
+ | [[describe-db-cluster-parameters]] | ||
+ | [[describe-db-cluster-snapshot-attributes]] | ||
+ | [[describe-db-cluster-snapshots]] | ||
+ | [[describe-db-clusters]] | ||
+ | [[describe-db-engine-versions]] | ||
+ | [[describe-db-instance-automated-backups]] | ||
+ | [[describe-db-instances]] | ||
+ | [[describe-db-log-files]] | ||
+ | [[describe-db-parameter-groups]] | ||
+ | [[describe-db-parameters]] | ||
[[aws rds describe-db-proxies]] | [[aws rds describe-db-proxies]] | ||
− | describe-db-proxy-endpoints | + | [[describe-db-proxy-endpoints]] |
− | describe-db-proxy-target-groups | + | [[describe-db-proxy-target-groups]] |
− | describe-db-proxy-targets | + | [[describe-db-proxy-targets]] |
− | describe-db-security-groups | + | [[describe-db-security-groups]] |
− | describe-db-snapshot-attributes | + | [[describe-db-snapshot-attributes]] |
− | describe-db-snapshots | + | [[describe-db-snapshots]] |
− | describe-db-subnet-groups | + | [[describe-db-subnet-groups]] |
− | describe-engine-default-cluster-parameters | + | [[describe-engine-default-cluster-parameters]] |
− | describe-engine-default-parameters | + | [[describe-engine-default-parameters]] |
− | describe-event-categories | + | [[describe-event-categories]] |
− | describe-event-subscriptions | + | [[describe-event-subscriptions]] |
− | describe-events | + | [[describe-events]] |
− | describe-export-tasks | + | [[describe-export-tasks]] |
− | describe-global-clusters | + | [[describe-global-clusters]] |
− | describe-installation-media | + | [[describe-installation-media]] |
− | describe-option-group-options | + | [[describe-option-group-options]] |
− | describe-option-groups | + | [[describe-option-groups]] |
− | describe-orderable-db-instance-options | + | [[describe-orderable-db-instance-options]] |
− | describe-pending-maintenance-actions | + | [[describe-pending-maintenance-actions]] |
− | describe-reserved-db-instances | + | [[describe-reserved-db-instances]] |
− | describe-reserved-db-instances-offerings | + | [[describe-reserved-db-instances-offerings]] |
− | describe-source-regions | + | [[describe-source-regions]] |
− | describe-valid-db-instance-modifications | + | [[describe-valid-db-instance-modifications]] |
+ | |||
+ | === download === | ||
download-db-log-file-portion | download-db-log-file-portion | ||
+ | |||
+ | === failover === | ||
failover-db-cluster | failover-db-cluster | ||
failover-global-cluster | failover-global-cluster | ||
+ | |||
+ | === generate === | ||
generate-db-auth-token | generate-db-auth-token | ||
+ | |||
+ | === import === | ||
import-installation-media | import-installation-media | ||
+ | |||
+ | === list === | ||
list-tags-for-resource | list-tags-for-resource | ||
+ | |||
+ | === modify === | ||
modify-certificates | modify-certificates | ||
modify-current-db-cluster-capacity | modify-current-db-cluster-capacity | ||
Line 142: | Line 164: | ||
modify-event-subscription | modify-event-subscription | ||
modify-global-cluster | modify-global-cluster | ||
− | promote-read-replica | + | |
− | promote-read-replica-db-cluster | + | === promote === |
+ | [[promote-read-replica]] | ||
+ | [[promote-read-replica-db-cluster]] | ||
+ | |||
+ | === purchase === | ||
purchase-reserved-db-instances-offering | purchase-reserved-db-instances-offering | ||
+ | |||
+ | === reboot === | ||
reboot-db-cluster | reboot-db-cluster | ||
reboot-db-instance | reboot-db-instance | ||
+ | |||
+ | === register === | ||
register-db-proxy-targets | register-db-proxy-targets | ||
+ | |||
+ | === remove === | ||
remove-from-global-cluster | remove-from-global-cluster | ||
remove-option-from-option-group | remove-option-from-option-group | ||
Line 154: | Line 186: | ||
remove-source-identifier-from-subscription | remove-source-identifier-from-subscription | ||
remove-tags-from-resource | remove-tags-from-resource | ||
+ | |||
+ | === reset === | ||
reset-db-cluster-parameter-group | reset-db-cluster-parameter-group | ||
reset-db-parameter-group | reset-db-parameter-group | ||
Line 178: | Line 212: | ||
wait | wait | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | logs | ||
+ | [[download-db-log-file-portion]] | ||
==Realted terms== | ==Realted terms== | ||
Line 184: | Line 222: | ||
* [[Terraform resource: aws rds cluster instance]] | * [[Terraform resource: aws rds cluster instance]] | ||
* <code>[[aws list all]]</code> | * <code>[[aws list all]]</code> | ||
+ | * <code>[[aws rds generate-db-auth-token]]</code> | ||
+ | * <code>[[aws ec2 create-vpc]]</code> | ||
== See also == | == See also == | ||
+ | * {{aws rds replica}} | ||
* {{aws rds}} | * {{aws rds}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 10:21, 21 November 2023
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/index.html
aws rds create-db-instance
aws rds describe-db-instances
aws rds modify-db-instance
aws rds delete-db-instance
[1]
aws rds start-db-instance --db-instance-identifier
aws rds stop-db-instance --db-instance-identifier YOUR_DB_IDENTIFIER
Snapshots[edit]
aws rds create-db-snapshot
aws rds create-db-cluster-snapshot
aws rds copy-db-cluster-snapshot
aws rds copy-db-snapshot
aws rds describe-db-cluster-snapshots
aws rds restore-db-instance-from-db-snapshot
aws rds restore-db-cluster-from-snapshot
aws rds delete-db-snapshot
All commands[edit]
aws rds add-option-to-option-group aws rds add-role-to-db-cluster aws rds add-role-to-db-instance aws rds add-source-identifier-to-subscription aws rds add-tags-to-resource
apply[edit]
apply-pending-maintenance-action
authorize[edit]
authorize-db-security-group-ingress
backtrack[edit]
backtrack-db-cluster
cancel[edit]
cancel-export-task
copy[edit]
aws rds copy-db-cluster-parameter-group aws rds copy-db-cluster-snapshot aws rds copy-db-parameter-group aws rds copy-db-snapshot aws rds copy-option-group
create[edit]
aws rds create-custom-availability-zone aws rds create-custom-db-engine-version aws rds create-db-cluster aws rds create-db-cluster-endpoint aws rds create-db-cluster-parameter-group aws rds create-db-cluster-snapshot aws rds create-db-instance aws rds create-db-instance-read-replica aws rds create-db-parameter-group aws rds create-db-proxy aws rds create-db-proxy-endpoint aws rds create-db-security-group aws rds create-db-snapshot aws rds create-db-subnet-group aws rds create-event-subscription aws rds create-global-cluster aws rds create-option-group
delete[edit]
aws rds delete-custom-availability-zone aws rds delete-custom-db-engine-version aws rds delete-db-cluster aws rds delete-db-cluster-endpoint aws rds delete-db-cluster-parameter-group aws rds delete-db-cluster-snapshot aws rds delete-db-instance aws rds delete-db-instance-automated-backup aws rds delete-db-parameter-group aws rds delete-db-proxy aws rds delete-db-proxy-endpoint aws rds delete-db-security-group aws rds delete-db-snapshot aws rds delete-db-subnet-group aws rds delete-event-subscription aws rds delete-global-cluster aws rds delete-installation-media aws rds delete-option-group
deregister[edit]
aws rds deregister-db-proxy-targets
describe[edit]
describe-account-attributes describe-certificates describe-custom-availability-zones describe-db-cluster-backtracks describe-db-cluster-endpoints describe-db-cluster-parameter-groups describe-db-cluster-parameters describe-db-cluster-snapshot-attributes describe-db-cluster-snapshots describe-db-clusters describe-db-engine-versions describe-db-instance-automated-backups describe-db-instances describe-db-log-files describe-db-parameter-groups describe-db-parameters aws rds describe-db-proxies describe-db-proxy-endpoints describe-db-proxy-target-groups describe-db-proxy-targets describe-db-security-groups describe-db-snapshot-attributes describe-db-snapshots describe-db-subnet-groups describe-engine-default-cluster-parameters describe-engine-default-parameters describe-event-categories describe-event-subscriptions describe-events describe-export-tasks describe-global-clusters describe-installation-media describe-option-group-options describe-option-groups describe-orderable-db-instance-options describe-pending-maintenance-actions describe-reserved-db-instances describe-reserved-db-instances-offerings describe-source-regions describe-valid-db-instance-modifications
download[edit]
download-db-log-file-portion
failover[edit]
failover-db-cluster failover-global-cluster
generate[edit]
generate-db-auth-token
import[edit]
import-installation-media
list[edit]
list-tags-for-resource
modify[edit]
modify-certificates modify-current-db-cluster-capacity modify-custom-db-engine-version modify-db-cluster modify-db-cluster-endpoint modify-db-cluster-parameter-group modify-db-cluster-snapshot-attribute modify-db-instance modify-db-parameter-group modify-db-proxy modify-db-proxy-endpoint modify-db-proxy-target-group modify-db-snapshot modify-db-snapshot-attribute modify-db-subnet-group modify-event-subscription modify-global-cluster
promote[edit]
promote-read-replica promote-read-replica-db-cluster
purchase[edit]
purchase-reserved-db-instances-offering
reboot[edit]
reboot-db-cluster reboot-db-instance
register[edit]
register-db-proxy-targets
remove[edit]
remove-from-global-cluster remove-option-from-option-group remove-role-from-db-cluster remove-role-from-db-instance remove-source-identifier-from-subscription remove-tags-from-resource
reset[edit]
reset-db-cluster-parameter-group reset-db-parameter-group
aws rds restore-db-cluster-from-s3
aws rds restore-db-cluster-from-snapshot
aws rds restore-db-cluster-to-point-in-time
aws rds restore-db-instance-from-db-snapshot
aws rds restore-db-instance-from-s3
aws rds restore-db-instance-to-point-in-time
revoke-db-security-group-ingress start-activity-stream start-db-cluster start-db-instance start-db-instance-automated-backups-replication start-export-task stop-activity-stream stop-db-cluster stop-db-instance stop-db-instance-automated-backups-replication wait
logs
download-db-log-file-portion
Realted terms[edit]
- Amazon Relational Database Services (RDS)
- Terraform resource: aws rds cluster
- Terraform resource: aws rds cluster instance
aws list all
aws rds generate-db-auth-token
aws ec2 create-vpc
See also[edit]
- Amazon RDS Read Replicas,
aws rds [ create-db-instance-read-replica | promote-read-replica | promote-read-replica-db-cluster ]
- 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: