To stop viewers from bypassing CloudFront and calling an Application Load Balancer directly, configure the distribution…