Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy code to a server behind a firewall

1180778
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!
December 3, 2020

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
Justin Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2020

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
AUG Leaders

Atlassian Community Events