How do I deploy to Google Compute Engine?
What is Google Compute Engine?
Google Compute Engine delivers virtual machines running in Google's data centers and worldwide fiber network. Compute Engine's tooling and workflow support
enable scaling from single instances to global, load-balanced cloud computing.
Can I use Beanstalk to deploy to Google Compute engine?
Absolutely. You will just need to deploy using SSH to authenticate to your virtual server.
Here’s what that process would look like.
1.
Create an instance in the Google compute dashboard.
2. Add Beanstalk’s SSH key to authenticate to your server. You can do this in Google Compute console by selecting the“Metadata” tab on the right side of the page, and then select the SSH key option.
Tip:
You can find Beanstalk’s SSH key in your
server settings under the deployment location heading.
3.
Add the IP of your instance to Beanstalk as
a host for deployments. Your server IP can be found in two places in the console. The first and most obvious place to see it is on your VM instance page.
You can also find it by clicking the name of your instance and scrolling to the middle of the page under
“
Network Interfaces”.
Now you can add the IP to your server settings in Beanstalk.
Now you’re ready to deploy to your server.