SSL cert without ELB

You can use SSL/TLS certificates on your Amazon EC2 instances without using Elastic Load Balancing (ELB). You can use AWS Certificate Manager (ACM) to request and manage SSL/TLS certificates for your domain names and then install the certificate on your EC2 instance.

Here are the general steps to follow:

  1. Request a certificate using ACM: In the AWS Management Console, navigate to ACM and click "Request a certificate." Follow the wizard to request a certificate for your domain. You can choose to validate the domain ownership via email, DNS, or HTTP.

  2. Approve the certificate request: Once you have requested the certificate, you will need to approve it. If you chose email validation, you will receive an email with a link to approve the request. If you chose DNS validation, you will need to add a DNS record to your Route 53 hosted zone. If you chose HTTP validation, you will need to create a file with a specific name and content on your web server.

  3. Download the certificate: Once the certificate request is approved, you can download the certificate files from ACM.

  4. Install the certificate on your EC2 instance: You can install the certificate files on your EC2 instance using a web server such as Apache or Nginx. The steps to install the certificate will vary depending on the web server you are using. Generally, you will need to copy the certificate files to the appropriate directory on your server and configure your web server to use the certificate.

  5. Test the installation: Once the certificate is installed, you can test the installation by accessing your website using HTTPS.

Note that installing a certificate on an EC2 instance requires some technical knowledge and configuration of your web server. If you are not comfortable with this process, you may want to consider using a managed service like AWS Elastic Beanstalk, which provides an easy way to deploy and manage web applications on AWS.