Posts Tagged CPU emulator
This installment shows how to set up a Google Cloud account in order to run the SIMH emulator in a GCP instance. This is NOT a complete training or tutorial on Google Cloud, but does explain the settings needed for this project.
In this prior post, I’ve shown how the guest OS will be running on the emulator, in a virtual instance in Google Cloud. This post talks about getting a Google Cloud set up to make all this possible.
Google has written a huge amount of documentation. There are tutorials, quickstarts, API docs, and examples and labs. If you have trouble, Google Cloud Help has everything you need to get unstuck.
In order to prepare for the rest of this series and running SIMH in GCP, start with the Google Cloud console and go through this example. It uses the Google Cloud console to do a part of what we’ll do later with scripts.
Those examples show how to set up a project and enable billing. After that, a VM (instance) is created and Linux is installed. Once you have logged into the instance, and logged out, you can then delete the instance to clean up.
Follow the example, and your Google Cloud account will be ready for the rest of this series.
You’ll also want to set up SSH keys for use with “oslogin” – see the documentation here.
Keep the project open, as you’ll need it later to run the emulator instance.
Finally, we’re going to be using BASH scripts and the Google Cloud SDK (AKA gcloud) for all the future example.
You’ll need to install the SDK, using these instructions for your particular operating system.
Next time we’ll begin the first bash script, to use gcloud to set some configuration variables we need to create and run the SIMH instance.