Practicing on Cloud VMs
Last updated
Last updated
Here are some logistics you will need to prepare before hand:
Laptop
Google Cloud account with free trial activated. Credit card details are needed but donβt have to charge it
https://cloud.google.com/free
Go into your Google Cloud console
Go to Create a VM
Enable the Compute Engine API
Go to your google cloud console and create a new VM.
Choose the following settings:
Name: Choose your own name or leave it as the default setting
Region: Choose your preferred region but it is recommended to diversify away from the popular regions (e.g. US, EU) for mainnet setups to minimise the risk of correlated downtime. I am going with Singapore in this example.
Zone: Choose any
Machine configuration: E2
Machine type: e2-standard-8, 16GB memory
Under Boot disk, click on the "change" button.
Select Ubuntu
for the operating system, Ubuntu 24.04 LTS x86
for the version, SSD persistent disk
for the boot disk type, and 300 GB
for the size of the storage.
Check the first 2 boxes under the "Firewall" section.
Once you are done, click on the "Create" button at the bottom of the screen.
Expected output: You should see your VM instance coming online after loading for a few seconds
Click on the dropdown beside the "SSH" column and select "Open in browser window". Click on "Authorize" when prompted.
Expected output: Wait for the new window to load and your Ubuntu terminal will appear.
Once you are logged into your VM via SSH, run a general update using the command below.
Copy
Then, jump straight into the Device level security setup
section next.