Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needed to set environment variables #62

Open
TomNicholas opened this issue Jul 18, 2022 · 3 comments
Open

Needed to set environment variables #62

TomNicholas opened this issue Jul 18, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@TomNicholas
Copy link
Collaborator

TomNicholas commented Jul 18, 2022

I got the first example to run 🍾

python examples/lithops-add-asarray.py "s3://cubed-$USER-temp" cubed-runtime

But to get it to run on AWS (I don't have a Modal account) I did have to export some environment variables that weren't documented (thank you @yuvipanda):

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION

I also had to use sudo for some docker commands.

@tomwhite
Copy link
Member

Glad it worked!

We can update the docs to mention those environment variables.

I also had to use sudo for some docker commands.

Was this when running lithops runtime build or something else?

@tomwhite
Copy link
Member

Another thing that's missing from the docs is setting ulimit

ulimit -n 1024

I found I needed this for running the larger lithops examples.

@tomwhite tomwhite added the documentation Improvements or additions to documentation label Jul 18, 2022
@tomwhite
Copy link
Member

Another thing that's missing from the docs is setting ulimit

I added a note about this in 4a371a9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants