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?

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ