Right now I'm working with Cloudfront
as front-facing for the Application Load Balancer
in AWS.
I attached my default Security Group
(one) which has inbound rule both for HTTP
and HTTPS
for source 0.0.0.0/0
, it works fine, and I can access my application.
But when I attached Security Groups
(five) of it into the ALB
which the inbound rule for HTTP
and HTTPS
are from the IP ranges of CDN I get 503/504.
I followed this blogspot in creating the SG
using lambda function.
Any tip or idea how to resolve the issue? Thanks.