Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Static Private IP for Kibana #132

Open
aantony2 opened this issue Jun 26, 2017 · 2 comments
Open

Static Private IP for Kibana #132

aantony2 opened this issue Jun 26, 2017 · 2 comments

Comments

@aantony2
Copy link

Is it possible to add static IP address parameter for Kibana instance ?

@russcam
Copy link
Contributor

russcam commented Jun 28, 2017

Hey @agnelantony2, what problem would adding a static private IP address for Kibana solve for you? I'd be keen not to increase the complexity of the template further if it can be avoided.

You can obtain the private IP address of Kibana after deployment, if you need it

through Azure CLI 1.0:

azure network nic ip-config show <resource-group> <hostname-prefix>kibana-nic ipconfig1

where

  • <resource-group> is the name of the resource group
  • <hostname-prefix> is the value provided for vmHostNamePrefix parameter

this returns

info:    Executing command network nic ip-config show
+ Looking up the network interface "<hostname>kibana-nic"
data:    Private IP Address              : 10.0.0.8
data:    Private IP Allocation Method    : Dynamic
data:    Private IP Address Version      : IPv4
data:    Subnet:
data:      Id                            : /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Network/virtualNetworks/network/subnets/network
data:    Primary                         : true
data:    Public IP Address:
data:      Id                            : /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Network/publicIPAddresses/<hostname-prefix>kibana-ip
data:    Provisioning State              : Succeeded
data:    Name                            : ipconfig1
data:    Etag                            : "etag"
info:    network nic ip-config show command OK

You can also get it through Azure CLI 2.0 or PowerShell.

Additionally, the Kibana VM can be addressed by its hostname on the VNet.

@aantony2
Copy link
Author

We aren't using public IPs on Kibana to access the UI. Kibana will be accessed behind a DMZ. If I add private IP for Kibana, we can predict and add that IP to load balancer for every deployment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants