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
(157 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 22: | Line 26: | ||
[[aws rds add-tags-to-resource]] | [[aws rds add-tags-to-resource]] | ||
− | apply-pending-maintenance-action | + | === apply === |
− | authorize-db-security-group-ingress | + | [[apply-pending-maintenance-action]] |
− | backtrack-db-cluster | + | |
− | cancel-export-task | + | === authorize === |
− | copy-db-cluster-parameter-group | + | [[authorize-db-security-group-ingress]] |
− | copy-db-cluster-snapshot | + | |
− | copy-db-parameter-group | + | === backtrack === |
− | [[copy-db-snapshot]] | + | |
− | copy-option-group | + | [[backtrack-db-cluster]] |
− | create-custom-availability-zone | + | |
− | create-custom-db-engine-version | + | === cancel === |
− | create-db-cluster | + | [[cancel-export-task]] |
− | create-db-cluster-endpoint | + | |
− | create-db-cluster-parameter-group | + | === copy === |
− | create-db-cluster-snapshot | + | [[aws rds copy-db-cluster-parameter-group]] |
− | create-db-instance | + | [[aws rds copy-db-cluster-snapshot]] |
− | create-db-instance-read-replica | + | [[aws rds copy-db-parameter-group]] |
− | create-db-parameter-group | + | [[aws rds copy-db-snapshot]] |
− | create-db-proxy | + | [[aws rds copy-option-group]] |
− | create-db-proxy-endpoint | + | |
− | create-db-security-group | + | === create === |
− | [[create-db-snapshot]] | + | [[aws rds create-custom-availability-zone]] |
− | create-db-subnet-group | + | [[aws rds create-custom-db-engine-version]] |
− | create-event-subscription | + | [[aws rds create-db-cluster]] |
− | create-global-cluster | + | [[aws rds create-db-cluster-endpoint]] |
− | create-option-group | + | [[aws rds create-db-cluster-parameter-group]] |
− | delete-custom-availability-zone | + | [[aws rds create-db-cluster-snapshot]] |
− | delete-custom-db-engine-version | + | [[aws rds create-db-instance]] |
− | delete-db-cluster | + | [[aws rds create-db-instance-read-replica]] |
− | delete-db-cluster-endpoint | + | [[aws rds create-db-parameter-group]] |
− | delete-db-cluster-parameter-group | + | [[aws rds create-db-proxy]] |
− | delete-db-cluster-snapshot | + | [[aws rds create-db-proxy-endpoint]] |
− | delete-db-instance | + | [[aws rds create-db-security-group]] |
− | delete-db-instance-automated-backup | + | [[aws rds create-db-snapshot]] |
− | delete-db-parameter-group | + | [[aws rds create-db-subnet-group]] |
− | delete-db-proxy | + | [[aws rds create-event-subscription]] |
− | delete-db-proxy-endpoint | + | [[aws rds create-global-cluster]] |
− | delete-db-security-group | + | [[aws rds create-option-group]] |
− | delete-db-snapshot | + | |
− | delete-db-subnet-group | + | === delete === |
− | delete-event-subscription | + | [[aws rds delete-custom-availability-zone]] |
− | delete-global-cluster | + | [[aws rds delete-custom-db-engine-version]] |
− | delete-installation-media | + | [[aws rds delete-db-cluster]] |
− | delete-option-group | + | [[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 === | |
+ | [[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 133: | 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 145: | 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 169: | Line 212: | ||
wait | wait | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | logs | ||
+ | [[download-db-log-file-portion]] | ||
==Realted terms== | ==Realted terms== | ||
Line 175: | 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: