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

AWS lambda support #23

Open
chriskuehl opened this issue Jan 17, 2018 · 0 comments
Open

AWS lambda support #23

chriskuehl opened this issue Jan 17, 2018 · 0 comments
Assignees

Comments

@chriskuehl
Copy link
Owner

Lambda supports python3.6 now!

A cool setup for dumb-pypi would be to have it run in a lambda function triggered by changes to an S3 bucket (e.g. new object uploaded) and then export the archive into a new S3 bucket. This is neat because there's very little infrastructure to maintain and will have very high uptime (assuming you serve from S3 directly).

It's probably pretty easy to use dumb-pypi already in lambda, but it'd be nice to document how to do it.

Note that if you need to support old pip (<8.1.2), then you still won't be able to serve the index directly from S3 because the webserver needs to do some normalization of package names. However, your webserver could be as simple as proxy_pass to the right S3 URL, with the redirect trick in the README.

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

Successfully merging a pull request may close this issue.

1 participant