Terraform how to SSH into AWS EC2 instance? - Part 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 49

  • @debashissinha8489
    @debashissinha8489 หลายเดือนก่อน

    No doubt, Rahul Bagh's Video and docs are one-stop best solution, that I see for the last two months. Hats off !!!

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

      Thanks a lot

  • @irinamihai-s9n
    @irinamihai-s9n 10 หลายเดือนก่อน +1

    After watching some videos, this was the easyest and it worked from first ,thanks

    • @RahulWagh
      @RahulWagh  10 หลายเดือนก่อน

      Glad it helped

  • @ashishtayal6862
    @ashishtayal6862 ปีที่แล้ว +2

    Really amazing Tutorials. U explained well each topic. Kindly complete this series

    • @RahulWagh
      @RahulWagh  ปีที่แล้ว +1

      Here are the playlist -
      1. Terraform - th-cam.com/play/PL7iMyoQPMtAOz187ezONf7pL8oGZRobYl.html
      2. Ansible - th-cam.com/play/PL7iMyoQPMtAPZl58ovoOlxFxNPioSx838.html
      3. Hashicorp Vault - th-cam.com/play/PL7iMyoQPMtAP7XeXabzWnNKGkCex1C_3C.html
      4. AWS - th-cam.com/play/PL7iMyoQPMtAMbPEQhayBRgapUQyNmG44p.html

    • @sadikseven
      @sadikseven ปีที่แล้ว

      thanks @@RahulWagh

  • @sunil361978
    @sunil361978 ปีที่แล้ว +3

    Thanks Rahul, very well explained, It's really helped me a lot.

    • @RahulWagh
      @RahulWagh  ปีที่แล้ว

      Glad to hear that

  • @emdadulhuq6108
    @emdadulhuq6108 ปีที่แล้ว

    Really Amazing Tutorials. Learning a lot of things. Thanks

  • @happylearningtricks
    @happylearningtricks ปีที่แล้ว +1

    very helpful - many thanks

  • @ArsenGTS
    @ArsenGTS 2 ปีที่แล้ว +1

    I would like to thank you for this video! You helped me tremendously!

    • @RahulWagh
      @RahulWagh  2 ปีที่แล้ว

      You are so welcome!

  • @sivarasana3641
    @sivarasana3641 ปีที่แล้ว

    Great session Sir

  • @sb29542
    @sb29542 6 หลายเดือนก่อน

    Very good and informative and elaborately described. Thank you. If possible kindly create a series for GitLab detailed with runner as well.

    • @RahulWagh
      @RahulWagh  6 หลายเดือนก่อน

      Noted

  • @funnel_kpmgtest6034
    @funnel_kpmgtest6034 2 ปีที่แล้ว

    Thank you! it's save my time.

  • @lakshmipasala9091
    @lakshmipasala9091 3 ปีที่แล้ว

    simply superb..Its worked well

  • @nikhilnambiar6811
    @nikhilnambiar6811 2 ปีที่แล้ว +1

    Thank you 🙏

    • @RahulWagh
      @RahulWagh  2 ปีที่แล้ว

      Welcome 😊

  • @ramamt6350
    @ramamt6350 2 ปีที่แล้ว +1

    Thank you a lot. can you please make the vedio about terraform templates

  • @deepakranjanmishra5641
    @deepakranjanmishra5641 8 หลายเดือนก่อน

    Sir how to copy the pub ssh key of the master machine to the authorized_key file of the ec2 instance , created using terraform, using terraform script

  • @manojreddy83346
    @manojreddy83346 ปีที่แล้ว

    tq so much man........................

  • @nelsondario4762
    @nelsondario4762 ปีที่แล้ว

    how about existing vpc, security_groupIds and subnet ids?

  • @SachinTeradal-z9h
    @SachinTeradal-z9h ปีที่แล้ว

    EC2 provisioning using Terraform
    o Having a static IP
    o Accessible only PEM key file
    o SSH from a specific group of servers only. can you explain it how to do it
    with terraform module

  • @panchalchetan0
    @panchalchetan0 2 ปีที่แล้ว

    Hey Rahul, request you to please upload ALB details video? thanks in advance.

  • @eashan2405
    @eashan2405 3 ปีที่แล้ว +1

    I have created a Windows ec2 instance and downloaded the private key. But where do I find my public key, since my OS is Windows?

    • @RahulWagh
      @RahulWagh  3 ปีที่แล้ว

      There should a .ssh folder inside c:\users\your_user_name and inside that .ssh folder you will the public key

  • @learningneverends6674
    @learningneverends6674 2 ปีที่แล้ว

    U have created AWS instance using Terraform, but do u have any idea to connect EC2 using terraform + Githubactions and install docker or something.. I have tried with appleboy/ssh-actions but it is not connecting.. it says connections refused.. would be great if u could post that video as well.

  • @ASHISHKUMAR-ss3rj
    @ASHISHKUMAR-ss3rj 3 ปีที่แล้ว

    Thanks Rahul

  • @sammouse
    @sammouse 3 ปีที่แล้ว

    If i want to connect to private ec2 instance using terraform do i need to use windows jumpbox ( which can able to connect to my private ec2 instance) ? or any other way is there ?

  • @RahulPatel-fm2hy
    @RahulPatel-fm2hy 2 ปีที่แล้ว

    Hi, I need a help - i want to forward ssh default port 22 with some another port by terraform file.

  • @syedfahim6652
    @syedfahim6652 ปีที่แล้ว

    So where I need to write ssh Keygen in cmd

  • @langalafaoriho455
    @langalafaoriho455 2 ปีที่แล้ว

    my ansible playbook are not running after usng remote-exec command, it keeps on asking me for key authorization

    • @RahulWagh
      @RahulWagh  2 ปีที่แล้ว

      Did you update your ssh keys? also check whether you have set the keys in host file or not ? In the host file it should look like - myawshost.com ansible_ssh_private_key_file=path/to/private/key

  • @SachinTeradal-z9h
    @SachinTeradal-z9h ปีที่แล้ว

    can you provide module for that

  • @SachinTeradal-z9h
    @SachinTeradal-z9h ปีที่แล้ว

    hi, can I talk to you actually i have to learn terraform and needed to disscuss with you, i have some querry

  • @ariarchi
    @ariarchi 2 ปีที่แล้ว

    Thanks!

    • @RahulWagh
      @RahulWagh  2 ปีที่แล้ว +1

      You welcome

  • @yagnasivasai
    @yagnasivasai 3 ปีที่แล้ว

    Can I log into instance by using aws key pair?
    Not by ssh-keygen

    • @RahulWagh
      @RahulWagh  3 ปีที่แล้ว +1

      Yes you can ssh-Keygen is just an utility for generating aws key pair. Once it is generated you use it to ssh into aws instance

    • @yagnasivasai
      @yagnasivasai 3 ปีที่แล้ว

      @@RahulWagh if I have pem key and gave key name in terraform file
      is it possible now?

    • @RahulWagh
      @RahulWagh  3 ปีที่แล้ว +1

      Well I do not think so it will work. Always make sure you have public key copied into your terraform file not private key

    • @yagnasivasai
      @yagnasivasai 3 ปีที่แล้ว

      @@RahulWagh ok thank you
      I tried to find it but failed 😔

  • @ASHISHKUMAR-ss3rj
    @ASHISHKUMAR-ss3rj 3 ปีที่แล้ว

    Plz make more videos on terraform

    • @RahulWagh
      @RahulWagh  3 ปีที่แล้ว +2

      Surely there is more to come on terraform but in case if you have missed there is complete terraform playlist on my channel which you can go through

    • @ASHISHKUMAR-ss3rj
      @ASHISHKUMAR-ss3rj 3 ปีที่แล้ว

      @@RahulWagh okay thanks Rahul I really appreciate u r work.