Rome Docs
  • Getting Started
  • Overview of Rome
    • Rome Scales Bitcoin
      • How Rome Scales Bitcoin
    • Rome Scales Ethereum
      • How Rome Scales Ethereum
    • Rome Scales Rollups
      • How Rome Scales Rollups
    • Rome Provides Interop with Cosmos
      • How Rome Provides Interop with Cosmos
  • Nexus: Rome's Based Sequencer
    • How Nexus Works
    • Transaction Flow
  • Rome Interop
    • Rome SDK
    • Rome SDK Setup
      • Prepare Environment
      • Set Configuration
      • Run Rhea Example
      • Run Remus Example
      • Run Romulus Example
    • Remus: Cross-Rollup Atomicity
    • Romulus: Cross-Chain Atomicity
  • L2 EVM Setup
    • Prepare Config
    • Download Repos
    • Register your L2
    • Initialize your L2
    • Setup OP Geth Node
    • Run Block Explorer
    • Airdrop & Metamask
    • Check L2 State
    • Simple Transfers
    • Uniswap
    • Run on Remote Server
      • Setup AWS Server
      • Setup Certificate
  • Rome EVM
    • How to use Rome EVM
    • RPC Information
    • Tutorial to deploy a smart contract on Rome EVM
  • Shared Sequencer
    • Atomicity
    • Rome Transactions
    • Rhea
    • Hercules
    • Data Availability
    • Settlement
Powered by GitBook
On this page
  • Machine Specs
  • Add Docker's official GPG key
  • Add the repository to Apt sources:
  • Install docker-compose
  • Update Permissions
  • Install Solana
  • Open the EC2 Ports below

Was this helpful?

  1. L2 EVM Setup
  2. Run on Remote Server

Setup AWS Server

Start AWS server and install dependencies including Docker and Solana CLI

Machine Specs

c5a.4xlarge EC2, Ubuntu, 16 CPU, 32GB RAM, 64 bit x86, EBS volume 1 TB, ED25519 key pair

While these machine specs are recommended, you can also do the setup with much lower specs.

Add Docker's official GPG key

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

Add the repository to Apt sources:

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Not needed but just to check if docker is working
sudo docker run hello-world

Install docker-compose

sudo snap install docker
sudo apt install docker-compose

Update Permissions

sudo groupadd docker
sudo usermod -aG docker $USER
sudo chown root:docker /var/run/docker.sock
sudo chmod 660 /var/run/docker.sock
logout

Install Solana

sh -c "$(curl -sSfL https://release.solana.com/v1.18.18/install)"
export PATH="/home/ubuntu/.local/share/solana/install/active_release/bin:$PATH"

Open the EC2 Ports below

  • HTTP: 80

  • HTTPS: 443

  • Blockscout: 1000

PreviousRun on Remote ServerNextSetup Certificate

Last updated 5 months ago

Was this helpful?