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
(162 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]] |
− | + | ||
− | + | === authorize === | |
− | + | [[authorize-db-security-group-ingress]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === backtrack === | |
+ | [[backtrack-db-cluster]] | ||
+ | |||
+ | === cancel === | ||
+ | [[cancel-export-task]] | ||
+ | |||
+ | === copy === | ||
+ | [[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 === | ||
+ | [[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 === | ||
+ | [[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 === | ||
+ | [[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-db-log-file-portion | + | |
− | failover-db-cluster | + | === download === |
− | failover-global-cluster | + | download-db-log-file-portion |
− | generate-db-auth-token | + | |
− | import-installation-media | + | === failover === |
− | list-tags-for-resource | + | failover-db-cluster |
− | modify-certificates | + | failover-global-cluster |
− | modify-current-db-cluster-capacity | + | |
− | modify-custom-db-engine-version | + | === generate === |
− | modify-db-cluster | + | generate-db-auth-token |
− | modify-db-cluster-endpoint | + | |
− | modify-db-cluster-parameter-group | + | === import === |
− | modify-db-cluster-snapshot-attribute | + | import-installation-media |
− | modify-db-instance | + | |
− | modify-db-parameter-group | + | === list === |
− | modify-db-proxy | + | list-tags-for-resource |
− | modify-db-proxy-endpoint | + | |
− | modify-db-proxy-target-group | + | === modify === |
− | modify-db-snapshot | + | modify-certificates |
− | modify-db-snapshot-attribute | + | modify-current-db-cluster-capacity |
− | modify-db-subnet-group | + | modify-custom-db-engine-version |
− | modify-event-subscription | + | modify-db-cluster |
− | modify-global-cluster | + | modify-db-cluster-endpoint |
− | promote-read-replica | + | modify-db-cluster-parameter-group |
− | promote-read-replica-db-cluster | + | modify-db-cluster-snapshot-attribute |
− | purchase-reserved-db-instances-offering | + | modify-db-instance |
− | reboot-db-cluster | + | modify-db-parameter-group |
− | reboot-db-instance | + | modify-db-proxy |
− | register-db-proxy-targets | + | modify-db-proxy-endpoint |
− | remove-from-global-cluster | + | modify-db-proxy-target-group |
− | remove-option-from-option-group | + | modify-db-snapshot |
− | remove-role-from-db-cluster | + | modify-db-snapshot-attribute |
− | remove-role-from-db-instance | + | modify-db-subnet-group |
− | remove-source-identifier-from-subscription | + | modify-event-subscription |
− | remove-tags-from-resource | + | modify-global-cluster |
− | reset-db-cluster-parameter-group | + | |
− | reset-db-parameter-group | + | === promote === |
− | + | [[promote-read-replica]] | |
+ | [[promote-read-replica-db-cluster]] | ||
+ | |||
+ | === purchase === | ||
+ | purchase-reserved-db-instances-offering | ||
+ | |||
+ | === reboot === | ||
+ | reboot-db-cluster | ||
+ | reboot-db-instance | ||
+ | |||
+ | === register === | ||
+ | register-db-proxy-targets | ||
+ | |||
+ | === remove === | ||
+ | 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 === | ||
+ | reset-db-cluster-parameter-group | ||
+ | reset-db-parameter-group | ||
+ | |||
<code>[[aws rds restore-db-cluster-from-s3]]</code> | <code>[[aws rds restore-db-cluster-from-s3]]</code> | ||
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: