AdnanHodzic / containerized-wordpress-project

Automagically deploy & run WordPress with Let's Encrypt HTTPS encryption using Ansible & Docker
https://foolcontrol.org/?p=2002
GNU General Public License v3.0
42 stars 22 forks source link

Google Cloud Platform #8

Open avidsapp opened 4 years ago

avidsapp commented 4 years ago

Any idea on how to get this working on Google Cloud? I tried many approaches, including service accounts and OS login

AdnanHodzic commented 4 years ago

I haven't tried it myself on Google Cloud, but it should be straight forward process. When I started this project I was targeting AWS for my personal needs, but I also know people who use it on Azure and even on premise.

Basically all you need SSH access to a server/VM/instance. What doesn't work out when you try with GCE VM intsance?

avidsapp commented 4 years ago

I haven't had much success connecting via standard ssh on GCloud. I typically use their CLI to ssh into a VM instance. If I can figure out how to ssh the standard way, then it should be a straight forward process.

AdnanHodzic commented 4 years ago

If found some useful information how to get VM external IP: https://docs.bitnami.com/google/faq/get-started/connect-ssh/

Or simply run curl ifconfig.me once you've SSH-ed to the instance.

avidsapp commented 4 years ago

Thank you for this. I will try it out and report back