Deploy a 3-Tier Architecture on AWS with CloudFront and EC2 Instances | AWS solutions - 05

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 2

  • @MiladMahdian-rn2cy
    @MiladMahdian-rn2cy 16 วันที่ผ่านมา

    Great content. Why did you choose HTTP as the protocol to connect to the origin when setting up the cloudfront distribution? Follow up: would any of the steps change if one chooses HTTPS instead?
    Thanks so much!

    • @LearnItRightWay_
      @LearnItRightWay_  13 วันที่ผ่านมา +1

      Good point! Yes, we should use HTTPS since the ALB is internet-facing, and traffic between CloudFront and the ALB will traverse the public internet.
      Here are the additional steps:
      ALB Configuration: Set up an HTTPS listener and associate an SSL/TLS certificate from ACM.
      CloudFront Settings: Configure CloudFront to use HTTPS with the ALB.
      Security Group Configuration: Ensure only HTTPS traffic is allowed to the ALB by updating security group.
      Thanks!