Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

BitBucket deployment on ubuntu server LAMP with private ip only

Ghazanfar Ali
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2024

I have a ubuntu server(local VM) with internet access but only private ip on it and LAMP is installed on, also i have bitbucket source code and pipeline on bitbucket cloud, i want to deploy the pipeline code in that ubuntu server which only has private ip but internet access.
I heard about ngrok will it help here?

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2024

Hello @Ghazanfar Ali and welcome to the Community!

In case you are running your bitbucket pipelines using the Atlassian infrastructure, your Ubuntu server will need a public IP address, so pipelines will be able to reach your server from the internet.

If you don't have access to a public IP address, one option is to use self-hosted runners instead, where the pipeline build will run in your own infrastructure.

You can then execute the self-hosted runner in a machine in the same network as your Ubuntu server, so the runner will be able to access your server's private IPs.

For additional details on how to setup self-hosted runners, the following documentation might be of help: 

Thank you, @Ghazanfar Ali !

Patrik S


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events