Hands-on: Setup EC2 instance with Amazon CloudFront distribution, SSL and Route 53 custom domain

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • Amazon EC2, Amazon CloudFront, Amazon Route 53, and Amazon Certificate Manager(for HTTPS) can create a very useful architecture for your web applications. This video describes how to build it in AWS Management Console.
    In this video, you will learn:
    0:00 Architecture with EC2, CloudFront, Route 53, and ACM - intro
    0:27 Our architecture - EC2, CloudFront, Route 53, and ACM
    1:30 AWS Management Console demo - intro
    2:22 Creating a certificate in ACM for our domain name
    4:46 Creating CloudFront distribution
    08:02 Creating Route 53 alias records
    We provide special CloudFront pricing for organizations transferring as little as 1 TB of data per month and have saved companies up to 60% on their CDN data transfer-out costs.
    Calculate your savings at www.stormit.cloud/cdn-cost-ca...
    Interested in learning more about dynamic content acceleration and CloudFront CDN?
    www.stormit.cloud/blog/cloudf...
    Interested in learning more about Amazon CloudFront CDN?
    www.stormit.cloud/cloudfront/
    More about other AWS services at
    www.stormit.cloud/blog/
    You will need a certificate in your app on Amazon EC2, i’ve used Really Simple SSL plugin for my WordPress website.
    wordpress.org/plugins/really-...
    Learn how to create cache behaviors in CloudFront distribution for static content at
    www.stormit.cloud/blog/cloudf...
    Learn how to associate a static public IP address with EC2 instance at
    aws.amazon.com/premiumsupport...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @stormit9507
    @stormit9507  ปีที่แล้ว

    Got questions about AWS? 💡 Feel free to drop them below in the comments! ⬇ Looking for more Cloud Computing insights and tutorials? Don't forget to check out our blog at www.stormit.cloud/blog/ 🌩

  • @user-de6tq4zt4h
    @user-de6tq4zt4h วันที่ผ่านมา +1

    Really working fine thanks Sir

  • @eloquent2200
    @eloquent2200 7 หลายเดือนก่อน

    Thank you for your guidance. Everything is working!
    But I wanna tell you something important:
    If you have a problem with the SSL certificate status, try to create it without the button "Create records in Route 53".
    Because it creates records with TTL 300 by default and if you don't have the patience to like me do it by yourself and choose TTL 60.

  • @floridaholdings
    @floridaholdings 5 หลายเดือนก่อน +3

    This video should have a trillion views

    • @stormit9507
      @stormit9507  5 หลายเดือนก่อน

      Hi, thank you for your comment! Be sure to visit our blog at www.stormit.cloud/blog/ and subscribe to our newsletter for more updates.

  • @segunadebayo721
    @segunadebayo721 ปีที่แล้ว +1

    Well explained hands-on. Thank you

    • @stormit9507
      @stormit9507  ปีที่แล้ว +1

      Hi Segun, thank you for your comment. If you are interested in learning more about AWS Cloud, visit our blog at www.stormit.cloud/blog/

  • @TheAstroengineer
    @TheAstroengineer 6 หลายเดือนก่อน +1

    Thanks a lot. You have saved my time. It works like a charm.

    • @stormit9507
      @stormit9507  5 หลายเดือนก่อน

      Glad it helped. Visit our website www.stormit.cloud/ , if you want to learn more about our services.

  • @nikhilsolanki589
    @nikhilsolanki589 4 หลายเดือนก่อน

    its saying the record is successfully created but not shwoing in route52

  • @volodymyrb2923
    @volodymyrb2923 8 หลายเดือนก่อน +1

    Really helpfull and well explained. Thank you!

    • @stormit9507
      @stormit9507  8 หลายเดือนก่อน

      Hi, thank you for your comment. If you are interested in learning more about AWS Cloud, visit our blog at www.stormit.cloud/blog/

  • @bukolatestimony
    @bukolatestimony ปีที่แล้ว

    Thank you. This worked for me

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hi Bukola, thanks for your comment. If you are interested in learning more about AWS Cloud, visit our blog at www.stormit.cloud/blog/

  • @utkarshpatel7839
    @utkarshpatel7839 26 วันที่ผ่านมา +1

    Hello, i have a question if my frontend static content is in S3 so where i will be listing my s3, as i have written the Alb url in origin of Cloudfront, so where i have to put my S3 name?

    • @stormit9507
      @stormit9507  25 วันที่ผ่านมา

      Hi, you'll propably need a specific setup for caching behaviors in CloudFront. Basically you will have to use two origins and two caching behaviors based on a path.
      repost.aws/knowledge-center/cloudfront-distribution-serve-content
      If you need technical help with it, don't hesitate to contact us at www.stormit.cloud/contact/

  • @igboanugwocollins4452
    @igboanugwocollins4452 6 หลายเดือนก่อน +1

    Thank you very much, It worked

    • @stormit9507
      @stormit9507  6 หลายเดือนก่อน

      Hi, glad to help. Don't forget to check out our blog at www.stormit.cloud/blog/

  • @KarimFayed-oy5oo
    @KarimFayed-oy5oo 5 หลายเดือนก่อน +1

    Thanks, great video! I have a question concerning "my-test-2022" is it a domain you already have or have you created it in a previous video?
    I'm following your steps but I'm unable to create DNS record and the field "Is domain in Route 53?" has value of no

    • @stormit9507
      @stormit9507  5 หลายเดือนก่อน

      Hi, yes, this was my special testing domain that I have in Route 53 as a hosted zone. You can check, for example, this video - th-cam.com/video/FtNfhwyPMAs/w-d-xo.html or read this article - www.stormit.cloud/blog/setup-an-amazon-cloudfront-distribution-with-ssl-custom-domain-and-s3/ where the domain creation is described. If you need a technical help, contact us for a consultation here - www.stormit.cloud/contact/

  • @jondyason336
    @jondyason336 ปีที่แล้ว +1

    Super! Thanks!

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hi Jon, thank you for your comment. If you are interested in learning more about AWS Cloud or StormIT, visit our blog at www.stormit.cloud/blog/

  • @nikhilr5843
    @nikhilr5843 ปีที่แล้ว +2

    Need help installing SSL using Really simple SSL. Unable to do it because the UI is screwed up when using the domain name to login. If we use the IP address to login then the plugin does not work. Not sure what to do

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hi Nikhil, please contact us through our website - www.stormit.cloud/contact/, so we can arrange a consultation.

  • @user-ui4mc9jp3b
    @user-ui4mc9jp3b ปีที่แล้ว +1

    if the ec2 instance is in private subnet with no public ip but just load balance, can you get the result ?

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hi, thank you for your comment. Yes, I think this should work. Something similar is described in our video here: th-cam.com/video/6-fhKSzePRc/w-d-xo.html. The instances are not in a private subnet in this video, but this shouldn't be a problem and the whole process will be basically the same. If you need more specific assistance, please feel free to contact us for a consultation at: www.stormit.cloud/contact/

  • @victorhguimaraesvh
    @victorhguimaraesvh 2 หลายเดือนก่อน +1

    Thanks!!! i love you

    • @stormit9507
      @stormit9507  2 หลายเดือนก่อน

      Hi, thank you for your comment. If you are interested in learning more about AWS Cloud, visit our blog at www.stormit.cloud/blog/

  • @naveedpk00
    @naveedpk00 ปีที่แล้ว

    nice thank you

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hello Naveed, thank you for your comment. Feel free to checkout our blog for more useful tips regarding the AWS Cloud. www.stormit.cloud/blog/

  • @user-fh1zv2cg7g
    @user-fh1zv2cg7g 8 หลายเดือนก่อน

    well explined but my cloudfront is redirecting it to different site name

    • @stormit9507
      @stormit9507  7 หลายเดือนก่อน

      Hi, I would need more information to assist you with your issue. Could you please provide further details? Or you can contact us for a consulation here: www.stormit.cloud/contact/

  • @lynnvu115
    @lynnvu115 8 หลายเดือนก่อน

    why do you select “http only” instead of “https only” for the protocol?

    • @stormit9507
      @stormit9507  8 หลายเดือนก่อน

      Hi, the choice depends on your preference or application. In this case, I've chosen HTTP, but you should be able to use both methods. Ultimately, we installed the certificate on the EC2 instance, allowing us to connect to the instance via port 443. However, this might be specific to WordPress. In many cases, you can connect via port 80 without using the certificate on the instance itself. If you have further questions, don't hesitate to contact us at: www.stormit.cloud/contact/

  • @user-kv1lk5hl9t
    @user-kv1lk5hl9t 10 หลายเดือนก่อน

    is this SSL is free? Or AWS charged for this SSL?

    • @stormit9507
      @stormit9507  10 หลายเดือนก่อน +1

      Hi, we're using AWS Certificate Manager(ACM), and the certificates provided by this service are free. But also the certificate on the EC2 instance is free, because i'm using WP plugin that is free.

  • @sourabhdeshpande2112
    @sourabhdeshpande2112 ปีที่แล้ว +1

    i want do without ssl for http only

    • @stormit9507
      @stormit9507  ปีที่แล้ว

      Hello Sourabh, you can certainly set up your EC2 instance and CloudFront distribution to serve content over HTTP without SSL/TLS. You can configure your CloudFront distribution to use HTTP instead of HTTPS by changing the "Viewer Protocol Policy" option and setting it to "HTTP Only". And you don’t have to create and add any certificate. If you have further questions, contact us for a consultation at www.stormit.cloud/contact/ or if you are intersted in learning more about AWS, try reading our blog at www.stormit.cloud/blog/

  • @estudetrade
    @estudetrade 9 หลายเดือนก่อน +1

    Nice! How about sub domains, how its work?

    • @stormit9507
      @stormit9507  9 หลายเดือนก่อน +1

      Hi, in this video, I'm showing how to use it with the 'www' subdomain. You can leverage the same method with any other subdomain. You'll need to add this as an alternate domain name to the CloudFront distribution and also point the subdomain to the CloudFront distribution in Route 53. If you have further questions, don't hesitate to contact us via: www.stormit.cloud/contact/

    • @estudetrade
      @estudetrade 9 หลายเดือนก่อน

      tks for your help@@stormit9507

    • @estudetrade
      @estudetrade 9 หลายเดือนก่อน +1

      ​@@stormit9507 the big question is: can i set an ec2 (main site) to a domain and another ec2 (blog site) to a subdomain? it is really so confuse for me

    • @stormit9507
      @stormit9507  9 หลายเดือนก่อน

      ​@@estudetrade Yes, it should be possible. It's a bit tricky to explain, but you can create two CloudFront distributions, similar to what was shown in this video, with different configurations.