# Disaster recovery
___

Infobip Email provides **disaster recovery options** to ensure continuous message delivery and API availability, even during regional service disruptions. Depending on your setup and availability requirements, you can choose between two recovery approaches:

1. **Basic**
2. **Automated**

To prepare your system for disaster recovery, ensure your firewall or networking layer allows communication with multiple Infobip API hosts and their associated IP ranges. Infobip maintains separate API endpoints and IP addresses for each region.

Refer to the sections below for details.

___

## Basic disaster recovery

**Basic disaster recovery** is automatically enabled for all clients within supported regions and operates on an **active-passive** model. In this setup, one data center is active while another remains on standby.

During planned maintenance or when potential downtime is detected, traffic can be manually rerouted to another data center. This ensures service continuity with minimal disruption and does not require any action from the client.

___

## Automated disaster recovery

**Automated disaster recovery** operates on an **active-active** model, where two or more data centers handle traffic at the same time. If one data center experiences issues, traffic is automatically redirected and balanced across the remaining operational data centers, ensuring continuous service without manual intervention.

To enable automated disaster recovery, you must:

- Use **at least two IP addresses** from different geographic locations.
- Submit traffic to an endpoint that supports traffic balancing (connected to multiple data centers).

This setup ensures high availability and resilience by minimizing downtime during unexpected disruptions.

___

## Available regions for disaster recovery

Disaster recovery is enabled by default for all clients in supported regions. To take full advantage of this capability, send requests to `http://api-us.infobip.com/`. These endpoints distribute traffic across multiple data centers to ensure continuity in case of disruptions.

Important
Disaster recovery is available for the **North America** and **Europe** region. For the latest information on supported regions, contact [Support](mailto:support@infobip.com).

## Supported API hosts

Use the following API hosts based on your location to ensure compatibility with disaster recovery and traffic balancing features:

| Location | HTTP API                | SMTP API                  |
|----------|-------------------------|---------------------------|
| **US**   | `api-us.infobip.com`    | `smtp-api-us.infobip.com` |

## Supported IP addresses (for safelisting)

If IP safelisting is required, use the following IP addresses based on your location:

| Location | HTTP API IP     | SMTP API IP      |
|----------|-----------------|------------------|
| **US2**  | 185.255.11.59   | 185.255.11.196   |
| **NY2**  | 185.255.9.59    | 185.255.9.204    |
| **US3**  | 212.22.167.159  | 202.22.167.94    |

___