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

Sdílet
Vložit
  • čas přidán 27. 07. 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...
  • Věda a technologie

Komentáře • 44

  • @stormit9507
    @stormit9507  Před rokem

    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 Před 6 dny +1

    Really working fine thanks Sir

  • @floridaholdings
    @floridaholdings Před 5 měsíci +3

    This video should have a trillion views

    • @stormit9507
      @stormit9507  Před 5 měsíci

      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.

  • @eloquent2200
    @eloquent2200 Před 7 měsíci

    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.

  • @TheAstroengineer
    @TheAstroengineer Před 6 měsíci +1

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

    • @stormit9507
      @stormit9507  Před 5 měsíci

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

  • @segunadebayo721
    @segunadebayo721 Před rokem +1

    Well explained hands-on. Thank you

    • @stormit9507
      @stormit9507  Před rokem +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/

  • @bukolatestimony
    @bukolatestimony Před rokem

    Thank you. This worked for me

    • @stormit9507
      @stormit9507  Před rokem

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

  • @igboanugwocollins4452
    @igboanugwocollins4452 Před 6 měsíci +1

    Thank you very much, It worked

    • @stormit9507
      @stormit9507  Před 6 měsíci

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

  • @volodymyrb2923
    @volodymyrb2923 Před 8 měsíci +1

    Really helpfull and well explained. Thank you!

    • @stormit9507
      @stormit9507  Před 8 měsíci

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

  • @jondyason336
    @jondyason336 Před rokem +1

    Super! Thanks!

    • @stormit9507
      @stormit9507  Před rokem

      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/

  • @KarimFayed-oy5oo
    @KarimFayed-oy5oo Před 5 měsíci +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  Před 5 měsíci

      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 - czcams.com/video/FtNfhwyPMAs/video.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/

  • @victorhguimaraesvh
    @victorhguimaraesvh Před 2 měsíci +1

    Thanks!!! i love you

    • @stormit9507
      @stormit9507  Před 2 měsíci

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

  • @utkarshpatel7839
    @utkarshpatel7839 Před měsícem +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  Před měsícem

      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/

  • @nikhilr5843
    @nikhilr5843 Před rokem +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  Před rokem

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

  • @naveedpk00
    @naveedpk00 Před rokem

    nice thank you

    • @stormit9507
      @stormit9507  Před rokem

      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-ui4mc9jp3b
    @user-ui4mc9jp3b Před rokem +1

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

    • @stormit9507
      @stormit9507  Před rokem

      Hi, thank you for your comment. Yes, I think this should work. Something similar is described in our video here: czcams.com/video/6-fhKSzePRc/video.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/

  • @nikhilsolanki589
    @nikhilsolanki589 Před 5 měsíci

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

  • @estudetrade
    @estudetrade Před 10 měsíci +1

    Nice! How about sub domains, how its work?

    • @stormit9507
      @stormit9507  Před 10 měsíci +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 Před 10 měsíci

      tks for your help@@stormit9507

    • @estudetrade
      @estudetrade Před 10 měsíci +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  Před 10 měsíci

      ​@@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.

  • @user-fh1zv2cg7g
    @user-fh1zv2cg7g Před 8 měsíci

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

    • @stormit9507
      @stormit9507  Před 8 měsíci

      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 Před 8 měsíci

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

    • @stormit9507
      @stormit9507  Před 8 měsíci

      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 Před 10 měsíci

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

    • @stormit9507
      @stormit9507  Před 10 měsíci +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 Před rokem +1

    i want do without ssl for http only

    • @stormit9507
      @stormit9507  Před rokem

      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/