Set up a virtual machine on Google Cloud Platform

You’ll provision a Google Axion C4A virtual machine (VM) on Google Cloud Platform (GCP) using the c4a-standard-32 machine type.

c4a-standard-32 provides 32 vCPUs and 128 GB of memory. This VM size is required for building a Yocto-based image.

Note

For general guidance on setting up a Google Cloud account and project, see the Learning Path Getting started with Google Cloud Platform .

Provision a Google Axion C4A VM in Google Cloud console

To create a virtual machine using the C4A instance type:

  1. Open the Google Cloud Console .
  2. Go to Compute Engine > VM instances.
  3. Select Create instance.
  4. Under Machine configuration:
    • Specify an Instance name, Region, and Zone.
    • Set Series to C4A.
    • Select c4a-standard-32 as the machine type.

Image Alt Text:Google Cloud Console VM creation page with the C4A machine series selected and the c4a-standard-32 machine type highlightedCreating a Google Axion C4A virtual machine in the Google Cloud Console

  1. Under OS and storage, select Change, then choose an Arm-based operating system image.
    • For this Learning Path, select Ubuntu 22.04 LTS (Arm64).
    • To allocate sufficient disk space, increase Size (GB) from 10 to 500.
  2. To apply the image changes, select Choose.

Image Alt Text:Google Cloud Boot disk panel with Ubuntu 22.04 LTS Arm64 selected and the disk size set to 500 GBUbuntu 22.04 LTS Arm64 boot disk configured with 500 GB

  1. Under Networking, keep the default settings. Browser-based SSH access works without additional firewall rules.
  2. To launch the VM, select Create.

After the instance starts, select SSH next to the VM in the instance list to open a browser-based terminal session.

Image Alt Text:Google Cloud Console VM instances list with the SSH button highlighted for a running C4A instanceConnecting to a running C4A virtual machine using SSH

A new browser window opens with a terminal connected to your VM.

Image Alt Text:Google Cloud SSH-in-browser terminal showing a shell prompt that confirms a successful connection to the C4A virtual machineTerminal session connected to the virtual machine

Note

The c4a-standard-32 instance has significant compute costs. Delete the VM after you complete the Learning Path.

What you’ve accomplished and what’s next

You’ve now provisioned a Google Axion C4A VM and configured it for Arm-based Yocto image builds.

Next, you’ll use this VM to build a Yocto image for your target hardware.

Back
Next