Hands-on: Setup EC2 instance with Amazon CloudFront distribution, SSL and Route 53 custom domain
Ғылым және технология
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
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/ 🌩
Really working fine thanks Sir
Well explained hands-on. Thank you
@stormit9507
Жыл бұрын
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/
Thanks a lot. You have saved my time. It works like a charm.
@stormit9507
5 ай бұрын
Glad it helped. Visit our website www.stormit.cloud/ , if you want to learn more about our services.
Thank you. This worked for me
@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/
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.
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
Жыл бұрын
Hi Nikhil, please contact us through our website - www.stormit.cloud/contact/, so we can arrange a consultation.
This video should have a trillion views
@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.
Really helpfull and well explained. Thank you!
@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/
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
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 - kzread.info/dash/bejne/eKiCyMqwqbOzcdY.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/
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
27 күн бұрын
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/
if the ec2 instance is in private subnet with no public ip but just load balance, can you get the result ?
@stormit9507
Жыл бұрын
Hi, thank you for your comment. Yes, I think this should work. Something similar is described in our video here: kzread.info/dash/bejne/aGGayq2Mqsi2gsY.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/
Thank you very much, It worked
@stormit9507
6 ай бұрын
Hi, glad to help. Don't forget to check out our blog at www.stormit.cloud/blog/
Super! Thanks!
@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/
its saying the record is successfully created but not shwoing in route52
Thanks!!! i love you
@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/
nice thank you
@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/
well explined but my cloudfront is redirecting it to different site name
@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/
why do you select “http only” instead of “https only” for the protocol?
@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/
i want do without ssl for http only
@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/
Nice! How about sub domains, how its work?
@stormit9507
9 ай бұрын
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
9 ай бұрын
tks for your help@@stormit9507
@estudetrade
9 ай бұрын
@@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
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.
is this SSL is free? Or AWS charged for this SSL?
@stormit9507
10 ай бұрын
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.