Tranquillity
Tranquillity

Reputation: 367

Is it possible to use AWS application load balance with CloudFront distribution and EC2 as target group

Hi I would like to use AWS application load balancer and create target group which should point default to my CloudFront distribution and based on the rule it will point to other apps. I could not find the resource to do it. Anyway have done such things.

Our landing page is pointing to the CloudFront distribution(+AWS S3) and we wanted to have with /xyz it should point to our ec2 instance.

Upvotes: 3

Views: 6781

Answers (1)

matesio
matesio

Reputation: 1604

You can't point to cloudfront from your application load balanacer instead you can create behaviours or behavior groups in cloudfront to point to your load balancer.

Just like

Default (*) -> s3

/xyz -> application load balancer

Upvotes: 5

Related Questions