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

Certbot on aws lambda? #69

Open
tommedema opened this issue Nov 23, 2017 · 3 comments
Open

Certbot on aws lambda? #69

tommedema opened this issue Nov 23, 2017 · 3 comments

Comments

@tommedema
Copy link

I would like to contribute to this repo by building certbot for AWS lambda.

Am I correct in assuming that I would have to spin up a AWS linux EC2 instance, and then build certbot in a statically linked manner? How would one do this? I would like to give it a try after being brought into the right direction.

@Miserlou
Copy link
Owner

Yep, either from a docker. But isn't certbot in pure python already?

@tommedema
Copy link
Author

@Miserlou yes but I'm trying to get an executable that I could run from e.g. node.js

@Miserlou
Copy link
Owner

If certbot is already pure python, you don't need to "run it from node.js". I'd suggest packaging and deploying using Zappa, then use the invoke command to call something like subprocess.check_output([ "/usr/bin/python2.7", "/var/task/certbot/whatever/certbots/cli/main/entrypoint/is" etc

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

No branches or pull requests

2 participants