Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
![]() |
World Community Grid Forums
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 49
|
![]() |
Author |
|
jcderose
Cruncher Joined: May 15, 2020 Post Count: 3 Status: Offline |
Hey there! I installed the agent on my laptop but it got me thinking: I'd happily install the agent on a Linux VM in AWS (or another cloud provider). I see instructions for installing on Linux but I don't see any instructions for minimum compute requirements, required network ports, etc. that I'd need in order to run the agent on a Linux VM in AWS.
Any ideas? |
||
|
giba
Veteran Cruncher Brazil Joined: Dec 2, 2004 Post Count: 846 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
i THINK THAT WOULD BE A GREAT DISCOVER IF YOU GET IT !
![]() ![]() ![]() ![]() |
||
|
captainjack
Advanced Cruncher Joined: Apr 14, 2008 Post Count: 144 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Last time I ran an AWS instance, there was nothing special required. No minimum compute requirements and the server came with all the network access that was required. Be sure to get a server instance type that is Intel based (not ARM). You can select either Windows or Linux for the O/S, there is a difference in price. I used an Ubuntu Linux server O/S. Install the BOINC client then use the BOINCCMD tool commands to control the BOINC activities.
AWS will let a potential user set up a free account that supplies a low powered server instance for 1 year so you can try it out. AWS also has some online training that will show you how to get started. Best of luck. |
||
|
jcderose
Cruncher Joined: May 15, 2020 Post Count: 3 Status: Offline |
Thanks for this information @captainjack! One follow-up question: what ports did you need to open on the instance's security group? Is it just port 80? Port 80 and 443?
|
||
|
hwierzbicki
Advanced Cruncher Joined: May 1, 2016 Post Count: 55 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Google Cloud Compute offers $300 in free credit. Should last you about a month with a 16C VM.
----------------------------------------![]() |
||
|
captainjack
Advanced Cruncher Joined: Apr 14, 2008 Post Count: 144 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
jcderose asked:
One follow-up question: what ports did you need to open on the instance's security group? Is it just port 80? Port 80 and 443? I've slept since then but I don't remember having to open any ports. If you decide to pursue this approach, please let everyone know what you find out. |
||
|
CaffeinatedSloth
Advanced Cruncher United Kingdom Joined: Nov 12, 2014 Post Count: 80 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
On this - I was about to post a thread, but glad I saw this first! I'm very new to the Linux game, having only really used raspian on my relatively old Pi to install BOINC and leave to run. I have a couple of AWS accounts on the go that I needed for a windows VM - I'm about a month into the free trial for them and would like to get a linux machine set up on each to run BOINC.
----------------------------------------For now, I'm only interested in machines that will run on the free trial, but may branch out later. Could somebody please recommend the best (easiest/most efficient/least likely to need me to do much with after setup) version of Linux to set up on it? And after that, could I be a huge pain and ask for a step by step guide (from setup of the device) on how to install BOINC and connect to projects (mainly WCG/WUProp) on the instance so that I can then leave it running and leave it be, please? I tried on an Ubuntu instance a week or so ago, but couldn't figure out how to make it work (even following the instructions on BOINC's website). Thank you in advance - it'll be a huge favour walking me through this! I know it won't add much power to WCG, but every little helps, right? :D Chris EDIT: This would also obviously be a headless system so would need to connect to it somehow - I think this is possible through my AWS account but something like RDP would be preferable if someone could help with that too. ![]() ![]() ![]() [Edit 1 times, last edit by CaffeinatedSloth at May 30, 2020 2:47:12 PM] |
||
|
Falconet
Master Cruncher Portugal Joined: Mar 9, 2009 Post Count: 3295 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ubuntu 20.04 server edition on Google Cloud Computing. This setup is equal on any Ubuntu instance, I'm sure. Once you create the instance, click SSH. A windows will open and type these commands one by one:
----------------------------------------1. sudo apt update 2. sudo apt install boinc-client 3. boinccmd --project_attach https://www.worldcommunitygrid.org/ INSERT WEAK ACCOUNT KEY HERE (get it from here) 4. boinccmd --run_benchmarks (optional, wait 30 seconds for it to finish) 5. boinccmd --get_host_info (optional, displays host info like BOINC benchmarks, number of CPUs, cache, etc)) 6. boinccmd --get_tasks (also optional, to see running tasks) Type htop to get a sort of task manager if you want. I use preemptive E2 personalized instances. a 16 core, 8 GB RAM instance costs about €0,11 per hour but shuts down every 24 hours unless it gets shut down before so I check it a few times a day so I can restart it (no data is ever lost). AMD Ryzen 5 1600AF 6C/12T 3.2 GHz - 85W AMD Ryzen 5 2500U 4C/8T 2.0 GHz - 28W AMD Ryzen 7 7730U 8C/16T 3.0 GHz [Edit 5 times, last edit by Falconet at May 30, 2020 3:24:37 PM] |
||
|
CaffeinatedSloth
Advanced Cruncher United Kingdom Joined: Nov 12, 2014 Post Count: 80 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks, Falconet! I've had a look through and that looks like what I need :) I've just tried setting up an AWS client, but it won't let me open the client up once it's started, for whatever reason... I'll ty again tomorrow, but I have the info now, so thank you once again :)
----------------------------------------Chris ![]() ![]() ![]() |
||
|
Falconet
Master Cruncher Portugal Joined: Mar 9, 2009 Post Count: 3295 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I can't help with AWS. I tried it once with their free VM (very slow btw) but I remember I had to use Putty and some authentication files from AWS so I could connect via SSH. GCP is easier as you just click the SSH button and it opens a new window that automatically connects to the VM.
----------------------------------------AMD Ryzen 5 1600AF 6C/12T 3.2 GHz - 85W AMD Ryzen 5 2500U 4C/8T 2.0 GHz - 28W AMD Ryzen 7 7730U 8C/16T 3.0 GHz [Edit 1 times, last edit by Falconet at May 30, 2020 8:04:59 PM] |
||
|
|
![]() |