Skip to content

Run on Elastic Beanstalk using container_commands? #66

@greaber

Description

@greaber

Thanks for starting this project.

I have an app on Elastic Beanstalk, and I am looking for a really simple way to get SSL working. I like that letsencrypt-aws uses Route 53 instead of email.

It seems to me that it would be possible to write some script that would run as a "leader only" container command that would run letsencrypt, figuring out the ELB name automatically. It could either set up a cron job, or it could just run once on deploy since I deploy frequently enough that I am not too worried about the certificate expiring because I waited too long.

Is this a viable approach? If so, maybe it would be worth including such a template for such a script and for the config needed to give the instance the right permissions. So it would really be a matter of following some simple instructions and filling in the domain names to put on the certificate.

I could perhaps try writing such a a script myself if the idea makes sense although I am not very familiar with AWS apis, and I was really just looking for a dead simple way to setup SSL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions