You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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 !