Hop Docs
User Docs
Developer Docs
Developer Docs
  • Welcome
  • JavaScript SDK
    • Welcome
    • Getting started
    • API Reference
  • API
    • API Endpoints
  • Hop Node
    • Running a Hop Bonder
      • Bonder Requirements
      • Choosing a Platform
        • EC2 Setup
      • Securing your Server
        • Add SSH 2FA
      • Installing the Bonder
        • Installing the Bonder with Docker (recommended)
      • Configuring the Bonder
        • Keystore
          • Keystore AWS Parameter Store (recommended)
          • Keystore Local Passphrase
        • Configuration
      • Testing the Bonder
      • Running the Bonder
        • Staking
        • Starting the Bonder
      • Next Steps
    • Bonder Options
      • CLI Commands
      • Keystore Options
      • AWS KMS Signer
      • Monitoring
        • Docker CloudWatch Logs
        • Prometheus
      • Running Docker Container Options
      • Contract State
    • Resources and Best Practices
      • Securing Cloud Instance
      • Additional Security & Node Best Practices
      • Additional questions
  • Subgraphs
    • Welcome
    • Entities
    • Queries
    • Subgraph Info
  • Smart Contracts
    • Welcome
    • Integration
    • Contract Addresses
  • Fees
    • Fee Calculation
  • RPC
    • RPC Endpoints
  • Other
    • Assets
    • On the web
    • FAQ
Powered by GitBook
On this page
Edit on GitHub
  1. Hop Node
  2. Running a Hop Bonder
  3. Choosing a Platform

EC2 Setup

Set up a Hop Node on EC2

Last updated 1 year ago

Node Creation

Create an EC2 instance to run your Hop Node

On the AWS website

  1. Go to

  2. Sign into your AWS account

  3. In the "services" search bar, type "EC2" and click on the first result

  4. Click "Launch Instance"

  5. Select "Ubuntu Server 22.04 LTS (HVM), SSD Volume Type"

  6. Search for the instance type "m5.large" and select this instance

  7. In "Key pair (login)" specify the key you want to use for SSH

  8. In "Configure Storage", use 100GB and choose gp3.

  9. Click "Launch instance"

  10. Click "Launch Instances"

In the Terminal on your local machine

  1. Navigate to the directory where you downloaded your .pem file (for example, try cd ~/Downloads)

  2. Run the following commands to set up your Hop Node directory and server access.

i. Create .ssh directory if not existing already:

mkdir ~/.ssh

ii. Move .pem file to the ssh directory:

mv ~/Downloads/hop-node.pem ~/.ssh

iii: Change the permission of the .pem file for SSH:

chmod 400 ~/.ssh/hop-node.pem

On the AWS website

  1. Navigate to your EC2 instances (this should be the page you were on last)

  2. Select your instance and click the "Connect" button

  3. Choose "SSH client"

  4. Copy the last line labeled "Example"

In the Terminal on your local machine

  1. Paste the command you copied and run it

  2. When prompted, type "yes" and click enter

https://console.aws.amazon.com/