github.com/manicqin/nomad@v0.9.5/terraform/aws/env/us-east/outputs.tf (about)

     1  output "IP_Addresses" {
     2    value = <<CONFIGURATION
     3  
     4  Client public IPs: ${join(", ", module.hashistack.client_public_ips)}
     5  
     6  Server public IPs: ${join(", ", module.hashistack.server_public_ips)}
     7  
     8  To connect, add your private key and SSH into any client or server with
     9  `ssh ubuntu@PUBLIC_IP`. You can test the integrity of the cluster by running:
    10  
    11    $ consul members
    12    $ nomad server members
    13    $ nomad node status
    14  
    15  If you see an error message like the following when running any of the above
    16  commands, it usually indicates that the configuration script has not finished
    17  executing:
    18  
    19  "Error querying servers: Get http://127.0.0.1:4646/v1/agent/members: dial tcp
    20  127.0.0.1:4646: getsockopt: connection refused"
    21  
    22  Simply wait a few seconds and rerun the command if this occurs.
    23  
    24  The Nomad UI can be accessed at http://${module.hashistack.server_lb_ip}:4646/ui.
    25  The Consul UI can be accessed at http://${module.hashistack.server_lb_ip}:8500/ui.
    26  
    27  Set the following for access from the Nomad CLI:
    28  
    29    export NOMAD_ADDR=http://${module.hashistack.server_lb_ip}:4646
    30  
    31  CONFIGURATION
    32  
    33  }