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

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

Komentáře • 100

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

  • @qunjia
    @qunjia Před 7 měsíci +4

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

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

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

  • @themarksman1
    @themarksman1 Před 6 měsíci +4

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

    • @basavarajam6128
      @basavarajam6128 Před 3 měsíci

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

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

      bhai referral dedo

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

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

  • @rutush2
    @rutush2 Před 12 dny

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

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

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

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

      Thank you very much!

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

      I have joined now, taking a membership!

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

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

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

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

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

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

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

    One of the best teaching ever I learned 😊

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

      Glad to know that my aws sessions are useful

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

    simple ,crystal clear explanation ...deep learning

  • @muhammadsubhan8333
    @muhammadsubhan8333 Před 3 měsíci

    Brilliant explanation of Nat Gateway usage. Thanks

  • @apnihorrorduniya
    @apnihorrorduniya Před 3 měsíci

    Most underrated channel really loved the way you explained.

    • @RahulWagh
      @RahulWagh  Před 3 měsíci +1

      Happy to have you on the channel

  • @rickdevmajumder5729
    @rickdevmajumder5729 Před měsícem

    Best Tutorial ever :)

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

    very well explained. Thank you for your hard work

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

    Excellent explanation.!

  • @TamaraHovhannisyan-pl2lu
    @TamaraHovhannisyan-pl2lu Před 3 měsíci

    Thank you very much for detailed explanation.

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

    Useful content. thanks !

  • @xavier_76-nj5ni
    @xavier_76-nj5ni Před měsícem

    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.

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

    Such a great content keep it up sir !!!

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

    This was a GREAT video

  • @sriman_i7
    @sriman_i7 Před 8 měsíci +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.

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

    very nicely explained !!

  • @sudheersen8227
    @sudheersen8227 Před 3 měsíci +1

    Salute sir ❤

  • @AnshulKamal-vl6os
    @AnshulKamal-vl6os Před 2 měsíci

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

  • @muhammadsuleman8771
    @muhammadsuleman8771 Před 7 dny

    Just Brilliant Sir.

    • @RahulWagh
      @RahulWagh  Před 7 dny

      You are welcome

    • @muhammadsuleman8771
      @muhammadsuleman8771 Před 7 dny

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

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

    Thanks for the very important topic while creating multi account infrastructure

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

    Sir you beauty!!! 😃

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

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

  • @user-cz5bg1vw8v
    @user-cz5bg1vw8v Před 8 měsíci +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  Před 8 měsíci

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

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

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

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

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

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

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

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

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

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

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

    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?

  • @user-dj5eb3yc4g
    @user-dj5eb3yc4g Před 5 měsíci

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

      Hmm you can try I do not think it will work

  • @sampathkumarspace9162
    @sampathkumarspace9162 Před 26 dny

    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

  • @victors8809
    @victors8809 Před měsícem

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

    • @RahulWagh
      @RahulWagh  Před měsícem

      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

  • @hendoitechnologies
    @hendoitechnologies Před 3 dny

    post more AWS services videos

  • @Amitkumarswain-ud1gx
    @Amitkumarswain-ud1gx Před 8 měsíci +1

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

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

      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

  • @parrivera
    @parrivera Před 29 dny

    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.

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

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

      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.

  • @adityakulkarni3745
    @adityakulkarni3745 Před 4 měsíci

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

    • @RahulWagh
      @RahulWagh  Před 4 měsíci

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

  • @flexyjayofficial163
    @flexyjayofficial163 Před 3 měsíci

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

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

    • @flexyjayofficial163
      @flexyjayofficial163 Před 3 měsíci

      Please kindly check I sent an email 17 hours ago!

  • @a4wpower
    @a4wpower Před 3 měsíci

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

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

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

      @@RahulWagh ok sir thanks for your reply

  • @gunjanbansal2221
    @gunjanbansal2221 Před 4 měsíci +1

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

    • @RahulWagh
      @RahulWagh  Před 4 měsíci

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

    Will u share AWS ses service related videos..

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

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

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

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

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

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

      Thants 100% true you need to pay for NAT gateway

  • @abhishekkarjule1286
    @abhishekkarjule1286 Před 3 měsíci +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 Před 2 měsíci

    but why not use bastion host?

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

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

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

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