A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RebootInstance.html below:

Rebooting a DB instance - Amazon Relational Database Service

Rebooting a DB instance

You can stop and start the database service on your RDS DB instance in a single operation, called rebooting. Rebooting might be necessary to apply configuration changes, address minor issues, or resolve network problems without having to perform a full restart or migration of your database.

Use cases for rebooting a DB instance

Typically, you reboot your DB instance for maintenance reasons so that your changes take effect. The following use cases are common:

How rebooting a DB instance works

When Amazon RDS reboots your DB instance it performs the following sequential tasks:

  1. Stops the database service on your DB instance

  2. Starts the database service on your DB instance

The reboot process leads to a brief outage. During this outage, the DB instance status is rebooting. An outage occurs for both a Single-AZ deployment and a Multi-AZ DB instance deployment, even when you reboot with a failover.

How rebooting a DB instance in a Multi-AZ deployment works

If the Amazon RDS DB instance is in a Multi-AZ deployment, you can reboot with a failover. This operation is useful to simulate a failure of a DB instance or restore operations to the original Availability Zone after a failover.

During the reboot with failover, Amazon RDS does the following

On RDS for Microsoft SQL Server, the failover reboots only the primary DB instance. After the failover, the primary DB instance becomes the new secondary DB instance. Parameters might not be updated for Multi-AZ instances. For reboot without failover, both the primary and secondary DB instances reboot, and parameters are updated after the reboot. If the DB instance is unresponsive, we recommend reboot without failover.

Considerations when rebooting a DB instance

Before you reboot your instance, consider the following:

Prerequisites for rebooting a DB instance

Make sure that you meet the following prerequisites:

Rebooting a DB instance: basic steps

You can reboot your DB instance using the AWS Management Console, AWS CLI, or RDS API.

To reboot a DB instance
  1. Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. In the navigation pane, choose Databases, and then choose the DB instance that you want to reboot.

  3. For Actions, choose Reboot.

    The Reboot DB instance page appears.

  4. (Optional) Choose Reboot with failover? to force a failover from one AZ to another.

  5. Choose Reboot to reboot your DB instance.

    Alternatively, choose Cancel.

To reboot a DB instance by using the AWS CLI, call the reboot-db-instance command.

Example Simple reboot

For Linux, macOS, or Unix:

aws rds reboot-db-instance \
    --db-instance-identifier mydbinstance

For Windows:

aws rds reboot-db-instance ^
    --db-instance-identifier mydbinstance
Example Reboot with failover

To force a failover from one AZ to the other in a Multi-AZ DB cluster, use the --force-failover parameter.

For Linux, macOS, or Unix:

aws rds reboot-db-instance \
    --db-instance-identifier mydbinstance \
    --force-failover

For Windows:

aws rds reboot-db-instance ^
    --db-instance-identifier mydbinstance ^
    --force-failover

To reboot a DB instance by using the Amazon RDS API, call the RebootDBInstance operation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4