Constellation Network
IntroductionFundamentalsFor DevelopersNode Validators
  • Index
  • Introduction
  • Elements
    • Toolkit
    • Development Environment
    • Hydra CLI
    • Developer Dashboard
    • Telemetry Dashboard
    • Metagraph Monitoring Service
  • Metagraph Framework
    • Overview
    • Framework Architecture
    • Installation
    • Currency
      • Working with Tokens
    • Data
      • State Management
      • Lifecycle functions
    • Framework Endpoints
    • Custom Endpoints
  • Guides
    • Quick Start
    • Send a Transaction
    • Manual Setup
    • Customize Rewards Logic
    • Custom Data Validation
    • Working with p12 files
    • Snapshot Fees
    • Deploy a Metagraph
      • Security groups
      • Key pairs
      • Base instance
        • Generating base instance
        • Connect to the instance
        • Generating AMI (Image) from Base Instance
        • Launching instances from AMI
      • Start Metagraph Instances
        • Configuring P12 Files
        • Start Global L0 Instances
        • Start Metagraph L0 Instances
        • Start Currency L1 Instances
        • Start Data L1 Instances
  • Resources
    • Network APIs
    • Example Codebases
    • Metagraph Development Video Series
Powered by GitBook

Main

  • Website
  • Get DAG
  • Explore Projects
  • Partners

Socials

  • Telegram
  • Discord
  • X (Twitter)

Tools

  • Wallet
  • DAG Explorer
  • Coingecko

© 2025 CONSTELLATION NETWORK

On this page

Was this helpful?

Export as PDF
  1. Guides
  2. Deploy a Metagraph
  3. Base instance

Generating base instance

PreviousBase instanceNextConnect to the instance

Last updated 2 months ago

Was this helpful?

In this section, we will create a single EC2 instance that we will use as a template for the other two EC2 instances. This allows us to perform these tasks once and then have the output replicated to all the instances.

Create a Base Instance

Navigate to the Instances section on the Amazon EC2 console.

base instance 01

Assign a name to your instance. For this guide, we will call it Metagraph base image.

In the Choose an Amazon Machine Image (AMI) section, select Ubuntu and then Ubuntu server 20.04. You should keep 64-bit (x86).

For the instance type, choose a model with 4 vCPUs and 16 GiB memory. In this case, we'll use the t2.xlarge instance type.

In the Configure Instance Details step, select the key pair you created earlier in the Key pair name field.

In the Network settings section, you select the security group you created earlier.

In the Configure storage section, you specify the amount of storage for the instance. For this tutorial, we'll set it to 160 GiB.

Finally, press Launch instance. Your base instance should now be running.

You can check the status of your instance in the Instances section of the Amazon EC2 console.

Click on Launch Instances.

Choose an AMI

Select a Key Pair

Select Security Group

Configure Storage

Launch Instance

​
​
​
​
​
​
​