Azure/jenkins

Jenkins with private IP only

Closed this issue · 2 comments

Is it possible to deploy Jenkins with no public IP?
How will JNLP ACI slave connect with Jenkins Master?
Perhaps we will have to use Jenkins to connect with ACI slaves with SSH.

It will be great to publish guidance to deploy Jenkins in private subnet and still leverage ACI slaves.

Thanks

@rajcheval yes it's possible to deploy Jenkins with no public IP. After you deployed Jenkins, you can simply remove the public IP from the VM. Since the Jenkins doesn't have a public IP, you need to make sure one of the following when creating Jenkins agents:

  • Jenkins and agents are in the same virtual network. Or
  • Your agent has a public accessible endpoint then you can use SSH to launch agent.

For ACI, you can use the latter way since ACI container has a public IP.

Closing this because of inactivity. Feel free to reopen if necessary.