I'm manually deploying a prisma server to an ec2 c...
# orm-help
a
I'm manually deploying a prisma server to an ec2 cluster and have gotten it to work thus far, but there's no SSL on the endpoint/playground and I can't seem to find any info on how to add ssl, would I need to use something like nginx to add ssl and proxy to the container running prisma? or is there a better way?
r
Shouldn't you just add an SSL certificate in AWS? Through AWS Certificate Manager? Or am I missing something?
a
Quite possibly! I'm not very good with the full AWS stack yet.. It just seems like the container defaults to using HTTP for the endpoint so I figured there'd have to be some way to tell it to use SSL.
or otherwise just proxy to it through SSL
I'm not using a load balancer or anything, just a standard ec2 cluster which I'm using the public IP of my one machine in the "cluster" as the prisma endpoint.. I think the load balancer, if I chose to use one, would be capable of applying SSL to exposed container ports.. it's just more expensive than I'd like to spend
r
Are you using a custom domain or just the EC2 endpoint?
If you put your EC2 instance behind CloudFront you can add an SSL Cert via AWS Certificate Manager to that cloudfront 🙂
a
cloudfront the cdn?