Skip to content

Will be used for storing configs or usable scripts to support Nomad and Consul High Availability

License

Notifications You must be signed in to change notification settings

habibiefaried/nomad-consul-ha-scripts

Repository files navigation

Description

Will be used for storing configs or usable scripts to support Nomad and Consul High Availability

Pre-requisites

AWS

  • Set IAM Role with Policy to describe instances
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "ec2:DescribeInstances",
            "Resource": "*"
        }
    ]
}
  • All VMs must have tag (in this script tipeserver:nomad). And also must be bound with IAM role above

Notes

Change the DNS2 to your DNS gateway. Let's say your VPC is 172.25.0.0/16, then the DNS will be 172.25.0.2.

Tested

  • AWS with Amazon 2 as Image

Post Request

DNSMasq Config

To allow request from public. the /etc/dnsmasq.conf file must have only this directive

conf-dir=/etc/dnsmasq.d,.rpmnew,.rpmsave,.rpmorig

About

Will be used for storing configs or usable scripts to support Nomad and Consul High Availability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages