Creating a Private Endpoint

Data Science lets you create private endpoints within the service so that you can access resources that are only available using private IPs.

Before you create a private endpoint in Data Science, you must have the prerequisites and the following details:

  • The name of the Virtual Cloud Network (VCN).
  • The name of the subnet in the VCN.

By default, a tenancy has a zero limit forData Science private endpoint. You must increase your Data Science limits.

    1. Use the Console to sign in to a tenancy with the necessary policies.
    2. Open the navigation menu and select Analytics & AI. Under Machine Learning, select Data Science.
    3. Select the compartment you want to create the private endpoint in.

      All projects in the compartment are listed.

    4. Under Data Science, select Private endpoints.

      A tabular list of private endpoints in the compartment is displayed.

    5. Select Create private endpoint.
    6. (Optional) In the Create private endpoint panel, enter a name to identify the private endpoint.
    7. (Optional) Enter a description.
    8. Select the VCN that's created to provide private access. You can change the compartment where the VCN is.
    9. Select the subnet that has the private endpoint you want to use. You can change the compartment where the subnet is.
    10. Select the resource type from one of the following options:
      • NOTEBOOK_SESSION: Private endpoint to access Notebook Session(s).

      • MODEL_DEPLOYMENT: Private endpoint to access Model Deployment(s).

    11. (Optional) Enter a subdomain for the private endpoint up to 60 characters.
    12. (Optional) Add one or more network security groups that are associated with the VCN. You can change the compartment where the network security groups are.

      Set of security rules that control allowed types of inbound and outbound traffic.

      A maximum of 10 network security groups can be added to a private endpoint.

    13. (Optional) Enter the tag namespace (for a defined tag), key, and value to assign tags to the resource.

      To add more than one tag, select Add tag.

      Tagging describes the various tags that you can use organize and find resources including cost-tracking tags.

    14. (Optional) To view the details for the private endpoint immediately after creation, select View detail page on selecting create.
    15. Select Create to create the private endpoint.

      The create process can take a couple of minutes. When the private endpoint is created successfully, the private endpoint is in an ACTIVE status.

  • Follow these steps in the CLI to create a private endpoint n Data Science.

    Use the create command and required parameters to create a private endpoint:

    oci data-science private-endpoint create --compartment-id <compartment-id> | -c, --ds-resource-type <DS-resource-type>, 
    --subnet-id <subnet-id>... [OPTIONS]
    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
  • Use the CreateDataSciencePrivateEndpoint operation to create a private endpoint.