Forums

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

I want copy the angular dist file from bitbucket to gcp vm

Robin February 21, 2023

I wanted to connect bitbucket to my private IP instance the guide I followed is for public ip but my machine only has private ip , is there any way so that I can copy my angular dist file which we created from ci pipeline to gcp vm with private ip
I have created the machine on Google Cloud  

link of the guide which I was trying to follow is  https://bitbucket.org/blog/deploying-an-angular-app-on-a-google-vm-using-bitbucket-pipelines

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2023

Hello @Robin ,

Welcome to Atlassian Community.

Private IPs are not accessible over the internet, so if you are running your bitbucket pipeline builds using cloud-runners (that runs on Atlassian infrastructure), the build will not be able to reach the private IP of your GCM VM. You would indeed need the VM to have a public IP in this case.

An alternative is to use self-hosted runners, where the build will run in your own infrastructure. You could then start the runner in the same VM or in a VM on the same private network, and the runner would then have access to connect to that private IP and transfer the files.

Thank you, @Robin !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events