Message boards : Documentation : Installing boinc client on Amazon Linux2 (EC2 spot instance)
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Apr 20 Posts: 1 |
Hi, This thread is about this wiki page. Following steps taken to fire up a boinc-client on Amazon EC2 spot instance, with boinc data deployed on EFS so it survives instance termination. Hope it helps others when deploying boinc client on AWS cloud. 1. Login to AWS console, EC2 page 2. Launch instance e.g. c5.xxx (CPU optimized) one 3. Login to EC2 instance by SSH 4. Install boinc-client on AWS EC2 Amazon Linux2 wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install boinc-client 5. Rename /var/lib/boinc to /var/lib/boinc.tmp (we will move content to EFS later) 6. Login to AWS console, EFS page. Create EFS share. Optional: access point with boinc user/group ID 7. Install EFS tools and mount EFS share sudo yum install -y amazon-efs-utils sudo mount -t efs -o tls,accesspoint=access-point-id file-system-id efs-mount-point /etc/fstab (to survive system restart): file-system-id efs-mount-point efs _netdev,tls,accesspoint=access-point-id 0 0 8. move content of /var/lib/boinc.tmp to EFS based /var/lib/boinc 9. Start boinc-client, add service sudo systemctl enable boinc-client sudo service boinc-client start 10. Add your project (lookup account key & attach project) e.g. sudo boinccmd --lookup_account project-url email password sudo boinccmd --project_attach project-url account-key Happy data crunching! |
Send message Joined: 8 Nov 19 Posts: 718 |
Are we talking about Amazon Fire tablets, Amazon Echo, or amazon cloud services? |
Send message Joined: 10 May 07 Posts: 1442 |
ProDigit, Maybe you need to learn how to use your favorite search engine before posting a dumb question. Amazon EC2 spot instance is a "cloud" aka internet virtual computer. |
Send message Joined: 8 Nov 19 Posts: 718 |
ProDigit, Maybe you need to learn how to use your favorite search engine before posting a dumb question. Not a single question is 'dumb'. Though comments like these are arrogant, and unnecessary. In the past I've tried finding solutions for Google Cloud services, but I did not imagine boinc could be ran from any cloud services; hence the question. Not many (if any) search results in this forum's search bar are a hit, when using 'spot' as search parameter. It's the first I hear about Amazon renting their CPUs to do this kind of work. Apparently there's a free trial offer to make use of it. How viable is it? I mean what do you get for the price in terms of Boinc PPD processing power? And what would be the sweet spot to run? a1.medium has enough ram for most projects, but has only 1 CPU disposable; while the higher tiers charge a lot more, and have more RAM at disposal than WUs use. |
Send message Joined: 5 Oct 06 Posts: 5128 |
I did not imagine boinc could be ran from any cloud services; hence the question.Then you're lacking in imagination. It's even documented: https://boinc.berkeley.edu/trac/wiki/CloudServer |
Send message Joined: 8 Nov 19 Posts: 718 |
Looking into it now... Seems interesting, especially if one gets a trial at no cost. Still need a lot more info to get one set up. |
Send message Joined: 10 Mar 20 Posts: 68 |
Keep it civil, everyone. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.