- 新しい順
- 投票が多い順
- コメントが多い順
Hello,
"Evaluate Target Health" works with Alias Records that support health checks, CloudFront is not a service supported as it does not return health checks.
I think a better option for you is to use CloudFront's custom error responses. This way if there is an error coming from the ALB, it can redirect traffic to a custom static page hosted on an S3 bucket.
See documentation here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GeneratingCustomErrorResponses.html
Another option is to front the site with CloudFront and use an origin group with one origin being the ELB and the other origin being the S3 static page. You would use the NoCache policy so that each request is sent to the origin instead of caching. See: Optimizing high availability with CloudFront origin failover.
関連するコンテンツ
- 質問済み 5年前
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
This should work nicely, though I'm having a hard time making it work. Thank you!