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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deploy code to a server behind a firewall

My college provided me with 2 virtual machines, one linux and one windows, I was planning to deploy code from my repository into the linux VM and then windows can access it via a samba shared folder because linux will rn my backend and windows will use pm2 serve build for my spa.

My problem is that both servers are on a closed network, accessible only via VPN that they provide us, Is there any way for me to create a pipeline to deploy that code to my machine in this case? 

And also can I configure it to do some commands like:

npm install -g, npm start 

or

npm install -g, npm run build, pm2 serve build 3000 --spa

1 answer

1 accepted

1 vote
Answer accepted

Hi @1180778 

Unfortunately, it's currently not possible to access your resources in a private network from Bitbucket Pipelines unless you open up a port and then ssh into the machine to do the deployment.

I have got some good news for you, we are currently working on Bitbucket Pipelines self-hosted runners. This will allow you to execute your Bitbucket Pipelines step in your infrastructure behind a firewall. The current plan is to have a GA in Feb/March 2021. We will be doing an EAP in January, so please fill out the following form if you would like to get involved.

 

Cheers,

Justin Thomas

Product Manager, Bitbucket

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,826 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you