Three-tier architecture in AWS using Terraform

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @opeyemiojo1154
    @opeyemiojo1154 Год назад +2

    Amazing, short and straight forward 👍💪🏾

    • @ajitinamdartech
      @ajitinamdartech  Год назад

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

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

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

  • @seanjohn4133
    @seanjohn4133 Год назад +1

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

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

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

  • @rchandrakumar8842
    @rchandrakumar8842 Год назад +1

    Excellent and very useful information 💯 Thankyou

  • @harshalkondke6344
    @harshalkondke6344 2 года назад +1

    Thanks Ajit for detail explanation. Great video. 👍

  • @anil-kumar75
    @anil-kumar75 Год назад +1

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

  • @riyasudheen94
    @riyasudheen94 Год назад +1

    Thanks Buddy , a subscriber from kerala

  • @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 Год назад

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

  • @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  5 месяцев назад

      Thanks for pointing out, I will update that.

  • @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 Год назад +1

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

    • @ajitinamdartech
      @ajitinamdartech  Год назад

      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.

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

  • @ledinhanhtan
    @ledinhanhtan Год назад

    Wonderful work! Thanks a bunch!! 🤩

  • @pavankumarchinthapalli9298
    @pavankumarchinthapalli9298 Месяц назад +1

    Which type auto scalling is preferd

  • @pavankumarchinthapalli9298
    @pavankumarchinthapalli9298 Месяц назад +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  Месяц назад

      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.

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

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

  • @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 6 месяцев назад

    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  5 месяцев назад

      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!

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

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