Does Cloudfront Distrubtion to an ALB Work?

I’ve hit an ECS fargate cluster using the ALB address + port 4566.

e.g. .elb.localhost.localstack.cloud:4566

The CloudFront distribution before the ALB doesn’t seem to connect or forward the request. I created an S3 access log bucket for distribution but no logs are generated in localstack.

e.g. c3ff0da2.cloudfront.localhost.localstack.cloud does not route or allow connections ( receive a 400).

Does this feature even work before I debug further? If there is a working example in CDK that would be great!

Thanks!

Hello @nwind21, if your issue persists, consider providing a minimal reproducible example and posting it here or at New Issue · localstack/localstack.

Note that ALB and CloudFront are accessible exclusively with the localstack-pro image under a paid subscription.