Three-tier architecture in AWS using Terraform

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

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

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

    Amazing, short and straight forward 👍💪🏾

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

      Thanks for your feedback, glad it was helpful for you.

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

    simple as that, awesome lab Ajit and thank you very much....

  • @AldoObed
    @AldoObed 9 วันที่ผ่านมา

    Very cool, man!! thanks

  • @bhakta_rg
    @bhakta_rg 7 หลายเดือนก่อน +1

    Nice walkthrough Ajit. At 18:41, why do the instances have 2 private IP addresses each? Also, the link to the RDS module in the video description points to the SG module .... Thanks in advance!

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

      Thanks for pointing out, I will update that.

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

    Excellent and very useful information 💯 Thankyou

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

    Thanks Ajit for detail explanation. Great video. 👍

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

      Thanks Harshal! Glad it was helpful for you

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

    Thanks Buddy , a subscriber from kerala

  • @anil-kumar75
    @anil-kumar75 ปีที่แล้ว +1

    Great video, looking for the exact video..
    Thank you so much..

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

      Thanks Anil, glad it was helpful for you.

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

    You have done Very awesome explanation Sir for Three-tier architecture in AWS using Terraform 👏

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

    Thank you so much for this masterpiece Bahi

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

      Hello,
      Thanks for your feedback, glad you liked it!

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

    You have done such a great job, truly amazing short video but explained a lot. Thanks a lot.

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

    This is truly amazing training video... thanks for your efforts. the clean video provides answers to some of my questions .
    thank you

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

      Thanks Samuel. Glad it was helpful for you. Please let me know if you have any video requests. I’ll try to accommodate. Thanks!

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

    Wonderful work! Thanks a bunch!! 🤩

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

    Aap jo projects karate ho unhe Hindi me bhi banao logo ko pasand aayenge and you doing great job 😊😊

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

      Thanks Manoj. Shukriya, me Hindi me bhi shuru kar raha hu. Jald hi.

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

    bro please looking at the code I don't see where you specified instance type and information in regards to instances. Please help

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

      Hello,
      Please check line no 27 from here
      github.com/ajitinamdar-tech/three-tier-arch-aws-terraform/blob/main/terraform.tfvars#L27

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

    Amazing explanation can you make one terraform video for Azure as well

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

      Sure, Abhijeet I have noted down your request. Thanks for your feedback.

  • @SaumyaKumari-h5i
    @SaumyaKumari-h5i ปีที่แล้ว +1

    Such a great explanation within very short time.
    Will I be able to create the resources being under free tier if I use the same code provided in reference GitHub URL?

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

      Hi,
      Thank you for your feedback.
      All the resources won’t fall under a free tier but you can always create and delete it as soon as you are done, the cost would be negligible.

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

    Hello sir, How and where did you create the instances (servers), I will appreciate if you can explain a little bit
    thanks

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

      Hi,
      Could you please elaborate on your question?

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

      @@ajitinamdartech sorry if the question is not clear but I didn’t see how Ec2 instances are created which represents the servers

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

      They are created using Terraform

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

      @@ajitinamdartech yes sir i know we are using terraform to configure a 3 tier app but i can figure out the ec2 module

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

      @tubuobaggio github.com/ajitinamdar-tech/three-tier-arch-aws-terraform/blob/main/asg.tf
      Please refer this file. This is used to create the ec2 instances.

  • @pavankumarchinthapalli9298
    @pavankumarchinthapalli9298 2 หลายเดือนก่อน +1

    Which type auto scalling is preferd

  • @pavankumarchinthapalli9298
    @pavankumarchinthapalli9298 2 หลายเดือนก่อน +1

    stickness the application. suppose users increase the server that time one server managed difficult. my dote is stickiness time autoscalling working or not.

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

      Autoscaling and stickiness are two different concepts. Stickiness means that if you make a request again, it will be served by the same instance as before.

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

    sir why we created s3 bucket through the console why we didn't create in this same terraform module why we didn't add s3 code

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

      Hello,
      It can be created using Terraform but this was the pre-requisite for our terraform project, hence I created it manually as it was only meant to be created once.

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

    Hi can you please make a video & explain the writing/structure of Ansible & Terraform in a simple manner & in layman's terms, like when & where to add spaces, hyphens, what is variable, etc it's a bit confusing ... please it's a request, do reply

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

      Hi,
      Sure. I have noted down your request. Thank you.

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

    Bro. I watched the video two times. One thing is still not certain . In the entire coding of multiple terraform files in visual studio code, no where we have specified the variables to create route table and internet gateway . But after the final terraform apply command both route tables ( 2 route tables) and an internet gateway was created . How did this happen ? Pls let me know

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

      We have consumed modules right, the code for all network components is mentioned in the official aws modules.

  • @NidhiLad-q7f
    @NidhiLad-q7f ปีที่แล้ว +1

    nice video, if I want to provision laravel also with it. will it be seperate .tf file?or how?

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

      Hi Nidhi,
      Thanks for your feedback. Yes you can customise the TF code according to your requirements.

    • @NidhiLad-q7f
      @NidhiLad-q7f ปีที่แล้ว

      @@ajitinamdartech ok , means for laravel it will be in same asg.tf.
      also what if I dont create S3 bucket?

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

    Hello Ajit....so we are logging on to the PHP application but why are we entering RDS username and password? I know you mentioned something about replacing localhost with the RDS connection string.....but aren't they 2 different components? PHP is an APP and RDS is a DB.....pls help me clear this confusion, if you could explain in a few words since I have an infra background ... thanks much for your hard work!

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

      We have treated PHPMyAdmin as a demo application in this case. For every application we need to connect to the database to perform certain read write operations. So for that purpose I have entered the RDS credentials over there. Hope it was helpful!

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

    Error: Unsupported attribute

    │ on outputs.tf line 666, in output "db_instance_id":
    │ 666: value = module.rds.db_instance_id
    │ ├────────────────
    │ │ module.rds is a object

    │ This object does not have an attribute named "db_instance_id".


    │ Error: Unsupported attribute

    │ on outputs.tf line 687, in output "db_instance_password":
    │ 687: value = module.rds.db_instance_password
    │ ├────────────────
    │ │ module.rds is a object

    │ This object does not have an attribute named "db_instance_password".
    I can't figure out that why I am getting this error.. please help me sir in troubleshooting this issue??

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

      Hello,
      Please reach out to me at ajitinamdar.tech@gmail.com. Send me the required screenshots, and I will try to help. Thanks

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

    Error: Error acquiring the state lock

    │ Error message: 2 errors occurred:
    │ * ValidationException: One or more parameter values were invalid: Missing
    the
    │ key terraform.tfstate in the item
    │ status code: 400, request id:
    │ CKQLNTMDJF2M141172CJISSSH7VV4KQNSO5AEMVJF66Q9ASUAAJG
    │ * ValidationException: The provided key element does not match the schema
    │ status code: 400, request id:
    │ BO6T9SVQM2UBEQNMKLPEMV80ONVV4KQNSO5AEMVJF66Q9ASUAAJG



    │ Terraform acquires a state lock to protect the state from being written
    │ by multiple users at the same time. Please resolve the issue above and try
    │ again. For most commands, you can disable locking with the "-lock=false"
    │ flag, but this is not recommended. i used the same github code with some changes but showing this error can anyone help with this

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

      Hello,
      Can you please check the keys for the dynamo db table are as per the demo?