Accessing Kibana and Elasticsearch using Private Endpoint
In a private Elastic Stack deployment, service endpoints are not exposed to the public internet. Access to Elasticsearch, Kibana, fleet and related services is available only through private networking and approved routes.
To connect to the deployment, users must create an Azure Private Endpoint that connects to the Private Link Service automatically created during Elastic Stack deployment.
If you need additional information about your deployment (such as deployment name, region, or subscription), you can obtain it from one of the following locations:
- OpsFlow portal: https://chat.opsflw.io/ui
- Azure Portal → Managed Applications → locate your Elastic Stack deployment
Create a Private Endpoint
Follow the steps below to create a Private Endpoint.
-
Open the Azure Portal:
https://portal.azure.com -
Sign in using your Azure account.
-
Navigate to Network Foundation.
-
In the left navigation pane, select
Private Link → Private Endpoints. -
Click Create Private Endpoint.
-
In the Basics tab, provide the following information:
-
Subscription
- Resource group
- Name for the Private Endpoint
-
Region (should typically match your deployment region)
-
Under Connection method, select
Connect to an Azure resource by resource ID or alias. -
Provide the Private Link Service resource ID in the following format:
/subscriptions/{subscriptionID}/resourceGroups/mc_{deploymentName}-aks_{deploymentRegion}_node-rg/providers/Microsoft.Network/privateLinkServices/ElasticStack{DeploymentNameWithFirstLetterAsCapital}SvcExample:
/subscriptions/xxxx/resourceGroups/mc-elastic-aks-westus2_node-rg/providers/Microsoft.Network/privateLinkServices/ElasticStackExampleSvc -
Continue through the wizard and provide the required networking configuration such as the virtual network and subnet where the Private Endpoint will be created.
-
Review the configuration and click Create.
Private Endpoint approval
Approval behavior depends on where the Private Endpoint is created.
Same subscription
If the Private Endpoint is created in the same subscription as the Elastic Stack deployment, the connection will be automatically approved.
Different subscription
If the Private Endpoint is created in a different subscription, the connection must be manually approved.
To approve the request:
- Open the Azure Portal.
- Navigate to Network Foundations → Private Link → Pending Connections.
- Locate the pending connection for the Elastic Stack deployment.
- Approve the connection request.
Once approved, the Private Endpoint will establish connectivity to the Elastic Stack services through the private network.