Custom Domain Name with AWS API Gateway | Step by Step Tutorial

  Рет қаралды 68,236

Be A Better Dev

Be A Better Dev

3 жыл бұрын

In this video, I teach you how to clean up your API Gateway url from the default into a custom url such as www.myapi.mywebsite.com .
Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - amzn.to/37T7xdP
Clean Architecture - amzn.to/3sCEGCe
Head First Design Patterns - amzn.to/37WXAMy
Domain Driver Design - amzn.to/3aWSW2W
Code Complete - amzn.to/3ksQDrB
The Pragmatic Programmer - amzn.to/3uH4kaQ
Algorithms - amzn.to/3syvyP5
Working Effectively with Legacy Code - amzn.to/3kvMza7
Refactoring - amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - amzn.to/2MuEllM
XLR Cable - amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
Desk Microphone Mount - amzn.to/3qXMVIO
Logitech C920s Webcam - amzn.to/303zGu9
Fujilm XS10 Camera - amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
Autonomous ErgoChair 2 - bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
🌎 Find me here:
Twitter - / beabetterdevv
Instagram - / beabetterdevv
Patreon - Donations help fund additional content - / beabetterdev
#AWS
#ApiGateway
#Serverless

Пікірлер: 72
@prasanjeetmohanty7632
@prasanjeetmohanty7632 Жыл бұрын
Great video...thanks for the info....just to add on top of it, I have my domain hosted on google domains, so 2 minor differences for me...first, for the certificate validation, i needed to add the cname record in google domain, and unlike in route53, certificate wasn't issued immediately, took some time, about an hour or so (might have to do something with propagation of dns records in google domain, not sure).... Secondly, the step where "A" record is added in route53, i had to add the same record as a "cname" in google domains, as "A" record expects exact ipv4 addresses and cname can point to a different host..got it working after that...
@pepinoartworks
@pepinoartworks 2 жыл бұрын
Great video! Worked at first try and saved me from a lot of headaches! Thank you!
@amirhossain2k9
@amirhossain2k9 8 ай бұрын
wow! a wholesome video with clear definition! thanks a lot man.
@alexrusin
@alexrusin Жыл бұрын
Great video. Worked on the first try. Thank you so much!
@ckworton
@ckworton 8 ай бұрын
Thanks for this! Helped 100% even for edge API endpoint.
@brampeirsful
@brampeirsful Жыл бұрын
Thank you, this was very clear and helped me a lot, I did not realise I had to add the record to route 53
@ezequielguerra8110
@ezequielguerra8110 2 жыл бұрын
Maravilloso! Muchas gracias!
@erildojunior4358
@erildojunior4358 3 жыл бұрын
You're awesome dude!!! thanks a lot!
@leonardox222
@leonardox222 Жыл бұрын
Awesome video! worked at very first try! many thanks!
@yohanamudarra2068
@yohanamudarra2068 Жыл бұрын
one of the bet videos from this channel.
@anilkumar-iq2td
@anilkumar-iq2td 5 ай бұрын
Fantastic tutorial, thanks for the upload!!
@brenoa.santos4493
@brenoa.santos4493 2 жыл бұрын
Awesome! Thanks a lot.
@cmburns2606
@cmburns2606 Жыл бұрын
This was extremely helpful, thank you!
@BeABetterDev
@BeABetterDev Жыл бұрын
Glad it was helpful!
@vaibhavgupta7429
@vaibhavgupta7429 Жыл бұрын
Great tutorial, thanks man
@tomontheinternet
@tomontheinternet 2 жыл бұрын
This video has helped me so many times.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
I even use it myself as a reference! :)
@darrylwilliams7091
@darrylwilliams7091 5 ай бұрын
You nailed it and therefore so did I. thanks!!
@javascript_developer
@javascript_developer Жыл бұрын
great tutorial. thanks
@salimhossain2192
@salimhossain2192 3 жыл бұрын
amazing man, it worked great :)
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Great to hear Salim!
@kingofalps
@kingofalps 9 ай бұрын
Thanks! very helpful
@foreach1
@foreach1 4 ай бұрын
Great Video! Thanks!
@bobdpa
@bobdpa 10 ай бұрын
Awesome. Thanks!
@unlock-your-potential-888
@unlock-your-potential-888 2 жыл бұрын
thank you so much. it's so helpful.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@danielcraig474
@danielcraig474 Жыл бұрын
Thank you!
@emredemir6637
@emredemir6637 2 жыл бұрын
Thank you! It is still helpful :)
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@shogotsuchiya6030
@shogotsuchiya6030 2 жыл бұрын
Thank you soooooo much! ありがとう!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome.
@Jesanchez24
@Jesanchez24 2 жыл бұрын
Excelente video, solo me toco investigar por aparte el tema de Route 53
@gracecarrilloc
@gracecarrilloc 3 жыл бұрын
How about adding several endpoints to the same domain?
@lukavujeva6584
@lukavujeva6584 5 ай бұрын
Why are you adding A instead of CNAME in the last step? Im not an expert, but in my experience, it was always CNAME. I mean I also did and managed A record they way you did, and it works because it particularly points to the API mapping and it works great.
@pikachu5223
@pikachu5223 3 жыл бұрын
I love you content, im learning aws and you are the best! You have a video for do the same thing but with a static bucket s3? My problem is that i have the domain in a different provider
@bobcee8126
@bobcee8126 3 жыл бұрын
I think you should be able to switch to Route 53 by 1. creating a hosted zone in route 53 2. you'll get soa and nameserver records by default 3. you can use the ns record from the hosted zone to ur current provider to make route 53 your default dns manager of sorts
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hi Kali, thanks for your kind words. Check out my video on S3 static hosting here: kzfaq.info/get/bejne/o9Kja9eazq-XpZc.html
@Hatem.ElRakhawy
@Hatem.ElRakhawy 2 жыл бұрын
Thank you for this awesome tutorial, have you made the other video for Edge-optimized endpoint type?
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks so much Hatem! Not at this time but I'll put it on my list.
@liamray2010
@liamray2010 2 жыл бұрын
Nice tut! 10nx
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad you enjoyed Liam!
@Rauzul
@Rauzul 2 жыл бұрын
Life saver.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad you enjoyed Razi!
@Jxxxxxxx
@Jxxxxxxx 2 жыл бұрын
Hi, nice tutorial! For how long are these certificates valid, and are they automatically autorefreshed after expiration?
@PaulPatico
@PaulPatico 10 ай бұрын
Yes, AWS refresh them automatically after expiration, you do not need to do anything!
@battlenexustnmt
@battlenexustnmt 2 жыл бұрын
whr is the link to setup a domain in ur description ?
@josecantero3500
@josecantero3500 11 ай бұрын
Hello! I would really like any idea for how to do the following; I want to deploy a recently trained Comprehend model to a website so that my students can interact with it. How can i achieve that? I just want a small white box where they can input the data and another box with the results.
@damiandanev9271
@damiandanev9271 3 жыл бұрын
Will this result in additional costs?
@princepatel6697
@princepatel6697 2 жыл бұрын
Great tutorial, exactly what I wanted. But a question, when you were done adding aa simple record, at 12:36, we can see a A name record point from your domain to AWS's domain. Aren't A name records supposed to point only to IP addresses ??
@VIKASSAINI007
@VIKASSAINI007 Жыл бұрын
So the thing is you need to host domain in Route 53 (AWS), then AWS allow custom A names to point to AWS services, learned it hard way 🙂
@prasanjeetmohanty7632
@prasanjeetmohanty7632 Жыл бұрын
@@VIKASSAINI007 so this can't be done with google domains..?? It expects an ipv4 address, but the custom domain does not have one, at least i can't find one...
@prasanjeetmohanty7632
@prasanjeetmohanty7632 Жыл бұрын
Nevermind, in google domain I needed to make an entry as "cname" as opposed to "A" record in route53 and it worked....
@techenthusiast127
@techenthusiast127 3 жыл бұрын
I don't see any option in my API dropdown in Configure API mappings. I followed everything right. The certificate were even issued correctly.
@2truffies
@2truffies Жыл бұрын
I use Route 53, but I don't have the option to create a record via a wizzard. Via standard way to add a record it doesn't allow to create an A record for anything else than IP adress. So I used the CNAME record and it worked. Just in case anyone had the same case as me.
@leonardox222
@leonardox222 Жыл бұрын
very good point!. same case, but my domain is managed by other provider
@SaketAnandPage
@SaketAnandPage 10 ай бұрын
What if I am using a different DNS provider, They only allow ipv4 address in A Record.
@97pixels
@97pixels Жыл бұрын
Thanks a lot for the video. AWS docs are really terrible at explaining all these required steps.
@vjp00777
@vjp00777 2 жыл бұрын
Nice tutorial. How would this work if I need to use 3rd party/private certificate and not from ACM?
@PJudt
@PJudt Жыл бұрын
Import your 3rd party certificate into ACM
@abrahamnzau254
@abrahamnzau254 Жыл бұрын
Hi, great tutorial How to I redirect http traffic to my subdomain to https?
@vancedacc4629
@vancedacc4629 Жыл бұрын
I'm stuck on the last step. I tried a CNAME record as others have suggested but it's not working. Any advice would be really appreciated.
@hunqiangng2511
@hunqiangng2511 Жыл бұрын
How to assign elastic ip address to APIGW
@sergeyvaulin
@sergeyvaulin 2 жыл бұрын
Fyi, who uses third party services you need just add CNAME instead of A record. It works for me.
@rajeev200385
@rajeev200385 2 жыл бұрын
For third party domain names, do we need to update Route53 with CNAME?
@CariagaXIII
@CariagaXIII Жыл бұрын
you probably should put the api gateway behind cloudfront for security instead of api gateway upfront in route 53
@ezeikel
@ezeikel 2 жыл бұрын
Great video! Wondering if this would work for 3rd party registered domains e.g. Google Domains? Would the CNAME record just need to be added to the DNS
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Hi Ezeikel, I haven't tried this but don't see why it wouldn't work!
@VIKASSAINI007
@VIKASSAINI007 Жыл бұрын
Tried but not working, also thing is you need to host domain in Route 53 (AWS), then AWS allow custom A names to point to AWS services, learned it hard way 🙂
@Dima-bo7wz
@Dima-bo7wz Жыл бұрын
Unfortunately you didn't mentioned how to create API (9:53) that's why I dont have any information in Configure API Mapping section. so I can"t go further with your tutorial...
@justinyang733
@justinyang733 2 ай бұрын
Thank you!
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 19 МЛН
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 171 М.
How to use a custom domain name with API Gateway
10:14
Majestic.cloud
Рет қаралды 5 М.
AWS EC2 vs ECS vs Lambda | Which is right for YOU?
16:50
Be A Better Dev
Рет қаралды 184 М.
Amazon S3 - Static Website Hosting with Custom Domain and TLS
16:28
Bryan Krausen
Рет қаралды 24 М.
Top 5 Use Cases For AWS Lambda
12:36
Be A Better Dev
Рет қаралды 80 М.
AWS Tutorials - Creating Private API in Amazon API Gateway
30:15
AWS Tutorials
Рет қаралды 20 М.