Google Cloud
Step by step on how to setup Instance
Prerequisites:
- Google Cloud Account: Ensure you have a Google Cloud account.
- Billing Enabled: Verify that billing is enabled for your Google Cloud project.
Step-by-Step Guide How to Create a Virtual Machine (VM) Instance
- Go to Google Cloud Console
- Click the “Select a project” dropdown
- Select "New Project"
- Then Enter a name and click "Create"
- Open Compute Engine. Go to the created project
- Navigate to "Compute Engine" > "VM instances"
- Create a New VM
- Setting up New VM
- Choose Machine configuration
- You need to choose the Machine type and choose from the dropdown
- Next, you need to select Boot Disk using the following: Debian; Debian GNU/Linux (bookworm); SSD persistent disk; 256 GB
- At the very bottom click the “Create” button
After the final step, the instance has been created and should appear in the dashboard after some time.
Docker Setup (GC)
- To open from the console, click on "SSH"
- Copy your Public IP address from the Google Cloud Admin Panel
- Type the command in Terminal - ssh root@yourpublicIP
- Enter the passphrase. Confirm
- Add Docker's official GPG key (from the manual)
- Add the repository to Apt sources
- Install the Docker Packages. To install the latest version, run: take code from the manual and put it in the terminal. Enter
- Docker installed.