CloudFront host headers rejected by ISTIO

0

My customer is using ISTIO as the service mesh in EKS.

They are presented with an issue whenever they try to call a service in the EKS cluster using a CloudFront distribution from a different AWS account as the host header is rejected by ISTIO.

Do you know if there’s any way to change the Host Header in CloudFront to mimic that of the certified domain name in the AWS EKS account i.e. an alias, or custom header?

AWS
Chara_G
已提问 4 年前475 查看次数
1 回答
0
已接受的回答

You can use Lambda@Edge to change the host header on the forward request to the origin.

Please see the following example code. Example: Using an Origin-Request Trigger to Change From an Amazon S3 Origin to a Custom Origin https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-content-based-custom-origin-request-trigger

AWS
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则