2023-04-22 14:09:23 +01:00
|
|
|
# aws rds
|
|
|
|
|
|
|
|
> CLI para AWS Relational Database Service.
|
|
|
|
> Crea y administra bases de datos relacionales.
|
|
|
|
> Más información: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/index.html>.
|
|
|
|
|
|
|
|
- Muestra ayuda para subcomando RDS específicos:
|
|
|
|
|
|
|
|
`aws rds {{subcommand}} help`
|
|
|
|
|
|
|
|
- Detiene instancia:
|
|
|
|
|
|
|
|
`aws rds stop-db-instance --db-instance-identifier {{identificador_de_instancia}}`
|
|
|
|
|
|
|
|
- Inicia instancia:
|
|
|
|
|
|
|
|
`aws rds start-db-instance --db-instance-identifier {{identificador_de_instancia}}`
|
|
|
|
|
|
|
|
- Modifica una instancia RDS:
|
|
|
|
|
|
|
|
`aws rds modify-db-instance --db-instance-identifier {{identificador_de_instancia}} {{parametros}} --apply-immediately`
|
|
|
|
|
|
|
|
- Aplica actualizaciones a una instancia RDS:
|
|
|
|
|
|
|
|
`aws rds apply-pending-maintenance-action --resource-identifier {{database_arn}} --apply-action {{system-update}} --opt-in-type {{immediate}}`
|
|
|
|
|
|
|
|
- Modifica un identificador de instancia:
|
|
|
|
|
2023-12-01 12:26:44 +00:00
|
|
|
`aws rds modify-db-instance --db-instance-identifier {{antiguo_identificador_instancia}} --new-db-instance-identifier {{nuevo_identificador_instancia}}`
|
2023-04-22 14:09:23 +01:00
|
|
|
|
|
|
|
- Reinicia una instancia:
|
|
|
|
|
|
|
|
`aws rds reboot-db-instance --db-instance-identifier {{identificador_de_instancia}}`
|
|
|
|
|
2024-01-07 10:44:17 +00:00
|
|
|
- Elimina una instancia:
|
2023-04-22 14:09:23 +01:00
|
|
|
|
|
|
|
`aws rds delete-db-instance --db-instance-identifier {{identificador_de_instancia}} --final-db-snapshot-identifier {{identificador_snapshot}} --delete-automated-backups`
|