Use Custom Networking

Create a model deployment with the custom networking option.

The workload is attached by using a secondary VNIC to a customer-managed VCN and subnet. The subnet can be configured for egress to the public internet through a NAT/Internet gateway.

To use custom egress, you need to add a policy to provide Data Science with access to the subnet:
allow service datascience to use virtual-network-family in compartment <subnet_compartment>

For custom egress, the subnet must have at least 127 IP addresses available.

You can create and run custom networking model deployments using the Console, the OCI Python SDK, the OCI CLI, or the Data Science API.