Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testnet.polykey.io to point to the list of IPs running seed keynodes #177

Closed
CMCDragonkai opened this issue May 28, 2021 · 11 comments
Assignees
Labels
development Standard development epic Big issue with multiple subissues procedure Action that must be executed r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices

Comments

@CMCDragonkai
Copy link
Member

CMCDragonkai commented May 28, 2021

Done on cloudflare.

image

This will depend on us deploying the js-polykey keynode containers onto AWS.

Also change bootstrap.polykey.io to seed.polykey.io.

@CMCDragonkai CMCDragonkai added procedure Action that must be executed development Standard development labels Jul 9, 2021
@CMCDragonkai
Copy link
Member Author

@joshuakarp we have agreed to use the term "seed" rather than "bootstrap" or "broker".

So this should now be called seed.polykey.io and all other uses should be seed.

@CMCDragonkai CMCDragonkai added this to the Release Polykey CLI 1.0.0 milestone Jul 9, 2021
@CMCDragonkai CMCDragonkai changed the title Update bootstrap.polykey.io to point to the list of IPs running bootstrap keynodes Update bootstrap.polykey.io (seed.polykey.io) to point to the list of IPs running seed keynodes Jul 9, 2021
@joshuakarp
Copy link
Contributor

Uses of broker still needs to be refactored as seed throughout the nodes domain.

@joshuakarp
Copy link
Contributor

Furthermore, I should remove the separation of brokerNodeConnections to just be normal nodeConnections. Seed nodes are just nodes that we provide to a new keynode to "introduce" the keynode to the larger Polykey network. They aren't special. See a previous message from me for context:

There's a couple of reasons why the brokers are separate:

  • To establish a connection to them, it's assumed a direct connection is possible (so no need for hole-punching)
  • I don't add their details into the buckets database at all. I believe my assumption was that they are probably going to be 'owned' by us as Matrix AI, and they shouldn't be discoverable by other nodes (from getClosestGlobalNodes)

I know you said before that the broker nodes could be any node in the network though, and thinking about this some more now, it would probably make sense for these nodes to just be integrated like any other node. Unless we are treating them as something special (like a central 'Polykey' keynode)

@CMCDragonkai CMCDragonkai changed the title Update bootstrap.polykey.io (seed.polykey.io) to point to the list of IPs running seed keynodes Update mainnet.polykey.io and testnet.polykey.io to point to the list of IPs running seed keynodes Sep 20, 2021
@CMCDragonkai
Copy link
Member Author

So no both bootstrap nor seed.

The mainnet and testnet is more explanatory.

@CMCDragonkai CMCDragonkai added the epic Big issue with multiple subissues label Oct 26, 2021
@joshuakarp
Copy link
Contributor

This issue is also related to #269.

@joshuakarp
Copy link
Contributor

Start date changed from Nov 12th to Nov 18th (based on delays in #231).

@joshuakarp
Copy link
Contributor

joshuakarp commented Nov 16, 2021

Start date changed from Thursday Nov 18th to Monday Nov 22nd (delays in #269, #231, and CLI MR on Gitlab).

@joshuakarp
Copy link
Contributor

Start date changed from Mondya Nov 22nd to Thursday Dec 2 (delayed from refactoring work in #283).

@CMCDragonkai
Copy link
Member Author

The testnet.polykey.io now points as a CNAME record to polykey-testnet-71241bf1071fde8f.elb.ap-southeast-2.amazonaws.com.

testnet polykey io

It is DNS only because, all we are doing is forwarding the NLB IPs to testnet.polykey.io, no caching is necessary, the whole thing is an API. Also since there's no proxy enabled, then there's no cloudflare TLS being used here. Instead connections to the agents will be end to end encrypted to the agent task itself. It will be important that the NLB load balances in a sticky way according to the origin IP and port, so they hit the same ECS task.

[nix-shell:~/Projects/Polykey-Infrastructure]$ nslookup testnet.polykey.io
Server:		1.1.1.1
Address:	1.1.1.1#53

Non-authoritative answer:
testnet.polykey.io	canonical name = polykey-testnet-71241bf1071fde8f.elb.ap-southeast-2.amazonaws.com.
Name:	polykey-testnet-71241bf1071fde8f.elb.ap-southeast-2.amazonaws.com
Address: 13.54.143.110
Name:	polykey-testnet-71241bf1071fde8f.elb.ap-southeast-2.amazonaws.com
Address: 52.64.204.161
Name:	polykey-testnet-71241bf1071fde8f.elb.ap-southeast-2.amazonaws.com
Address: 54.66.209.134

@CMCDragonkai CMCDragonkai changed the title Update mainnet.polykey.io and testnet.polykey.io to point to the list of IPs running seed keynodes Update testnet.polykey.io to point to the list of IPs running seed keynodes Jul 11, 2022
@CMCDragonkai
Copy link
Member Author

Renamed this issue to focus only on testnet.polykey.io. This is done now, and we would want to configure Pulumi to auto update the testnet.polykey.io DNS to any new NLB DNS that gets created.

@CMCDragonkai
Copy link
Member Author

Mainnet deployment will be separate piece work.

@CMCDragonkai CMCDragonkai added the r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices label Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development epic Big issue with multiple subissues procedure Action that must be executed r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices
Development

Successfully merging a pull request may close this issue.

2 participants