Add ssl certificate to an ec2 instance running in aws

Posted October 26, 2021 108 views
NginxUbuntuSecurityUbuntu 20.04

please help me…
i am using aws....i am using an instance (os-ubuntu),with nginx.
aws provide a service called certificate manager for provide ssl certificates.
but, i only use that certificate with a loadbalancer.
i am using only one server why am i pay for loadbalancer....
i want to know any another way to add ssl certificate to my instance with out load balancer.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You can use certificate from Let'sEncrypt using Certbot and Nginx inside your EC2 instance.

Please refer this guide:

Before doing this you have to make sure your instance has Public IP attached and is reachable publicly.