Mastering AWS: NAT Gateway Setup in Your VPC - A Step-by-Step Tutorial (Part-14)

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • ▬▬▬▬▬▬ 🚀 Membership ▬▬▬▬▬▬
    Join this channel to get access to perks:
    / @rahulwagh
    ▬▬▬▬▬▬ 🚀 Courses ▬▬▬▬▬▬
    1. Terraform - • HashiCorp Terraform As...
    2. Ansible - • Ansible for Beginners:...
    3. Prometheus & Grafana - • Getting started with P...
    4. Helm Chart - • Complete Helm Chart Tu...
    5. Hashi Corp vault - • HashiCorp Vault Instal...
    ▬▬▬▬▬▬ 📖 Video Description: ▬▬▬▬▬▬
    Description:
    🚀 Welcome to my AWS adventure, where I simplify cloud networking for you! In today’s episode, we're tackling the setup of an AWS VPC complete with a public and a private subnet. I'll guide you through every click and command as we deploy EC2 instances and get them talking to the world with a NAT Gateway. Whether you're a student, a budding cloud enthusiast, or a seasoned professional looking to brush up your skills, this tutorial is crafted just for you!
    🛠️ Here's What We'll Conquer Together:
    Crafting a VPC from the ground up like a pro.
    Architecting public and private subnets for optimal resource distribution.
    Rolling out EC2 instances and watching them come to life.
    Unveiling the magic of NAT Gateways for secure internet access.
    📘 Video Chapters:
    00:00 - Intro to NAT Gateway
    00:47 - VPC Creation
    01:24 - Public & Private Subnet Setup
    02:52 - Setup Internet Gateway
    04:11 - Update route table
    06:49 - Setup NAT Gateway
    10:20 - Update routes for NAT Gateway
    12:02 - Setup EC2
    16:06 - Test NAT Gateway
    🔑 Before You Begin:
    A sprinkle of AWS knowledge.
    A dash of enthusiasm.
    An AWS account ready to go!
    👨‍💻 Grab a coffee, and let's set up your cloud network together. Remember to hit that like button if you find the tutorial helpful and subscribe for more down-to-earth tech content.
    📖 Extra Study Materials:
    AWS Docs Dive: - docs.aws.amazon.com/vpc/lates...
    📢 Let's Get Social:
    Tweet your questions: / wagh_rahul
    Professional musings on LinkedIn: / rahul-wagh
    🔔 Got queries or insights? Drop them in the comments - I love hearing from you all, and I respond to every single comment. Let's make cloud networking fun!
    #AWSTutorial #NATGateway #CloudNetworking #LearnAWS #AWSVPC #TechTutorials
  • НаукаНаука

Комментарии • 94

  • @albertocalleros5981
    @albertocalleros5981 17 дней назад

    This is by far one of the best videos on youtube teaching these concepts. Stephane Maarek divides this particular architecture in several videos and makes it hard to follow for me. This video does it in one fell swoop and very well explained. Thank you so much for this!!

    • @RahulWagh
      @RahulWagh  17 дней назад

      Glad it was helpful!

  • @qunjia
    @qunjia 7 месяцев назад +4

    The besting teaching I had so far on the NAT gateway setup, thank you very much!!!

    • @RahulWagh
      @RahulWagh  7 месяцев назад

      Glad to know it NAT gateway tutorial helped you to learn concept

  • @ventin75
    @ventin75 5 месяцев назад +1

    This is awesome! The explanation and animated architecture diagram just engages me.

  • @happyelectronicparis
    @happyelectronicparis 8 месяцев назад +1

    One of the the Best teaching way. Simple, clear and short.
    Thanks and waiting for deep learnings.

  • @themarksman1
    @themarksman1 5 месяцев назад +3

    I am a Network Engineer with 10+ years experience & I feel Networking in Cloud is so much easier than traditional Networking.

    • @basavarajam6128
      @basavarajam6128 2 месяца назад

      Even im feeling same, I’m having 5.6 years of experience in Networking

    • @bikdigdaddy
      @bikdigdaddy Месяц назад

      bhai referral dedo

  • @denzilpeiris492
    @denzilpeiris492 5 месяцев назад +2

    Excellent and a superb explanation. I truly like the way you present a design, then the way you keep on adding the building blocks, while explanaing in detail. I have no doubt, that I found the precise Guru! The other thing is, your video's are in 4K, 2160P60. Non of the paid ones have this high quality!

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Thank you very much!

    • @denzilpeiris492
      @denzilpeiris492 5 месяцев назад

      I have joined now, taking a membership!

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      @denzilpeiris492 thanks for support the channel hope you will learn something from here

    • @denzilpeiris492
      @denzilpeiris492 5 месяцев назад

      Where may I find the Q&A, real kind of projects so on?

  • @venkatapradeepgopisetty3494
    @venkatapradeepgopisetty3494 4 месяца назад

    Great effort by you with clear understanding in aws platform . Thank you .... NAT gateway you explained in beautiful way.

    • @RahulWagh
      @RahulWagh  4 месяца назад

      Thanks and welcome

  • @user-sj8kc1lj3l
    @user-sj8kc1lj3l 7 месяцев назад

    One of the best teaching ever I learned 😊

    • @RahulWagh
      @RahulWagh  7 месяцев назад

      Glad to know that my aws sessions are useful

  • @amolsurvase7507
    @amolsurvase7507 5 месяцев назад +1

    simple ,crystal clear explanation ...deep learning

  • @apnihorrorduniya
    @apnihorrorduniya 2 месяца назад

    Most underrated channel really loved the way you explained.

    • @RahulWagh
      @RahulWagh  2 месяца назад +1

      Happy to have you on the channel

  • @muhammadsubhan8333
    @muhammadsubhan8333 2 месяца назад

    Brilliant explanation of Nat Gateway usage. Thanks

    • @RahulWagh
      @RahulWagh  2 месяца назад

      Glad it was helpful!

  • @unique_hackers2023
    @unique_hackers2023 Месяц назад

    Such a great content keep it up sir !!!

  • @rickdevmajumder5729
    @rickdevmajumder5729 23 дня назад

    Best Tutorial ever :)

  • @TheDisciplinedguy1
    @TheDisciplinedguy1 6 месяцев назад

    This was a GREAT video

    • @RahulWagh
      @RahulWagh  6 месяцев назад

      You are welcome

  • @TamaraHovhannisyan-pl2lu
    @TamaraHovhannisyan-pl2lu 2 месяца назад

    Thank you very much for detailed explanation.

    • @RahulWagh
      @RahulWagh  2 месяца назад

      Glad it was helpful!

  • @akshatjoshi8803
    @akshatjoshi8803 7 месяцев назад

    very well explained. Thank you for your hard work

    • @RahulWagh
      @RahulWagh  7 месяцев назад

      Glad it was helpful!

  • @nsramyasrinivasan7467
    @nsramyasrinivasan7467 4 месяца назад

    Excellent explanation.!

    • @RahulWagh
      @RahulWagh  4 месяца назад

      Glad it was helpful!

  • @sibaprasadbisoi90
    @sibaprasadbisoi90 8 месяцев назад

    Useful content. thanks !

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      You're welcome!

  • @xavier_76-nj5ni
    @xavier_76-nj5ni 14 дней назад

    Thanks a lot @RahulWagh. The explanation is very clear. I do have some security concerns about saving the private key of the private ec2 in the public ec2 in order to connect to the private via the public ec2. Other than that I am very pleased with the content.

  • @sudheersen8227
    @sudheersen8227 3 месяца назад +1

    Salute sir ❤

  • @adityakirankorlepara4500
    @adityakirankorlepara4500 4 месяца назад

    very nicely explained !!

    • @RahulWagh
      @RahulWagh  4 месяца назад

      Glad you liked it

  • @sriman_i7
    @sriman_i7 8 месяцев назад +1

    Greetings sir,
    It's very useful for everyone, and I would request you, to please do an AWS course from scratch to advance, your way of teaching style is unique.

    • @RahulWagh
      @RahulWagh  8 месяцев назад +1

      Surely cheers!

  • @Santoshnagargoje007
    @Santoshnagargoje007 8 месяцев назад

    Thanks for the very important topic while creating multi account infrastructure

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      Glad it was helpful!

  • @AnshulKamal-vl6os
    @AnshulKamal-vl6os Месяц назад

    Very helpful lecture on youtube....Thank you soo much sir

  • @thapasujan07
    @thapasujan07 Месяц назад

    Sir you beauty!!! 😃

  • @meetparmara
    @meetparmara 5 месяцев назад +1

    without west time and fully understanding your all concepts. you’re very skilled person sir. ❤

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Glad to hear that

  • @user-cz5bg1vw8v
    @user-cz5bg1vw8v 8 месяцев назад +1

    Your videos are helping me a lot Thank you so much SIR. Can you Make Videos on Migrating from Azure Vnet to AWS VPC and more videos on Migration from Azure to AWS

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      I am glad that videos are helping you to learn aws. There will new series on azure in upcoming months

  • @munteanionut3993
    @munteanionut3993 2 месяца назад

    09:09... why not have a Route Table entry for the EC2 in the private subnet to allow it to access the other subnet? Also you depicted the subnets as both being private in one of your photos around that timestamp... was that intended?

  • @sampathkumarspace9162
    @sampathkumarspace9162 7 дней назад

    Awesome , i have query i want webserver in pvt instance (pvt ip) webpage can access public , will it possible from NAT gw or any other source

  • @user-dj5eb3yc4g
    @user-dj5eb3yc4g 5 месяцев назад

    I would like to know when connecting to private ec2 instance via bastion host shouldn't we use security groups rules defined for private instance and connect securely?

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Hmm you can try I do not think it will work

  • @santhoshsamprathi2482
    @santhoshsamprathi2482 5 месяцев назад

    This is brilliant. Providing demo paralelly on Aws console with diagram helps the learners a lot. Please stick to this approach.

  • @custoconecta
    @custoconecta 10 дней назад

    Rahul, thanks for your video , but i realized that include NAT becomes so expensive, it is normal ? or could be an configuration error? when i ve been deleted , stoping to generate costs.

  • @victors8809
    @victors8809 Месяц назад

    Hey sir! many thanks - do you have any plan to do a AWS Firewall class w/ east-west north-south inspection?

    • @RahulWagh
      @RahulWagh  Месяц назад

      There is one session on aws firewall on the channel but it doesn’t cover the cross region request but would be good for you to get started

  • @adityakulkarni3745
    @adityakulkarni3745 3 месяца назад

    Hi. If i m using an application load balancer in my public subnet then do i need to use Nat gateways

    • @RahulWagh
      @RahulWagh  3 месяца назад

      NAT gateways are only be used for providing internet connectivity to private subnet

  • @Santoshnagargoje007
    @Santoshnagargoje007 8 месяцев назад

    Hey Rahul i would request here please explain what are the limitations of vpc peering and what is the best alternative for that

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      Thanks for suggestions but now I can not edit the video after making it live on RUclips but may be in future videos I will take care of it

  • @awssoorinje747
    @awssoorinje747 8 месяцев назад +1

    Sir, could you kindly consider uploading a video on the topic of Route 53?

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      It’s in the list you will see soon in upcoming weeks

  • @graviutube
    @graviutube 4 месяца назад

    Great explanation, but one question... we added nat gateway to private route is it not enough, i see you copied private ec2 firewall to public ec2. can you help with that

    • @yaswanthtiguti4089
      @yaswanthtiguti4089 2 месяца назад

      We need an ssh key to connect to instance in the private subent from the instance in the public subnet. There are different ways to copy the files to the remote servers e.g: scp but in this particular video, he copied the key from the local and created a file in the public ec2 server to ssh to private server.

  • @Amitkumarswain-ud1gx
    @Amitkumarswain-ud1gx 8 месяцев назад +1

    If we directly access vpc2 from vpc1 theough internet gateway then why again we need bpc perring?

    • @yaswanthtiguti4089
      @yaswanthtiguti4089 2 месяца назад

      There are two subnets (private and public) but not vpcs. In this example he connected to the instance in the private subent from public ec2. Vpc peering is totally a different concept of routing traffic between two vpcs

  • @flexyjayofficial163
    @flexyjayofficial163 2 месяца назад

    Hi I have followed you for a while and I love your content. How can I contact you to discuss on a project.

    • @RahulWagh
      @RahulWagh  2 месяца назад

      Glad to have you on my channel- shoot a mail on Rahul.wagh@jhooq.com

    • @flexyjayofficial163
      @flexyjayofficial163 2 месяца назад

      Please kindly check I sent an email 17 hours ago!

  • @a4wpower
    @a4wpower 2 месяца назад

    I see you SSH into the private EC2 instance. But How were you able to SSH to the private EC2, in a private subnet, without a bastion host? Not doubting, just confused lol.

  • @MEFBALACHANDIRANM
    @MEFBALACHANDIRANM 4 месяца назад +1

    I have one doubt , can we connect our private instance with ssh directly through windows powershell/putty without connecting inside from public ec2 instance?

    • @RahulWagh
      @RahulWagh  4 месяца назад +1

      No private subnet never allow this you need to go via public subnet

    • @MEFBALACHANDIRANM
      @MEFBALACHANDIRANM 4 месяца назад

      @@RahulWagh ok sir thanks for your reply

  • @gunjanbansal2221
    @gunjanbansal2221 4 месяца назад +1

    Hello sir, Can u please resolve this error
    Load key "public file": error in libcrypto

    • @RahulWagh
      @RahulWagh  3 месяца назад

      There could be multiple reasons for this error please refer to this doc and look what you have done differently with your ssh keys - docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey

  • @vaibhavkolekar6004
    @vaibhavkolekar6004 6 месяцев назад

    Will u share AWS ses service related videos..

    • @RahulWagh
      @RahulWagh  6 месяцев назад

      It is on my list

  • @ngabeekane8297
    @ngabeekane8297 8 месяцев назад

    can you do a vpc endnote with amazon linux image please?

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      It’s in my pipeline and soon you will see vpc endpoint tutorial

  • @ayushsrivastava3604
    @ayushsrivastava3604 2 месяца назад

    One thing to mention for all free tier users, NAT gateway is not free, you will be charged for using it. Please take care of this.

    • @RahulWagh
      @RahulWagh  2 месяца назад

      Thants 100% true you need to pay for NAT gateway

  • @abhishekkarjule1286
    @abhishekkarjule1286 2 месяца назад +1

    I think if we are having NAT gateway attached to public subnet then we don't need internet gateway in public subnet.......correct me if I'm wrong @rahulwagh

  • @bikdigdaddy
    @bikdigdaddy Месяц назад

    but why not use bastion host?

    • @RahulWagh
      @RahulWagh  Месяц назад

      Do not get confuse with bastion host nat gateway it’s different

    • @tavishguitar
      @tavishguitar Месяц назад

      @@RahulWagh this is my 2nd account (comments getting deleted).
      but in the bastion host video you talked about how bastion host is used to act as a middleware for the private subnet and the internet.
      the NAT gateway seems a little more resource efficient (as the public subnet ec2 doesn't have the overhead of dealing with private subnet ec2's traffic, that leads to the question, why not use NAT over bastion host.