Nomad Cluster Setup

Terraform modules for creating Nomad servers and clients nodes on AWS.

Blockchain & Cloud ComputingHCLMIT

Abstract

Nomad Cluster Setup is an open-source Blockchain & Cloud Computing project. Terraform modules for creating Nomad servers and clients nodes on AWS. The repository includes a Packer file, to build a custom Amazon Machine Image (AMI) with Nomad and docker pre-installed. This AMI is used by the Terraform modules when creating the ASG instances. It is built using HCL, AWS, Terraform. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building a Blockchain & Cloud Computing mini project or final-year project.

1. Introduction

The repository includes a Packer file, to build a custom Amazon Machine Image (AMI) with Nomad and docker pre-installed. This AMI is used by the Terraform modules when creating the ASG instances.

2. Objective

Terraform modules for creating Nomad servers and clients nodes on AWS.

This project demonstrates how HCL, AWS, Terraform can be applied to a real-world Blockchain & Cloud Computing problem.

4. Technology Stack

HCLAWSTerraform

5. System Requirements

General requirements for this technology stack — check the README for exact versions.

  • Terraform CLI
  • Cloud provider account (e.g. AWS) with CLI configured
  • Git (to clone the repository)

6. Installation & Setup

git clone https://github.com/zerodha/nomad-cluster-setup.git
cd nomad-cluster-setup
  1. Nomad Cluster Setup
  2. AWS Resources
  3. Auto Scaling Group (ASG)
  4. Security Group
  5. IAM Role
  6. Nomad Server
  7. Terraform Module Reference
  8. Nomad Client

Full setup instructions are in the project README.

7. Future Enhancements

Suggested extensions you can add to make this your own project.

  • Add a CI/CD pipeline with GitHub Actions
  • Deploy to a public test network or cloud free tier
  • Add monitoring and cost alerts

8. Viva / Review Questions

Common questions examiners ask for projects in this domain.

  1. Why does this problem need a blockchain or cloud-native design?
  2. Explain the smart contract / infrastructure components and how they interact.
  3. How are gas costs or cloud costs kept under control?
  4. How is the system secured (keys, IAM, access control)?
  5. How would the solution scale to many more users?

9. Source Code & License

This project is developed by zerodha and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.

Want to build this as your internship project?

Work on a Blockchain & Cloud Computing project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.

Apply for Blockchain & Cloud Computing Internship