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
(165 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 21: | Line 25: | ||
[[aws rds add-source-identifier-to-subscription]] | [[aws rds add-source-identifier-to-subscription]] | ||
[[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]] |
− | deregister-db-proxy-targets | + | [[aws rds delete-db-cluster-parameter-group]] |
− | describe-account-attributes | + | [[aws rds delete-db-cluster-snapshot]] |
− | describe-certificates | + | [[aws rds delete-db-instance]] |
− | describe-custom-availability-zones | + | [[aws rds delete-db-instance-automated-backup]] |
− | describe-db-cluster-backtracks | + | [[aws rds delete-db-parameter-group]] |
− | describe-db-cluster-endpoints | + | [[aws rds delete-db-proxy]] |
− | describe-db-cluster-parameter-groups | + | [[aws rds delete-db-proxy-endpoint]] |
− | describe-db-cluster-parameters | + | [[aws rds delete-db-security-group]] |
− | describe-db-cluster-snapshot-attributes | + | [[aws rds delete-db-snapshot]] |
− | describe-db-cluster-snapshots | + | [[aws rds delete-db-subnet-group]] |
− | describe-db-clusters | + | [[aws rds delete-event-subscription]] |
− | describe-db-engine-versions | + | [[aws rds delete-global-cluster]] |
− | describe-db-instance-automated-backups | + | [[aws rds delete-installation-media]] |
− | describe-db-instances | + | [[aws rds delete-option-group]] |
− | describe-db-log-files | + | |
− | describe-db-parameter-groups | + | === deregister === |
− | describe-db-parameters | + | [[aws rds deregister-db-proxy-targets]] |
− | describe-db-proxies | + | |
− | describe-db-proxy-endpoints | + | === describe === |
− | describe-db-proxy-target-groups | + | [[describe-account-attributes]] |
− | describe-db-proxy-targets | + | [[describe-certificates]] |
− | describe-db-security-groups | + | [[describe-custom-availability-zones]] |
− | describe-db-snapshot-attributes | + | [[describe-db-cluster-backtracks]] |
− | describe-db-snapshots | + | [[describe-db-cluster-endpoints]] |
− | describe-db-subnet-groups | + | [[describe-db-cluster-parameter-groups]] |
− | describe-engine-default-cluster-parameters | + | [[describe-db-cluster-parameters]] |
− | describe-engine-default-parameters | + | [[describe-db-cluster-snapshot-attributes]] |
− | describe-event-categories | + | [[describe-db-cluster-snapshots]] |
− | describe-event-subscriptions | + | [[describe-db-clusters]] |
− | describe-events | + | [[describe-db-engine-versions]] |
− | describe-export-tasks | + | [[describe-db-instance-automated-backups]] |
− | describe-global-clusters | + | [[describe-db-instances]] |
− | describe-installation-media | + | [[describe-db-log-files]] |
− | describe-option-group-options | + | [[describe-db-parameter-groups]] |
− | describe-option-groups | + | [[describe-db-parameters]] |
− | describe-orderable-db-instance-options | + | [[aws rds describe-db-proxies]] |
− | describe-pending-maintenance-actions | + | [[describe-db-proxy-endpoints]] |
− | describe-reserved-db-instances | + | [[describe-db-proxy-target-groups]] |
− | describe-reserved-db-instances-offerings | + | [[describe-db-proxy-targets]] |
− | describe-source-regions | + | [[describe-db-security-groups]] |
− | describe-valid-db-instance-modifications | + | [[describe-db-snapshot-attributes]] |
− | download-db-log-file-portion | + | [[describe-db-snapshots]] |
− | failover-db-cluster | + | [[describe-db-subnet-groups]] |
− | failover-global-cluster | + | [[describe-engine-default-cluster-parameters]] |
− | generate-db-auth-token | + | [[describe-engine-default-parameters]] |
− | import-installation-media | + | [[describe-event-categories]] |
− | list-tags-for-resource | + | [[describe-event-subscriptions]] |
− | modify-certificates | + | [[describe-events]] |
− | modify-current-db-cluster-capacity | + | [[describe-export-tasks]] |
− | modify-custom-db-engine-version | + | [[describe-global-clusters]] |
− | modify-db-cluster | + | [[describe-installation-media]] |
− | modify-db-cluster-endpoint | + | [[describe-option-group-options]] |
− | modify-db-cluster-parameter-group | + | [[describe-option-groups]] |
− | modify-db-cluster-snapshot-attribute | + | [[describe-orderable-db-instance-options]] |
− | modify-db-instance | + | [[describe-pending-maintenance-actions]] |
− | modify-db-parameter-group | + | [[describe-reserved-db-instances]] |
− | modify-db-proxy | + | [[describe-reserved-db-instances-offerings]] |
− | modify-db-proxy-endpoint | + | [[describe-source-regions]] |
− | modify-db-proxy-target-group | + | [[describe-valid-db-instance-modifications]] |
− | modify-db-snapshot | + | |
− | modify-db-snapshot-attribute | + | === download === |
− | modify-db-subnet-group | + | download-db-log-file-portion |
− | modify-event-subscription | + | |
− | modify-global-cluster | + | === failover === |
− | promote-read-replica | + | failover-db-cluster |
− | promote-read-replica-db-cluster | + | failover-global-cluster |
− | purchase-reserved-db-instances-offering | + | |
− | reboot-db-cluster | + | === generate === |
− | reboot-db-instance | + | generate-db-auth-token |
− | register-db-proxy-targets | + | |
− | remove-from-global-cluster | + | === import === |
− | remove-option-from-option-group | + | import-installation-media |
− | remove-role-from-db-cluster | + | |
− | remove-role-from-db-instance | + | === list === |
− | remove-source-identifier-from-subscription | + | list-tags-for-resource |
− | remove-tags-from-resource | + | |
− | reset-db-cluster-parameter-group | + | === modify === |
− | reset-db-parameter-group | + | 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 === | ||
+ | [[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 166: | Line 212: | ||
wait | wait | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | logs | ||
+ | [[download-db-log-file-portion]] | ||
==Realted terms== | ==Realted terms== | ||
Line 172: | 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: