Chapter 5. Google Cloud Compute Engine
Google Cloud Compute Engine provides you the ability to run virtual machines on Google’s infrastructure. You can run Windows and Linux virtual machines. You can customize the virtual machine to meet your needs. You can change the virtual machine’s memory allocation, you can change how many virtual CPUs are assigned, and you can even automate patching of the operating system.
This chapter contains recipes for creating and managing your virtual machines. You’ll find recipes on unique methods to automate deployments, deploy containers to virtual machines, and use Identity-Aware Proxy (IAP) to tunnel Remote Desktop Protocol (RDP) traffic to connect to your Windows virtual machines securely.
You will need to make sure you have met the prerequisites before running through the recipes:
Signed up for a Google Cloud account, as described in Chapter 1.
Created a Google Cloud project, as described in Chapter 1.
Installed and configured gcloud, as described in Chapter 1.
5.1 Creating a Windows Virtual Machine
Problem
You have an application that needs to be installed on a Windows server. You also need access to the operating system to change configuration options required by the application.
Solution
Using the Google Cloud Console, create a Windows server on Google Cloud Compute Engine. This will provide you with full access to the operating system to allow you to make any configuration changes required by the application.
Sign in to Google Cloud ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access