Where TLS ends

You are the request. Watch where the letter gets opened, and who checks each ID.

sealed letter = TLSpostcard = plain HTTPID card = certificate
Load balancerWhat sits in front of the service.
Target group protocolWhat the ALB sends on to Go.not applicableAn NLB TCP listener only forwards bytes.
Go server listens onWhat the Go server can read.
sealed letterTLS, :443
postcardplain HTTP, :80, inside the VPC
Browser
ALBApplication LB
Go serverin an ECS task
you start hereopens the letter, reads the pathreads postcards, :80
1certificate, on the ALB
L7 routingyes: path and header rules
ALB's IDhop 1
ACM certificate
The browser checks it: accepted.
filesStay inside ACM. You only get an ARN; the ALB reads the certificate there, and the private key never reaches you.
Go's ID
No ID on Go
A postcard needs no ID.
The browser gets200 OK

The default. The ALB opens the letter, reads the path, and passes Go a postcard inside the VPC. One certificate, and only the browser checks it.

The target group protocol matches what Go speaks: HTTP.