Network
- https://medium.com/be-tech-with-santander/using-docker-overlay-networks-configuration-guide-526b469befa4
- https://docker-k8s-lab.readthedocs.io/en/latest/docker/docker-flannel.html
- https://github.com/flannel-io/flannel/blob/master/Documentation/running.md
- https://www.linkedin.com/pulse/docker-networking-unleashing-power-overlay-networks-abdelrazek-1gmhf
- https://medium.com/@nobelrakib03/multi-container-host-networking-using-vxlan-overlay-network-c2ae7dc75c2c
Common
- https://developer.hashicorp.com/nomad/tutorials/transport-security/security-enable-tls
- https://developer.hashicorp.com/nomad/tutorials/manage-clusters/outage-recovery
- https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/autoscaling/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/security-group/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/alb/aws/latest
- https://registry.terraform.io/modules/terraform-aws-modules/acm/aws/latest
$ .wtf/install-dependencies.sh
# linter
$ .wtf/linter.sh
# how to generate certificats?
$ ./nomad-generate-certificats.sh -aws_region eu-west-1 -nomad_region europe -nomad_datacenter infra
# how to use the module with terragrunt?
$ terragrunt "[plan|apply|destroy|etc...]" --terragrunt-config examples/stages/europe-infra.hcl
# how to upgrade or provisionning nomad servers from inside?
$ ./nomad-upgrade.sh -stage examples/stages/europe-infra.hcl
# how to bootstrap nomad servers?
$ ./nomad-bootstrap.sh -stage examples/stages/europe-infra.hcl
- https://github.com/nekione/calico-nomad/blob/main/docs/main.md#step-6-installing-calicoctl-calico-plugins-and-calico-node
- https://docs.tigera.io/calico/latest/getting-started/bare-metal/installation/container
- https://docs.tigera.io/calico/latest/reference/configure-calico-node
- https://forge.puppet.com/modules/maxadamo/nomad_cni/readme
# get swarm status: [active, inactive]
$ docker info | grep Swarm | cut -d ' ' -f3