I’ll introduce reference information for restricting AWS ALB access to CloudFront only.
Background: Want to Restrict ALB Access
There was a requirement to restrict AWS ALB access to CloudFront only, so I’ve compiled the articles I referenced to achieve this.
Restricting Access to CloudFront → ALB Only
Refer to the article ALBへのアクセスをCloudFront経由の通信に限定する - サーバーワークスエンジニアブログ.
Pattern for HTTPS Communication from CloudFront → ALB
Refer to the article CloudFrontからカスタムオリジンまでの通信をHTTPS化する方法を2パターン | DevelopersIO.
That’s all from the Gemba about restricting ALB access to CloudFront only.