In order to create this infrastructure, verify the ACM certificate and also use a CNAME for the NLP matching the certificate domain.
This NLP implementation uses ALPN:
Using ALPN policies, you can now offload your application’s TLS HTTP/2 traffic decryption/encryption to the Network Load Balancer, improving your service security posture and reducing operational complexity.
Additionally, this code will also provision a VPC Endpoint Service and a connected VPC Endpoint for private connection with the Network Load Balancer.
Create the resources:
terraform init
terraform apply -auto-approve
To connect to the jump server from your local box:
aws ssm start-session --target i-00000000000000000
Additional information regarding NLBs:
- NLB supports TLS termination, allowing it to use either
TLS
(forward the TLS) orTCP
(terminates the TLS) target protocols, depending on the solution requirements. - ALPN assists in the TLS negotiation to determine the protocol version.
- SNI allows and NLB listener to serve for multiple domains over TLS.