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 !
Patrik S
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.