Exoscale publishes its current IP address ranges or prefixes in JSON format. This file is officially maintained and updated whenever we launch a new zone or introduce a new service.

We publish these IP address ranges so users can use the IP ranges and definitions in their configuration to improve security, or optimize traffic paths if applicable.

Accessing the resource

The file is published on the Exoscale SOS as exoscale-prefixes.json

It contains both public IPv4 and IPv6 ranges currently in use by Exoscale.

File syntax

The Exoscale prefixes file for the IP ranges is structured as follows:

{
  "creationTime": "2021-11-08T15:07:09.760100+00:00",
  "prefixes": [
    {
      "IPv4Prefix": "89.145.160.0/22",
      "zone": "de-fra-1"
    },
    ...
  • creationTime: indicates when the file was generated. The file is always overwritten. If you need to access a previous version, save successive versions of the .json file on your system.
  • Prefixes: contains the array of either IPv4 or IPv6 ranges in use.
  • IPv4Prefix or IPv6Prefix: CIDR notation of IP ranges
  • zone: technical name of the Exoscale zone the prefix is associated to. The list of datacenter zones can be obtained from our website or via the exo command-line like below
exo zone
┼──────────────────────────────────────┼──────────┼
│                  ID                  │   NAME   │
┼──────────────────────────────────────┼──────────┼
│ 4da1b188-dcd6-4ff5-b7fd-bde984055548 │ at-vie-1 │
│ 97e5df2d-0da5-4914-a9a2-97af3fc7180d │ at-vie-2 │
│ 70e5f8b1-0b2c-4457-a5e0-88bcf1f3db68 │ bg-sof-1 │
│ 91e5e9e4-c9ed-4b76-bee4-427004b3baf9 │ ch-dk-2  │
│ 1128bd56-b4d9-4ac6-a7b9-c715b187ce11 │ ch-gva-2 │
│ 35eb7739-d19e-45f7-a581-4687c54d6d02 │ de-fra-1 │
│ 85664334-0fd5-47bd-94a1-b4f40b1d2eb7 │ de-muc-1 │
┼──────────────────────────────────────┼──────────┼

Additional information

The prefixes can be consumed and used as sources in various configuration elements, and the jq is a handy processor to manage JSON data from the command line.

The information is also available as the RFC 8805 format from the IETF. See the geofeed.