Running netlab in a Public Cloud
You can run netlab on an Ubuntu instance in any public cloud if you want to run containerized versions of network devices (available for Arista EOS, Cumulus Linux, FRR, and Nokia SR Linux). Follow the public cloud installation documentation to create and start an Ubuntu instance, and the Ubuntu Server Installation instructions to install netlab and other system software.
If you want to run network devices as virtual machines, the public cloud has to support nested virtualization. Create an Ubuntu instance, verify its virtualization capabilities (a good way to check is with kvm-ok), and follow the Ubuntu Server Installation instructions.
Nested virtualization is supported on some AWS EC2 instances, AWS bare-metal instances (they tend to be expensive), Oracle Cloud bare-metal instances, some Azure instances, in Google Cloud, by Packet (bare-metal provider), and by DigitalOcean.
Google Cloud
Google Cloud supports nested virtualization, which you can enable with either the Google Cloud CLI or the REST API. Google Cloud documentation recommends using the Google Cloud CLI to create a VM with nested virtualization enabled [1].
The enable_nested_virtualization parameter is also supported by the Terraform Google provider.