Comments (4)
I have it writing a script similar to the following. So, I'm hoping this will work.
#!/bin/bash
cd "/root"
/usr/local/bin/brenda-node --daemon <<EOF
AWS_ACCESS_KEY=HIDDEN
AWS_SECRET_KEY=HIDDEN
BLENDER_PROJECT=s3://HIDDEN/Chinchillax_YellowParticleMesh.gz
WORK_QUEUE=sqs://HIDDEN
RENDER_OUTPUT=s3://HIDDEN
S3_REGION=us-west-2
SQS_REGION=us-west-2
DONE=shutdown
EOF
from brenda-web.
Bummer, it seems like this didn't work.
from brenda-web.
The following articles were good leads to what hopefully solves the problem. The UserData apparently needs to be in base64 format.
http://stackoverflow.com/questions/6182315/how-to-do-base64-encoding-in-node-js
http://serverfault.com/questions/592423/how-do-i-launch-an-amazon-ec2-spot-instance-with-userdata
from brenda-web.
Well it worked. Now I need to ensure it actually pulls from the SQS queue.
from brenda-web.
Related Issues (20)
- Update the interface on the start job page.
- Error in services/BrendaWork -> start HOT 6
- Figure out how to get a callback from the Spot Instance Request status
- Block Device Mapping?
- Instance Store on EC2 Instance?
- Historical Price Data in Interface
- Read SailsJS Scaling Doc if pushed to Heroku
- Angular Sails Bind
- Build Travis-like Log Window Containing Server Status
- Write tests
- AWS Spot Instance Price Strategies
- AWS Renderfarm Market Analysis/Study
- sockets.io is throwing (global.File && obj instanceof File) error HOT 1
- Passport and MongoDB Issue?
- Add Other Passport Strategies
- jobs/add_spot: Show visual feedback when file added.
- Add brenda permission to generated SQS queue? HOT 1
- Add an input for jumping frames on the Start Spot Instance Form
- Pagination on the /jobs
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 brenda-web.