Enabling IPv6 for Hosted Apps

Page last updated:

This topic describes how to enable IPv6 support for hosted apps.

Overview

The procedure described below allows apps deployed to Cloud Foundry Application Runtime (CFAR) to be reached using IPv6 addresses.

Note: Amazon Web Services (AWS) EC2 instances currently do not support IPv6.

CFAR system components use a separate DNS subdomain from hosted apps. These components currently support only IPv4 DNS resolved addresses. This means that although an IPv6 address can be used for app domains, the system domain must resolve to an IPv4 address.

Enable IPv6 Support for Hosted Apps

To enable support for IPv6 app domains:

  1. Set up an external load balancer for your CFAR deployment.

  2. Configure DNS to resolve app domains to an IPv6 address on your external load balancer.

    Note: Your IPv4 interface for the system domain and IPv6 interface for app domain can be configured on the same or different load balancers.

  3. Configure the external load balancer to route requests for an IPv6 address to an IPv4 address:

    • If you are using the HAProxy load balancer for SSL termination, route to its IPv4 address.
    • Otherwise, route directly to the IPv4 addresses of the Gorouters.

The following diagram illustrates how a single load balancer can support traffic on both IPv4 and IPv6 addresses for a CFAR installation:

Cf ipv4 ipv6

For more information about domains in CFAR, see Routes and Domains.

Create a pull request or raise an issue on the source for this page in GitHub