Source: https://api.octoperf.com/doc/on-premise-agent/dedicated-ips/

# Dedicated IPs

![Dedicated IPs](https://api.octoperf.com/doc/on-premise-agent/img/static-ips.png)

Both [Amazon](https://api.octoperf.com/doc/on-premise-agent/provider-type/amazon/) and [DigitalOcean](https://api.octoperf.com/doc/on-premise-agent/provider-type/digitalocean/) support allocating **Static IPs**.

**Dedicated IPs** are pre-allocated IP Addresses. Those IP addresses are automatically assigned to newly started cloud instances.

Dedicated IPs are a general name for:

- **Elastic IPs** on Amazon EC2,
- And **Floating IPs** on DigitalOcean.

It's highly useful when the tested application can only be accessed by **whitelisted IPs**. It allows you to use **dynamically allocate cloud instances** (billed per hourly rate) with **always the same IP Addresses**.

## Configuration

![providers-list-static-ip](https://api.octoperf.com/doc/on-premise-agent/img/providers-list-static-ip.png)

From the providers list, expand the menu for an AWS or DO provider to see the **Manage Provider Dedicated IPs** button.

### Allocation

To allocate a new dedicated IP:

- Select the wanted region and availability zone,
- Click on `Allocate` button.

!!! info
    Contact us if you need to register existing dedicated IPs.

### Release

To release a dedicated IP:

- Find the relevant IP within the table,
- Click on the `bin` button to remove it.

## How it works

When a test is started:

- A new cloud instance is started,
- The system checks if any dedicated IP is available in the region where the instance is started,
- The static IP is associated to the new cloud instance.

When a cloud instance is terminated, any associated static IP is dissociated.

!!! warning
    If your test requires more IPs than available you will be warned in the [test log](https://api.octoperf.com/doc/analysis/edit-bench-report/test-logs/):
    
    ```No static IP could be associated with instance leanora-padberg```
    
    In this case, new IPs will be assigned automatically by the clouder, potentially resulting in errors in your tests.
