---
title: "GET /#Action=FailoverDBCluster"
method: GET
path: "/#Action=FailoverDBCluster"
---

# GET /#Action=FailoverDBCluster

`GET /#Action=FailoverDBCluster`

Forces a failover for a DB cluster.

A failover for a DB cluster promotes one of the Read Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).

Amazon Neptune will automatically fail over to a Read Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.

## Query parameters

- `DBClusterIdentifier` string
- `TargetDBInstanceIdentifier` string
- `Action` 'FailoverDBCluster', required
- `Version` '2014-10-31', required

## Response `200`

Success

## Other responses

- `480` — DBClusterNotFoundFault
- `481` — InvalidDBClusterStateFault
- `482` — InvalidDBInstanceStateFault

---

[API](https://skmtc.net/aws/apis/neptune.md) · [All operations](https://skmtc.net/aws/apis/neptune/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/neptune/versions/c3673ca75718/schema)
