-
Notifications
You must be signed in to change notification settings - Fork 6
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
Research alternatives to Hetzner for testnet hosting #132
Comments
Here's a lost of some possible hosting services which provide metal/root servers:
|
I'm also discussing other options for hosting with a representative that can help us get a contract with one of these:
|
According to the OVH Cloud policy for
https://us.ovhcloud.com/legal/service-specific-terms But I see no such policy in the
But sending a separate email to their sales team is probably a good idea to verify. |
I have called OVH Cloud sales team in Poland and they have told me that the policy has not been updated but the same rules as for VPS also applies to dedicated servers. Just to be sure I also sent an email to sales with the same query:
But it looks like OVH Cloud will not work out. EDIT: I've also called their sales team in UK and they checked the French entity policy based on our org being from Switzerland and they said it's against the policy. I've been sent this link as reference:
https://storage.gra.cloud.ovh.net/v1/AUTH_325716a587c64897acbef9a4a4726e38/contracts/df42916-contrat_partDedie-GB-9.1.pdf |
Scaleway seems to have sensible pricing: https://www.scaleway.com/en/elastic-metal/aluminium/ And the Terms of Use do not seem to have anything about crypto, but I'd need to verify: https://www.scaleway.com/en/terms/ |
I've sent their sales team a question:
|
Innovahosting seems to have some sensible prices for dedicated servers: https://innovahosting.net/dedicated-server-hosting-in-europe And I see no references to crypto or mining in ther Terms of Service: https://innovahosting.net/terms Sent a query to their sales team:
|
I've received a response from InnovaHosting:
They are probably thinking of proof-of-work, so that comment about electricity usage is probably not applicable to us. |
I've received a response from Scaleway support:
No idea why they think Chia is okay, but all other mining is bad, even proof-of-stake testnets. |
I've also contacted NetCup support: https://www.netcup.eu/support/ Their prices looks sensible: EDIT: Looks like they have a policy against it: https://www.netcup.eu/bestellen/agb.php
|
I've also contacted the ServeRhino support: https://serverhino.com/support/ The R-Hexa and R-Octo root servers look decent:: EDIT: Actually, there is a policy against it in "Restrictions When Using Services":
Not sure what they mean by "designated physical servers", so I'll ask about that:
|
I've checked the Terms of Service for CtrlServers and found this: https://www.ctrlservers.com/terms-of-service/
And nothing else related to cryptocurrencies, so I guess they might be fine with mining. |
Response from CtrlServers:
I provided them with our requirements. |
It appears they could give us a discount on a bulk order of 22 servers:
Though the extra storage SSD will need adjustment. We'd probably need:
Sent them also rough bandwidth requirements:
|
Their offer is 169EUR per month for this:
Which is not amazing, considering we pay 37.3 EUR(AX-41) + 2x 20.9 EUR(2 TB SSD) = 79.1 EUR, but best so far. Ticket URL: https://www.ctrlservers.com/viewticket.php?tid=781855&c=XuSzHsLy |
Zahary pointed out that 2 Ghz is kinda low and he had issues syncing on a server like that:
I asked them about other available CPUs:
|
Another offer for 139EUR per month:
That's pretty nice. But I think we'd need 64 GB RAM, which would be 162EUR. |
I called OVHCloud UK sales team to confirm, and according to them it is prohibited:
https://storage.gra.cloud.ovh.net/v1/AUTH_325716a587c64897acbef9a4a4726e38/contracts/df42916-contrat_partDedie-GB-9.1.pdf |
I explained my issues with payment and this is what I got:
It might be that we have to pay with a bank transfer because I'm not creating a Paypal account. |
Test for replacement of Hetzner hosts: #132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Test for replacement of Hetzner hosts: #132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
We received the host, but since it has two separate data volumes I had to refactor the bootstrap role:
And now I can finally add the new host with two volumes:
And the volumes appear to be mounted correctly:
Although maybe I should have went with 2TB from the start. I added it without any validators to infra-nimbus/ansible/group_vars/nimbus.prater.yml Lines 154 to 158 in c05fad0
|
The nodes are up and syncing:
Disk utilization is fairly low: |
The beacon nodes are syncing:
With CPU load of about 5.0 on a machine with 8 cores: Low memory usage but plenty of caching and no SWAPing so far: And traffic of about 10 Mb/s: |
Looks like sync failed because one of the drives dedicated to Geth got filled up:
We probably should go with just 2 TB drives for all hosts. |
Nodes are still syncing:
|
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Disabled resync timer for now since it's not necessary;
|
For some reason the
|
I found these in logs:
And realized the trusted node URL is wrong:
I also had to resolve a firewall issue where the port 9300 was showing up as |
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
It appears one node has been fully synced but the other has not:
This is pretty weird, and might be caused by an enabled resync timer. |
MacOS M1 host is fully synced:
I have moved the validators and decomissioned the old MacOS host:
Too bad the MacStadium host was purchased on 2022-01-24, so it won't be released until 2023-09-24. The only thing remaining is to get Windows host working. |
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Replaced by `macm1-01.ih-eu-mda1.nimbus.prater`. #132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Looks like we can't handle 3000 validators per node currently: {
"lvl": "ERR",
"ts": "2023-09-06 11:30:37.407+03:00",
"msg": "Failed to read passphrase file",
"error_msg": "Too many open files",
"path": "/Users/nimbus/beacon-node-prater-testing/data/secrets/0x88b335a2a55c7f4e05488f8669abcc6bdff801e6ae943ec485c7a65bbabe8501f2cd893b674b88e90060bd444074e0d8"
} This is related to open file limits not being applied due to SIP:
|
status-im/infra-nimbus#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
#132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Fixed by raising the soft limit for the service:
All nodes are running:
|
The windows host has trouble building nodes in the first place:
|
According to this:
And our current Windows host was installed on 2023/07/05:
That means I have time till 2023/12/31 to activate a license. |
I found an interesting difference between the new Windows host:
|
I found a very well priced Windows Standard 2022 for 8 cores at CHF 69.90: |
Avoids issues with Windows builds like: ``` gcc -Os -Wall -W -Wstrict-prototypes -DNDEBUG -D_WIN32_WINNT=0x501 -Iinclude -I. -o wingenminiupnpcstrings.exe wingenminiupnpcstrings.c process_begin: CreateProcess(NULL, gcc -Os -Wall -W -Wstrict-prototypes -DNDEBUG -D_WIN32_WINNT=0x501 -Iinclude -I. -o wingenminiupnpcstrings.exe w ingenminiupnpcstrings.c, ...) failed. make (e=2): The system cannot find the file specified. ``` status-im/infra-nimbus#132 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
Looks like switching to
|
When I go
Which looks similar to these: |
What's interesting is that it also fails on the Hetzner host:
But the
So it seems like it continued to work purely because this file already exists. |
I copied
It's still broken. |
When I run the
Which means the environment in which the command is run by |
Found a relevant issue: There was a fix applied in transmission/miniupnpc@fa4fa71 from this PR: But it appears we already have this fix in our fork: status-im/miniupnp@d3a7441 But this comment states that it was not really fixed: miniupnp/miniupnp#270 (comment) |
I've opened an issue in I'm closing this as done. |
Since Hetzner hates crypto mining and states so in their policy:
https://www.hetzner.com/legal/dedicated-server/
We will need to migrate out hosts to an alternative server provider soon. To do that we need to find a suitable alternative.
The general requirement involve:
We'll need about 21 hosts with similar specs.
The text was updated successfully, but these errors were encountered: