github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/website/source/guides/operations/cluster/cloud_auto_join.html.md (about)

     1  ---
     2  layout: "guides"
     3  page_title: "Cloud Auto-join"
     4  sidebar_current: "guides-operations-cluster-cloud-auto-join"
     5  description: |-
     6    Nomad supports automatic cluster joining using cloud metadata from various 
     7    cloud providers
     8  ---
     9  
    10  # Cloud Auto-joining
    11  
    12  As of Nomad 0.8.4,
    13  [`retry_join`](/docs/configuration/server_join.html#retry_join) accepts a
    14  unified interface using the
    15  [go-discover](https://github.com/hashicorp/go-discover) library for doing
    16  automatic cluster joining using cloud metadata. To use retry-join with a
    17  supported cloud provider, specify the configuration on the command line or
    18  configuration file as a `key=value key=value ...` string. Values are taken 
    19  literally and must not be URL encoded. If the values contain spaces, backslashes 
    20  or double quotes thenthey need to be double quoted and the usual escaping rules 
    21  apply.
    22  
    23  ```json
    24  {
    25    "retry_join": ["provider=my-cloud config=val config2=\"some other val\" ..."]
    26  }
    27  ```
    28  
    29  The cloud provider-specific configurations are documented [here](/docs/configuration/server_join.html#cloud-auto-join). 
    30  This can be combined with static IP or DNS addresses or even multiple configurations
    31  for different providers. In order to use discovery behind a proxy, you will need to set
    32  `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` environment variables per
    33  [Golang `net/http` library](https://golang.org/pkg/net/http/#ProxyFromEnvironment).
    34  
    35  
    36  
    37