Cloop Installation
Welcome to setting up Cloop in your Google Cloud environment! This step-by-step guide will help you install and deploy Cloop quickly and easily. Each step includes commands you can copy and paste into your terminal. Let’s get started!
Prerequisites
A Google Cloud account (you’ll activate a free 3-month trial during setup).
A computer (Mac or Windows) with internet access.
The
cloud-init.yaml
file sent to your email (check your inbox or spam folder).
Step 1: Install Google Cloud SDK ☁️
The Google Cloud SDK is a tool that lets you manage your cloud resources from your computer. Follow the steps below based on your operating system.
For Mac
Download the SDK:
Open your terminal (search for "Terminal" on your Mac).
Run the appropriate command based on your Mac’s chip type:
For Intel chip Macs:
For M-series chip Macs (e.g., M1, M2):
These commands automatically download the SDK to your home folder.
Extract and Install:
Extract the downloaded file and set up the SDK by running these commands:
Follow the on-screen instructions to complete the installation.
Initialize the SDK:
Run this command to set up your Google Cloud account:
A browser window will open. Log in to your Google Cloud account and activate the 3-month free trial (requires a payment method, but you can cancel after deploying Cloop).
Follow the prompts to select or create a project.
For Windows
Download the SDK:
Open PowerShell (search for "PowerShell" in the Start menu).
Run these commands to automatically download and install the Google Cloud SDK:
Follow the installer’s prompts to complete the setup.
Initialize the SDK:
In PowerShell, run:
A browser window will open. Log in to your Google Cloud account and activate the 3-month free trial (requires a payment method, but you can cancel after deploying Cloop).
Follow the prompts to select or create a project.
Step 2: Verify Your Google Cloud Project 📋
Ensure you have a Google Cloud project set up. A project is like a container for your cloud resources.
Run this command to list your projects:
If you see a project ID, you’re ready to proceed. If not, follow the prompts from
gcloud init
to create one.
Step 3: Prepare Your Cloud Environment 🔧
Next, you’ll enable necessary services and secure your cloud environment by removing default firewall rules.
Enable the Compute Engine API:
This allows Cloop to run virtual machines. Run:
Remove Default Firewall Rules:
To enhance security, disable default rules for RDP and ICMP. Run:
Note: If these rules don’t exist, you may see a message saying so. That’s okay proceed to the next step.
Step 4: Organize the Cloud Init File 📄
The cloud-init.yaml
file (sent via email) contains settings for your Cloop virtual machine. Let’s organize it on your computer.
Create a Folder and Move the File:
Run these commands to create a
cloop-setup
folder and move thecloud-init.yaml
file:Ensure the
cloud-init.yaml
file is in the~/cloop-setup
folder before proceeding.
Step 5: Deploy Your Cloop Virtual Machine 🛡
Now, you’ll create a virtual machine (VM) to run Cloop.
Create the Cloop VM:
Run this command to deploy the VM with the settings from
cloud-init.yaml
:
Wait for Deployment:
The VM takes about 3 minutes to set up. Grab a coffee and wait before checking the status.
Step 6: Verify Deployment ✅
To confirm your Cloop VM is running:
Run:
Look for
cloop-vm
in the output with a status ofRUNNING
.
Note: You activated a 3-month free trial during setup. You can cancel the trial after deploying Cloop.
Happy Clooping! 🚀
Last updated