.ebextensions script for automatically installing letsencrypt SSL with Webroot mode on an Elastic Beanstalk running on Nginx without Elastic Load Balancing
(!) Based on : https://gist.github.com/tony-gutierrez/198988c34e020af0192bab543d35a62a
Opened up port 443 in your EC2 instance Security Group.
set two enviroment variables "CERTDOMAIN" and "EMAIL" on your Elastic Beanstalk app.
Create a folder .ebextensions and stick the file "AWS_Single_LetsEncrypt.config" in it (don't forget to change the extension)
Deploy your app and enjoy the green lock ;)