-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing esm to connect with server agents directly
- Loading branch information
srahul3
committed
Jan 14, 2025
1 parent
65c7897
commit a52fe96
Showing
6 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
log_level = "DEBUG" | ||
// instance_id = "agent-one" | ||
http_addr = "consulserver-1805099012.us-west-2.elb.amazonaws.com:8500" | ||
// main token | ||
token = "a234daab-bfd1-cbd3-1f83-abf24e094b39" | ||
// agent token | ||
// token = "ab8c3616-3731-ed0f-77e4-45126e24ca74" | ||
// instance_id = "a36ca779-ff11-dc3d-c610-31c017ab7156" | ||
consul_service_tag = "vpc:vpc1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
log_level = "DEBUG" | ||
instance_id = "agent-two" | ||
http_addr = "localhost:8500" | ||
token = "a234daab-bfd1-cbd3-1f83-abf24e094b39" | ||
// instance_id = "a36ca779-ff11-dc3d-c610-31c017ab7156" | ||
consul_service_tag = "vpc:vpc2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
log_level = "DEBUG" | ||
instance_id = "agent-three" | ||
// http_addr = "localhost:8500" | ||
//http_addr = "consulserver-1805099012.us-west-2.elb.amazonaws.com:8500" | ||
http_addr = "52.36.169.149:8500" | ||
//http_addr = "localhost:8500" | ||
// token = "a234daab-bfd1-cbd3-1f83-abf24e094b39" | ||
// scoped token | ||
token = "52e7af34-4d54-43bf-8548-4861c39bdd5b" | ||
// instance_id = "a36ca779-ff11-dc3d-c610-31c017ab7156" | ||
consul_service_tag = "vpc:vpc2" | ||
partition = "billing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
log_level = "DEBUG" | ||
// instance_id = "agent-two" | ||
http_addr = "localhost:8500" | ||
token = "a234daab-bfd1-cbd3-1f83-abf24e094b39" | ||
// instance_id = "a36ca779-ff11-dc3d-c610-31c017ab7156" | ||
consul_service_tag = "vpc:vpc2" | ||
// The service name for this agent to use when registering itself with Consul. | ||
consul_service = "billing:consul-esm" | ||
// The directory in the Consul KV store to use for storing runtime data. | ||
consul_kv_path = "billing:consul-esm/" |