Difference between revisions of "Aws rds"

From wikieduonline
Jump to navigation Jump to search
 
(148 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
https://docs.aws.amazon.com/cli/latest/reference/rds/
+
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-db-cluster-parameter-group
+
 
  copy-db-cluster-snapshot
+
=== copy ===
  copy-db-parameter-group
+
  [[aws rds copy-db-cluster-parameter-group]]
  [[copy-db-snapshot]]
+
  [[aws rds copy-db-cluster-snapshot]]
  copy-option-group
+
  [[aws rds copy-db-parameter-group]]
  create-custom-availability-zone
+
  [[aws rds copy-db-snapshot]]
  create-custom-db-engine-version
+
  [[aws rds copy-option-group]]
  create-db-cluster
+
 
  create-db-cluster-endpoint
+
=== create ===
  create-db-cluster-parameter-group
+
  [[aws rds create-custom-availability-zone]]
  create-db-cluster-snapshot
+
  [[aws rds create-custom-db-engine-version]]
  create-db-instance
+
  [[aws rds create-db-cluster]]
  create-db-instance-read-replica
+
  [[aws rds create-db-cluster-endpoint]]
  create-db-parameter-group
+
  [[aws rds create-db-cluster-parameter-group]]
  create-db-proxy
+
  [[aws rds create-db-cluster-snapshot]]
  create-db-proxy-endpoint
+
  [[aws rds create-db-instance]]
  create-db-security-group
+
  [[aws rds create-db-instance-read-replica]]
  [[create-db-snapshot]]
+
  [[aws rds create-db-parameter-group]]
  create-db-subnet-group
+
  [[aws rds create-db-proxy]]
  create-event-subscription
+
  [[aws rds create-db-proxy-endpoint]]
  create-global-cluster
+
  [[aws rds create-db-security-group]]
  create-option-group
+
  [[aws rds create-db-snapshot]]
  delete-custom-availability-zone
+
  [[aws rds create-db-subnet-group]]
  delete-custom-db-engine-version
+
  [[aws rds create-event-subscription]]
  delete-db-cluster
+
  [[aws rds create-global-cluster]]
  delete-db-cluster-endpoint
+
  [[aws rds create-option-group]]
  delete-db-cluster-parameter-group
+
 
  delete-db-cluster-snapshot
+
=== delete ===
  delete-db-instance
+
  [[aws rds delete-custom-availability-zone]]
  delete-db-instance-automated-backup
+
  [[aws rds delete-custom-db-engine-version]]
  delete-db-parameter-group
+
  [[aws rds delete-db-cluster]]
  delete-db-proxy
+
  [[aws rds delete-db-cluster-endpoint]]
  delete-db-proxy-endpoint
+
  [[aws rds delete-db-cluster-parameter-group]]
  delete-db-security-group
+
  [[aws rds delete-db-cluster-snapshot]]
  delete-db-snapshot
+
  [[aws rds delete-db-instance]]
  delete-db-subnet-group
+
  [[aws rds delete-db-instance-automated-backup]]
  delete-event-subscription
+
  [[aws rds delete-db-parameter-group]]
  delete-global-cluster
+
  [[aws rds delete-db-proxy]]
  delete-installation-media
+
  [[aws rds delete-db-proxy-endpoint]]
  delete-option-group
+
  [[aws rds delete-db-security-group]]
deregister-db-proxy-targets
+
  [[aws rds delete-db-snapshot]]
describe-account-attributes
+
  [[aws rds delete-db-subnet-group]]
describe-certificates
+
  [[aws rds delete-event-subscription]]
describe-custom-availability-zones
+
  [[aws rds delete-global-cluster]]
describe-db-cluster-backtracks
+
  [[aws rds delete-installation-media]]
describe-db-cluster-endpoints
+
  [[aws rds delete-option-group]]
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
 
  
 
+
=== 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 140: 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 152: 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 176: Line 212:
 
wait
 
wait
 
</pre>
 
</pre>
 +
 +
 +
logs
 +
[[download-db-log-file-portion]]
  
 
==Realted terms==
 
==Realted terms==
Line 182: 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

Snapshots[edit]

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]

See also[edit]

  • https://docs.aws.amazon.com/cli/latest/reference/rds/delete-db-instance.html
  • Advertising: