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

Поділитися
Вставка
  • Опубліковано 30 лип 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
  • Наука та технологія

КОМЕНТАРІ • 100

  • @albertocalleros5981
    @albertocalleros5981 Місяць тому +1

    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  Місяць тому

      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 6 місяців тому +1

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

  • @themarksman1
    @themarksman1 6 місяців тому +3

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

    • @basavarajam6128
      @basavarajam6128 3 місяці тому

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

    • @bikdigdaddy
      @bikdigdaddy 2 місяці тому

      bhai referral dedo

  • @happyelectronicparis
    @happyelectronicparis 8 місяців тому +1

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

  • @rutush2
    @rutush2 10 днів тому

    Finally, a detailed and guided step-by-step video with hands-on examples. Glad I found this video. Thank you!"

  • @venkatapradeepgopisetty3494
    @venkatapradeepgopisetty3494 5 місяців тому

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

    • @RahulWagh
      @RahulWagh  5 місяців тому

      Thanks and welcome

  • @denzilpeiris492
    @denzilpeiris492 6 місяців тому +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  6 місяців тому

      Thank you very much!

    • @denzilpeiris492
      @denzilpeiris492 6 місяців тому

      I have joined now, taking a membership!

    • @RahulWagh
      @RahulWagh  6 місяців тому

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

    • @denzilpeiris492
      @denzilpeiris492 6 місяців тому

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

  • @amolsurvase7507
    @amolsurvase7507 6 місяців тому +1

    simple ,crystal clear explanation ...deep learning

  • @user-sj8kc1lj3l
    @user-sj8kc1lj3l 8 місяців тому

    One of the best teaching ever I learned 😊

    • @RahulWagh
      @RahulWagh  8 місяців тому

      Glad to know that my aws sessions are useful

  • @apnihorrorduniya
    @apnihorrorduniya 3 місяці тому

    Most underrated channel really loved the way you explained.

    • @RahulWagh
      @RahulWagh  3 місяці тому +1

      Happy to have you on the channel

  • @muhammadsubhan8333
    @muhammadsubhan8333 3 місяці тому

    Brilliant explanation of Nat Gateway usage. Thanks

    • @RahulWagh
      @RahulWagh  2 місяці тому

      Glad it was helpful!

  • @TamaraHovhannisyan-pl2lu
    @TamaraHovhannisyan-pl2lu 3 місяці тому

    Thank you very much for detailed explanation.

    • @RahulWagh
      @RahulWagh  3 місяці тому

      Glad it was helpful!

  • @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?

  • @akshatjoshi8803
    @akshatjoshi8803 7 місяців тому

    very well explained. Thank you for your hard work

    • @RahulWagh
      @RahulWagh  7 місяців тому

      Glad it was helpful!

  • @parrivera
    @parrivera 26 днів тому

    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.

  • @sampathkumarspace9162
    @sampathkumarspace9162 23 дні тому

    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

  • @sibaprasadbisoi90
    @sibaprasadbisoi90 8 місяців тому

    Useful content. thanks !

  • @nsramyasrinivasan7467
    @nsramyasrinivasan7467 5 місяців тому

    Excellent explanation.!

    • @RahulWagh
      @RahulWagh  5 місяців тому

      Glad it was helpful!

  • @TheDisciplinedguy1
    @TheDisciplinedguy1 7 місяців тому

    This was a GREAT video

  • @adityakirankorlepara4500
    @adityakirankorlepara4500 5 місяців тому

    very nicely explained !!

    • @RahulWagh
      @RahulWagh  5 місяців тому

      Glad you liked it

  • @AnshulKamal-vl6os
    @AnshulKamal-vl6os 2 місяці тому

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

  • @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!

  • @unique_hackers2023
    @unique_hackers2023 2 місяці тому

    Such a great content keep it up sir !!!

    • @RahulWagh
      @RahulWagh  2 місяці тому

      There will be more

  • @Santoshnagargoje007
    @Santoshnagargoje007 8 місяців тому

    Thanks for the very important topic while creating multi account infrastructure

    • @RahulWagh
      @RahulWagh  8 місяців тому

      Glad it was helpful!

  • @sudheersen8227
    @sudheersen8227 3 місяці тому +1

    Salute sir ❤

  • @rickdevmajumder5729
    @rickdevmajumder5729 Місяць тому

    Best Tutorial ever :)

  • @xavier_76-nj5ni
    @xavier_76-nj5ni Місяць тому

    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.

  • @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

  • @muhammadsuleman8771
    @muhammadsuleman8771 5 днів тому

    Just Brilliant Sir.

    • @RahulWagh
      @RahulWagh  5 днів тому

      You are welcome

    • @muhammadsuleman8771
      @muhammadsuleman8771 5 днів тому

      @@RahulWagh sir do you have any deployment video on Jenkins, Docker, aws ecs & fargate?

  • @thapasujan07
    @thapasujan07 2 місяці тому

    Sir you beauty!!! 😃

  • @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

  • @adityakulkarni3745
    @adityakulkarni3745 4 місяці тому

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

    • @RahulWagh
      @RahulWagh  4 місяці тому

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

  • @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

  • @a4wpower
    @a4wpower 3 місяці тому

    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.

  • @graviutube
    @graviutube 5 місяців тому

    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.

  • @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 UA-cam but may be in future videos I will take care of it

  • @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

  • @MEFBALACHANDIRANM
    @MEFBALACHANDIRANM 5 місяців тому +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  5 місяців тому +1

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

    • @MEFBALACHANDIRANM
      @MEFBALACHANDIRANM 5 місяців тому

      @@RahulWagh ok sir thanks for your reply

  • @santhoshsamprathi2482
    @santhoshsamprathi2482 6 місяців тому

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

  • @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

  • @gunjanbansal2221
    @gunjanbansal2221 4 місяці тому +1

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

    • @RahulWagh
      @RahulWagh  4 місяці тому

      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

  • @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

  • @flexyjayofficial163
    @flexyjayofficial163 3 місяці тому

    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  3 місяці тому

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

    • @flexyjayofficial163
      @flexyjayofficial163 3 місяці тому

      Please kindly check I sent an email 17 hours ago!

  • @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

  • @vaibhavkolekar6004
    @vaibhavkolekar6004 7 місяців тому

    Will u share AWS ses service related videos..

    • @RahulWagh
      @RahulWagh  6 місяців тому

      It is on my list

  • @hendoitechnologies
    @hendoitechnologies 19 годин тому

    post more AWS services videos

  • @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 3 місяці тому +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 2 місяці тому

    but why not use bastion host?

    • @RahulWagh
      @RahulWagh  2 місяці тому

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

    • @tavilefty
      @tavilefty 2 місяці тому

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