-datacenter - This flag controls the datacenter in which the agent is running. If not provided, it defaults to "dc1". Consul has first-class support for multiple datacenters, but it relies on proper configuration. Nodes in the same datacenter should be on a single LAN.
Is this functionally the same as
host in the traditional sense? If I have box1 and box2 one in say AWS US and one in AWS EU then I definitely should not put the
datacenter flag for each as the same correct?
If I then join these two AWS boxes on a Vswitch giving them the same VLAN then I can give them the same
What happens if I do or don’t in either case – the docs read to me as if this is a per-box basis LAN setting.