Comments (11)
Seems to be hanging on the Lambda instance filter creation process.?
from aws-ethereum-miner.
I am sure its something stupid that I missed... I've never worked with CF so I am not sure why the instance filter keeps failing.
from aws-ethereum-miner.
The instance filter simply filters the list of instances by availability and then sorts by their cost/performance ratio. It shouldn't take too long. By now it will probably have timed out - what errors do you see?
You can check the InstanceFilterLambda logs in CloudWatch logs.
from aws-ethereum-miner.
I found this in the Lambda logs:
[ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'index': invalid syntax (index.py, line 1)
Traceback (most recent call last):
File "/var/task/index.py" Line 1
%%{lambdas/instance-filter.min.py}%%
from aws-ethereum-miner.
timestamp | message |
---|---|
1639599711287 | START RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Version: $LATEST |
1639599711288 | [ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'index': invalid syntax (index.py, line 1) Traceback (most recent call last): File "/var/task/index.py" Line 1 %%{lambdas/instance-filter.min.py}%% |
1639599711306 | END RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 |
1639599711306 | REPORT RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Duration: 19.05 ms Billed Duration: 20 ms Memory Size: 128 MB Max Memory Used: 37 MB Init Duration: 117.74 ms |
1639599771441 | START RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Version: $LATEST |
1639599771443 | [ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'index': invalid syntax (index.py, line 1) Traceback (most recent call last): File "/var/task/index.py" Line 1 %%{lambdas/instance-filter.min.py}%% |
1639599771444 | END RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 |
1639599771444 | REPORT RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Duration: 0.90 ms Billed Duration: 1 ms Memory Size: 128 MB Max Memory Used: 37 MB |
1639599904615 | START RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Version: $LATEST |
1639599904617 | [ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'index': invalid syntax (index.py, line 1) Traceback (most recent call last): File "/var/task/index.py" Line 1 %%{lambdas/instance-filter.min.py}%% |
1639599904618 | END RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 |
1639599904618 | REPORT RequestId: 47fde443-90f0-4882-979c-260f3ba1f1e1 Duration: 1.26 ms Billed Duration: 2 ms Memory Size: 128 MB Max Memory Used: 37 MB |
from aws-ethereum-miner.
I have not had any problems running your version of the script, I just don't see how my version would change this part of the code at all.
from aws-ethereum-miner.
Well I found a number of problems with my template. The first is that the commands actually don't work, AND more importantly, for the AMI you are using, miniZ miner does not detect any CUDA gpu's. I looked up the AMI from a working ethminer I have running using your script, and then launched another instance using that AMI (which I assume has the cuda drivers and gpu's installed as a G4.xlarge instance). However, it could be that miniZ does not support the V4 GPU? This might be over my head to troubleshoot.
from aws-ethereum-miner.
Righto, you have based your mods on src/template-eth-default-vpc.yml
which doesn't have the Lambdas included. You'll need to do your changes in the top directory's template-eth-default-vpc.yml
instead. Or run "make" in the top directory but for that you'll need to install some extra tools - pyminifier, pylint, maybe some more. It's easier to port your changes to the compiled yml file in the top dir.
from aws-ethereum-miner.
And regarding the incompatibility with miniZ - I don't know to be honest. It could be that it doesn't support the newer GPUs or CUDA 11. You can try to force the template to g4dn.xlarge
- that's got an older GPU, that may be supported. But since ETH is more profitable still I'd just mine that if I were you.
from aws-ethereum-miner.
Thanks! This was a great learning experience. I got to touch on many new things and see how they work. Flux is certainly not worth mining on AWS, and Eth is only worth doing if you have the extra compute to spare. I will try to incorporate the changes you mentioned and give it another shot. If successful I will upload the forked version so others can try different coins. Now, what would be super cool would be an encompassing CF template that ran a check on whattomine to see whats most profitable and run that, and dual mine a CPU coin like Raptoreum at the same time. :) (AND just as I was typing this, my template is working fine now.... THANKS!)
from aws-ethereum-miner.
Glad that it works now :)
The trouble with whattomine is that it doesn’t list the performance of the cards used by AWS. So it’s hard to use for our needs.
from aws-ethereum-miner.
Related Issues (20)
- feature request HOT 1
- issue Rollback_Complete HOT 29
- Ethwallet changes once launched or doesn't properly set HOT 4
- Workers not showing up although a total of 404 instances were created and active HOT 12
- Mine monero instead of ETH HOT 2
- How do I know that I'm running at full capacity? HOT 1
- Running ethminer results in prompt flagging of the account by AWS, shutting down operation HOT 3
- cant find devices HOT 3
- Reporting Function HOT 1
- Ethereum PoW Mining Phase Ends Soon - Ethereum Classic support HOT 3
- Can i use ETH address in my coinbase or FTX wallet or do i need to use metamask? HOT 6
- Ergo, Ravencoin or Beam AWS CloudFormation template request HOT 3
- Request: Redline comments for updating to any chain HOT 2
- Shall I press some magic button? HOT 6
- Need Help
- 6 instances are running and on dashboard showing only 1
- how to join a miner pool?
- 2 instances g4ad.xlarge just 0,019% of recovery cost HOT 5
- Add Monero mining in yml Script
- Always ETC is mined irrespective of other coin selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-ethereum-miner.