-
Enable the Computer Engine API
-
In the Google Cloud Console, open Computer Engine, then click “Create an Instance” button, then you will open a page to config an instance.
-
Keep these default configuring, go to Boot disk section, click “Change” button to begin configuring your boot disk.
-
On the Public images tab, choose Ubuntu from the Operating system list.
-
Choose Ubuntu 20.04 LTS from the Version list, then click “Select” button.
-
In the Firewall section, select Allow HTTP traffic and Allow HTTPS traffic.
-
To create the VM, click Create, then you will see your new VM in the VM instances page.
-
Next steps, I will install apache2 and config an index page, then to show the index.html page in browser.
Back to blog
Jun 16, 2024
2 min read
Create a VM on GCP within Computer Engine
You've downloaded and installed the project. Let's hit the ground running.