aws, nomad,

How to install Nomad on AWS EC2 Amazon Linux 2 instance

Oct 13, 2021 · 1 min read · Post a comment
How to install Nomad on AWS EC2 Amazon Linux 2 instance

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resources by yourself. Investing time in Nomad will ease your life, why? Cause Nomad is a simple and lightweight orchestration tool that is suited and can be simply integrated with your existing services, either way on-premises or cloud depending on your current setup. You can scale your app without the complexity, the deployments are simplified as well, and last but not least there is a native terraform, consul, and vault integration because it’s a HashiCorp proprietary product.

Prerequisites

  • AWS account
  • EC2 instance with Amazon Linux 2 template

Install Nomad on AWS EC2 Amazon Linux 2 instance

Step 1. The usual thing is to update the system packages:

sudo yum update

Step 2. Install the confirm-manager with:

sudo yum install yum-utils

Step 3. Add HashiCorp official repo:

sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo

Step 4. Install Nomad:

sudo yum install nomad

Step 5. Once the installation is done, you can make sure that the Nomad is installed and check the current version with:

nomad --version

Output:

Nomad v1.1.6 (b83d623fb5ff475d5e40df21e9e7a61834071078)

Conclusion

If you are currently using Nomad whether it’s on cloud or on-premises please share some thoughts and tell us more about your satisfaction. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on telegram.