Customer provided networks¶
Customer provided networks is an advanced service model feature that allows your customers to define network partitioning for their resources.
Note
This feature is currently enabled for CUSTOMER_HOSTED hosting model only.
How does it work¶
"Customer provided networks" feature can only be disabled (default) or enabled. When enabled, your customers will have to choose a "customer network" whenever creating a new instance. Instances with same customer network will be co-located on same host cluster and share a network.
Each "customer network" record is an abstract concept that defines CIDR range for a specific cloud provider and a region. Cloud network (either GCP network or AWS VPC) and the host cluster are created on demand as needed. Because each such network is owned by certain customer, instances within service plan using customer networks are never co-located on host cluster with instances from other customers. In addition, by defining multiple customer networks, customers can further isolate their own resources.
Warning
Enabling this feature can potentially increase your infrastructure cost significantly as it can result in multiple kubernetes host clusters for each region.
How is it configured¶
Customer provided networks can be enabled when creating new service by adding following lines to your compose spec file:
or by using CreateServiceModel
API.
Note
This feature cannot be modified once service model is created.