Terminated EC2 instance and return of WU

Questions and Answers : Getting started : Terminated EC2 instance and return of WU
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile ChristianVirtual
Avatar

Send message
Joined: 23 Jun 13
Posts: 21
Credit: 10,060,003
RAC: 0
Japan
Message 1559726 - Posted: 20 Aug 2014, 22:08:05 UTC
Last modified: 20 Aug 2014, 22:08:40 UTC

I used to have from time to time Amazon spot instances for other DC projects. I tried it also for SETI, setup worked well as did the processing.

Now the problem is: spot instances can be terminated at anytime. For some reason the cache was a bit bigger on that instance and fetched a umber of WU which will never processes anymore.
Is there a way to return them manually to avoid waiting until deadline ?

Apologies for my misoperation. Should have set the cache much smaller to avoid damage.
ID: 1559726 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 1559823 - Posted: 21 Aug 2014, 1:36:55 UTC - in response to Message 1559726.  
Last modified: 21 Aug 2014, 1:37:26 UTC

Actually, there is a way to fetch exactly one task, compute, and terminate if that is what you wanted.

I will have to go look up the incantation if that would be useful.


BOINC WIKI
ID: 1559823 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1559847 - Posted: 21 Aug 2014, 3:31:04 UTC - in response to Message 1559726.  
Last modified: 21 Aug 2014, 3:31:46 UTC

What are 'Amazon spot instances' and how they 'work'?

I try to read this:
http://aws.amazon.com/ec2/purchasing-options/spot-instances/

... but it seems too business/economy language and I hate it and refuse to read (this is the first time in years I refuse to read something)

I think I know BOINC well but never heard of 'Amazon spot instances'
If you don't explain better I doubt anyone here will be able to help.

"Is there a way to return them manually to avoid waiting until deadline ?"
'return' what?
What do you mean by 'return'?
 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1559847 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1559854 - Posted: 21 Aug 2014, 3:50:41 UTC - in response to Message 1559847.  

ID: 1559854 · Report as offensive
Profile ChristianVirtual
Avatar

Send message
Joined: 23 Jun 13
Posts: 21
Credit: 10,060,003
RAC: 0
Japan
Message 1559857 - Posted: 21 Aug 2014, 3:54:11 UTC

spot instance: Amazon offer a cloud service (AWS) where one can rent CPU power for whatever purpose.
Renting in two ways: a dedicated instance (higher price) or a spot-instance where you are in a bidding process. (Like for crude oil or other commodities).
Let say: I'm willing to pay 2$Per hour for a 32core CPU system for a day I can request that. If resources are available I get a cloud server provisioned I can use for example to run Linux.
If the price I set is lower the the average offered by others my instance might get terminated.

Those cloud server are great if you need on short notice addition power, etc when you have a render job for a movie or any other computational task. But you need to be ready to loose those power at any time (better have a storage/backup plan).
Now for F@H I do that and have my methodology to backup and restart with few hours lost if hit by a termination.
For SETI/BOINC I'm new and thought I set the buffer small enough to loose only few WU in case.

But as said: I did it wrong and now my account has a number of WU assigned I can't get processed anymore as the cloud server got terminated.

I just could wait until deadline and it cleanup itself. But that might be impolite for those peers waiting for the result.

That's why I'm looking for a way to abort/cancel/terminate assigned WU from my account and allow a reassignment to others (or myself).
ID: 1559857 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1559863 - Posted: 21 Aug 2014, 4:16:49 UTC - in response to Message 1559857.  

So, you are saying that the work units that were downloaded are lost? You could try to reset the project. If the work units aren't considered abandoned then resetting the project should allow Seti to redownload to your computer or virtual computer in this case. Worth a shot
ID: 1559863 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1559900 - Posted: 21 Aug 2014, 6:26:44 UTC - in response to Message 1559857.  

That's why I'm looking for a way to abort/cancel/terminate assigned WU from my account and allow a reassignment to others (or myself).

Sorry, not possible to abort tasks from account/web/browser (nor "to reset the project")

The situation you describe is similar as if (on local computer) HDD dies, right?
No any data from BOINC left in your possession?
Even in backup?
 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1559900 · Report as offensive
Profile ChristianVirtual
Avatar

Send message
Joined: 23 Jun 13
Posts: 21
Credit: 10,060,003
RAC: 0
Japan
Message 1559946 - Posted: 21 Aug 2014, 9:45:33 UTC - in response to Message 1559900.  


The situation you describe is similar as if (on local computer) HDD dies, right?
No any data from BOINC left in your possession?


Yeah, a dead HD w/o backup is very similar scenario :-(
ID: 1559946 · Report as offensive

Questions and Answers : Getting started : Terminated EC2 instance and return of WU


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.