Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 866 Bytes

File metadata and controls

26 lines (22 loc) · 866 Bytes

NEPTUNE Infrastructure

Politecnico di Milano

Overview

NEPTUNE-infrastructure is an infrastructure as code definition for k3s cluster in edge-autoscaler project. It uses Terraform to create multi-region and multi-availability zones AWS clusters with networking delays similar to an edge computing cluster.

Getting started

  • terraform init
  • terraform validate
  • create a scripts directory and populate it with the files that should be copied on each node (at least k3s executable is required)
  • create a valid plan:
    terraform plan -out plan \  
    -var 'AWS_CREDENTIALS_FILEPATH=<value>' \  
    -var 'SSH_PUBLIC_KEYPATH=<value>' \  
    -var 'SSH_PRIVATE_KEYPATH=<value>'
  • apply the plan
terraform apply plan
  • Enjoy your k3s cluster