SendingNetwork
  • OVERVIEW
    • Getting Started
    • FAQs
  • Network Instructional Articles
    • Basics
      • Introducing the Edge, WatchDog, and Guardian Nodes
      • Overview
      • Messaging Solution
      • Privacy Solution
      • Rich Communication Solution
      • Multi-Platform Solution
      • Decentralized Identity
      • Multiple Chat Modes
      • How It Works
      • Token Utility
      • The Team
    • Key Concepts
      • Decentralized Identity
      • Social Graphs
      • Edge Node
  • SDK Documentation
    • Glossary
    • JavaScript client SDK
      • DID
      • User
      • Message
      • Room
      • Contact
      • Social Graph
    • iOS client SDK
      • Push
      • DID
      • User
      • Message
      • Room
      • Contact
    • Android client SDK
      • User
      • Room
    • Java SDK
      • DID
      • Room
      • Message
    • Node.js SDK
      • DID
      • Room
      • Message
    • Unreal SDK
      • DID
      • User
      • Message
      • Room
    • Unity SDK
      • DID
      • Room
      • Message
    • Website chat widget SDK
      • Customization
      • DID
      • User
      • Room
      • Message
      • Other
    • Bot SDKs
      • Golang Bot SDK
        • DID
        • User
        • Room
        • Message
    • Extensible Message Interface
    • Push Notifications
    • Flutter SDK
      • DID
      • User
      • Message
      • Room
    • PHP SDK
      • DID
      • Room
      • User
    • Developer Key
  • Acquisition Kit
    • Social Boost Development Instructions
  • WatchDog Agent
    • WatchDog Agent Guide
    • WatchDog Agent Deployment Tutorial
      • Linux Deployment Tutorial
    • One-Click Deployment
  • Edge Node
    • Edge Node Deployment Tutorial
    • VPS Setup Guide
      • Google Cloud Platform (GCP)
      • Amazon Web Services (AWS)
      • Contabo
    • Check Node Stats with Auto-Reply Bot in SendingMe App
    • Alpha-3 Testnet FAQs
  • delegation node
    • Delegation Node Deployment Tutorial
  • Private Delegation Node
  • Use Cases
    • Wallet-to-Wallet Messaging
    • Dapp Notifications
    • Identity Verification
    • Gamer Acquisition
    • Cross-platform Trading
Powered by GitBook
On this page
  • Step 1: Create a Google Cloud Platform Account
  • Step 2: Create a New Project
  • Step 3: Set Up a Virtual Private Server (VPS)
  • (Edge Node Only) Step 4: Configure the firewall
  • Step 5: Access Your VPS
  • Conclusion
  1. Edge Node
  2. VPS Setup Guide

Google Cloud Platform (GCP)

Setting Up a VPS on Google Cloud Platform (GCP) and Installing Ubuntu for SendingNetwork Testnet Mining

PreviousVPS Setup GuideNextAmazon Web Services (AWS)

Last updated 11 months ago

Welcome to the SendingNetwork Testnet Mining tutorial! This guide is designed for both developers and non-developers interested in running a relay node on the SendingNetwork. We'll walk you through setting up a Virtual Private Server (VPS) on Google Cloud Platform (GCP), installing Ubuntu, and running a script that boosts up our node with a few commands. Don't worry if you have no coding experience; we'll keep things simple and straightforward.

Step 1: Create a Google Cloud Platform Account

  1. Go to the .

  2. Click on the "Get started for free" button.

  3. Sign in with your Google account or create a new one.

  4. Follow the on-screen instructions to set up your GCP account. You might need to provide billing information, but GCP offers a free trial with $300 credit.

Step 2: Create a New Project

  1. Once logged in, go to the GCP Console.

  2. At the top of the page, next to "Google Cloud Platform," you'll see a dropdown. Click on it and select "New Project."

  3. Enter a project name and click "Create."

Step 3: Set Up a Virtual Private Server (VPS)

  1. In the GCP Console, click on the three horizontal lines in the left upper corner of the screen, then select "Compute Engine" > "VM instances."

  2. Click "Create Instance." If you don't see this button, click "ENABLE" first.

  3. Name your instance and choose a region.

  4. In the machine type section, click on “Custom”. Configure it with 4 vCPUs for “Cores” and 8 GB for “Memory”.

  5. In the "Boot disk" section, click "Change," select "Ubuntu," and choose "Ubuntu 20.04 LTS" with X86/64 architecture. Set the disk size to 200 GB.

  6. Click "Create" to set up your VPS.

(Edge Node Only) Step 4: Configure the firewall

  1. In the GCP Console, click on the three horizontal lines in the left upper corner of the screen, then select "VPC network" > "Firewall".

  2. Click "CREATE FIREWALL RULE" on the top:

  3. Enter the rule name in the "Name" field.

  4. Select "Specified target tags" from the "Target" dropdown menu to ensure the firewall rule is applied only to certain instances within the virtual network. Afterwards, assign a tag to these instances by typing the tag name "relayrule" in the "Target tags" field.

  5. Enter "0.0.0.0/0" in the "Source IPv4 ranges" field. Select "Specified protocols and ports," tick the "TCP" option, and specify the ports to open by entering "9085,15858,9702,2112." Click "CREATE" to add the firewall tag.

  6. Now go back to the instance page by clicking on the three horizontal lines in the left upper corner of the screen, then select "Compute Engine" > "VM instances."

  7. Click on the instance to access its detail page.

  8. Click the "Edit" button.

  9. Enter the "relayrule" tag you previously created into the "Network tags" field, then click the "SAVE" button to complete the firewall configuration.

Step 5: Access Your VPS

  1. Go to the instance page. Click on the "SSH" button to open a terminal window directly in your browser.

  2. You're now connected to your VPS!

Conclusion

And that's it! You've successfully set up a VPS on Google Cloud Platform, installed Ubuntu 20.04 LTS with neccessary firewall configuration.

Should you encounter any issues or have questions, don't hesitate to seek support from the SendingNetwork .

community
Google Cloud Platform website