# Connect OpenSearch to private ML endpoints

DevFeed: [Connect OpenSearch to private ML endpoints](<https://devfeed.tech/articles/connect-opensearch-to-private-ml-endpoints-12786.md>)

Original publisher: [Read original article](<https://opensearch.org/blog/connect-opensearch-to-private-ml-endpoints/>)

Author: Nathalie Jonathan

Published: 2026-07-28T15:00:41Z

Content type: tutorial

Language: en

Sources: [OpenSearch](<https://devfeed.tech/sources/opensearch.md>)

Topics: [Amazon OpenSearch Service](<https://devfeed.tech/topics/amazon-opensearch-service.md>), [network security](<https://devfeed.tech/topics/network-security.md>), [VPC](<https://devfeed.tech/topics/vpc.md>), [inference-endpoints](<https://devfeed.tech/topics/inference-endpoints.md>), [Security](<https://devfeed.tech/topics/security.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-identity-and-access-management-iam](<https://devfeed.tech/tags/aws-identity-and-access-management-iam.md>), [blog](<https://devfeed.tech/tags/blog.md>), [firewalls](<https://devfeed.tech/tags/firewalls.md>), [inference](<https://devfeed.tech/tags/inference.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [production](<https://devfeed.tech/tags/production.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [vpc](<https://devfeed.tech/tags/vpc.md>)

## AI overview

This guide explains how to connect OpenSearch and Amazon OpenSearch Service to machine learning models hosted on private infrastructure. It covers VPC-hosted endpoints, private SageMaker endpoints, internal API gateways, and self-hosted inference servers, with configuration steps for connectors, model registration, deployment, testing, and VPC egress.

## Source excerpt

Connect OpenSearch to ML models hosted on private infrastructure. Configure ML Commons connectors for VPC-hosted endpoints, private SageMaker models, and internal inference servers without exposing services to the public internet The post Connect OpenSearch to private ML endpoints appeared first on OpenSearch.