What's the soundest way to use HTTPS on a single instance EBS environment?

0

This is for our staging environment. It's supposed to be as close as possible to production, but it will never need more than 1 instance. 2 solutions come to my mind:

  • Switch to a load balanced environment with only 1 max instances, and setup HTTPS on the load balancer (like I did for prod)
  • Setup HTTPS directly on the EC2 instance associated with the EBS environment.

I'm just not sure which is the simplest and most efficient method. I'm also wondering if switching to load balanced would come with increased cost, even if there's just 1 instance... Thanks in advance!

Mickael
asked 9 months ago222 views
1 Answer
1
Accepted Answer

Hello.
As you are aware, there is a fee for using a load balancer.
I think the easiest way to set up SSL is to use ACM and set it up in the ALB.
The same procedure can be used to configure the settings as they have already been configured in the production environment.
In addition, it is useful to have the same configuration in the verification environment and the production environment to isolate problems caused by differences in the environments when troubleshooting.
If cost is a priority, it is better to set up an SSL certificate directly on EC2.

profile picture
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago
  • Thank you for the answer. And yes, I created the staging environment by cloning the production one, and switching it back a single instance instead of load-balanced, so that the environments are basically the same. I just want to make sure I'm not spending money for no reason. Plus, if I had the time and expertise to fully configure everything, I would use Fleet, not EBS...

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions