Day-8 | Most Asked Interview Scenarios |

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

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

  • @Jalal921
    @Jalal921 Год назад +16

    Completed this entire series, Thanks for the explanation.
    1. Terraform migration ( using import and then running terraform import command which will create a state file).
    - This will import the EC2 instance all details which was created manually.
    - Importing EC2 instance to create a state file.
    # 2. Terraform drift detection ( if some one manually changed any settings for any resource, then detecting that change is called drift detection).
    # There are 2 ways to detect it.
    Scenario 1: Use terraform refresh using a cron job. ( terraform refresh, refershes the recents changes which was done manually to the statefile and keeps it updated.
    Scenario 2:
    - A) Use audit/activity logs to see who made changes, if its changed by user and resources is managed by TF, then send an alert using lambda/azure functions and notify.
    - B) Apply strict IAM rules so that no one can login to console.

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

      😍😍🚀

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

      What should i do next considering Azure Cloud.
      DevOps series completed
      TF series completed

    • @Deva2596
      @Deva2596 10 месяцев назад

      Thanks!!!

  • @dhaneshv71
    @dhaneshv71 10 месяцев назад +7

    You are making so many things for someone who is having an interview.kudos to you brother 👍🏻🙌🏻

  • @clarecao1343
    @clarecao1343 6 месяцев назад +2

    Thanks! Finished all 8 episodes 😊

  • @rajkamal5318
    @rajkamal5318 Год назад +4

    Thank you Abhishek for making this video and explaining the import scenario... because these are some of the most commonly asked scenario questions in the interview!

  • @nerdyspecs5980
    @nerdyspecs5980 Месяц назад

    Amazing series!!!! This has helped me a lot in quick interview pre. I am a SRE with 6 years of exp working on terraform from close to 5 years on and off. You have amazing straight to the point teaching skills.

  • @smritidn2781
    @smritidn2781 Год назад +4

    Thank you so much for the entire series and this surprise video! I'm so addicted to your teaching style and real-time scenarios you bring in. I really appreciate your time and efforts for all the free DevOps content. God bless you 🙏

  • @TambeAjinkya
    @TambeAjinkya 8 месяцев назад +14

    After running >terraform plan -generate-config-out=generated_resources.tf
    this command I was getting an error saying >Too many command line arguments.
    To solve this you have to put generated_resources.tf in quotes. So the command would be:
    >terraform plan -generate-config-out="generated_resources.tf"

    • @nithinprabhakar6583
      @nithinprabhakar6583 6 месяцев назад

      Thanks.. It is working !!!

    • @GoofyChaiLoverGirl
      @GoofyChaiLoverGirl 6 месяцев назад +1

      I was stuck with this too. ChatGPT was unable to solve this issue for an hour. Thought to check the comments to see anybody else got the same issue. And now its resolved. Thank you!!

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

    Completed end to end two playlist, learned lot from you gained very much knowledge
    Thank you Abhi Bro

  • @Devops_lablearn
    @Devops_lablearn 9 месяцев назад

    Thank you for this scenarios base interview question explanation.

  • @Rgroose
    @Rgroose 11 месяцев назад +1

    thanks for the whole series, great introduction to terraform

  • @rajatbhagat5637
    @rajatbhagat5637 Год назад +3

    Thank you, Abhishek, for this surprise video. I really appreciate it. I would like to request the next series to focus on scenario-based questions for each tool ( Jenkins ,Docker, K8S , AWS) you have covered previously.
    Thanks

  • @dummymail6029
    @dummymail6029 10 месяцев назад +1

    Thank you so much @abhishek great explanation

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

    Thank you Abhishek for this scenario based video

  • @vstar5966
    @vstar5966 Месяц назад

    Thanks so much, Abihishek, I just completed the series and it has been super helpful. You are the best man. Thanks

  • @handsomevillian
    @handsomevillian 5 месяцев назад

    I am really thank full to you for this act of greatness. kudos to you brother.

  • @KennethTamuno-o6g
    @KennethTamuno-o6g 4 месяца назад

    Thank you Abhishek youn just changed my life with this real scenario questions and answers, I appreciate it

  • @radhikakumari9219
    @radhikakumari9219 5 месяцев назад

    Thanks Abhishek. It was very nicely explained based on the real scenario.

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

    Thank You Abhishek bhai for this great content

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

    Thanks Abhishek for all your series

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

    Thank you so much Sir, God bless you

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

    thank you for this scenario based question it makes better to explain in the interview

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

    Completed...!
    Thanks Abhishek..

  • @aniruddhatope2388
    @aniruddhatope2388 10 месяцев назад +1

    Hey Abhishek,
    Thanks for this awesome tutorial, I had interview yesterday on terraform and got selected today by following ur tutorials. Many thanks🎉

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  10 месяцев назад

      Hearty Congratulations, Awesome news 😎

    • @aniruddhatope2388
      @aniruddhatope2388 10 месяцев назад

      @@AbhishekVeeramalla thanks guru ji

    • @artibalvir1193
      @artibalvir1193 7 месяцев назад

      @@aniruddhatope2388 did you served 90 days notice period?

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

    Thank you Mr Abhishek.

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

    Thank You Abhishek 🙏🙏

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

    thank you Sir very nice explaination

  • @krishnakumarchinnusamy
    @krishnakumarchinnusamy 11 месяцев назад +1

    this is a great Terraform Series Abhishek! 🥰😍 keep rocking as usual..

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

    drift detection :- i have faced this scenario but learned the technical term today.

  • @arvindkumar-zo9hw
    @arvindkumar-zo9hw Год назад +1

    Thank you sir. Please also make a short video on scenario 2b

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

    much needed video thanku abhishek

  • @shubhamrokade6086
    @shubhamrokade6086 5 месяцев назад

    Thanks Abhishek for making this vid its really helpful to me

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

    Hi Abhishek,can you please make a video on complete monolithic/microservice project deployment from setting up the infrastructure in cloud to deploying the app to production by showing the differences among deployments in vms,containers if possible

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

    geat work abhishek

  • @debashismca
    @debashismca 10 месяцев назад +1

    Good one Abhishek....

  • @praseebkdas25
    @praseebkdas25 10 месяцев назад

    Terraform series is super and more effective. Could you please prepare similar with Azure Cloud. For example, creation of VM, Networking, User data or provisioner, Azure Key vault, Azure blob storage for backend etc...
    Also some real time project examples.

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

    Please add more viedo on terraform for_each,count ,count.index and function ,looping , taint, untaint, dynamic block,local

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

    Abhishek can you please explain that also how we can use resource of one resource and used in other resources and taint and untaint , for_each ,count,count.index, function..but one think i can say all of your series are wonderful..now one can provide this type of knowledge share free pf cost .. thanks alot your inspiration for many people

  • @asifkuntoji7412
    @asifkuntoji7412 Месяц назад

    You are amazing...

  • @kashifaliuk
    @kashifaliuk 2 месяца назад

    Thanks Abhishek

  • @tiltedmacha
    @tiltedmacha 8 месяцев назад

    we can make use of sentinal policy for best practices.

    • @princevishal007
      @princevishal007 19 дней назад

      Could you please what can be achieved using these policies??

  • @Ravaliburra-r2l
    @Ravaliburra-r2l Месяц назад

    Hi, here your are explain single instance but suppose EKS cluster have mater and worker nodes how can we approach

  • @AnshumanGupta-hv9bd
    @AnshumanGupta-hv9bd 6 месяцев назад

    Thanks Abhishek for these wonderful videos. Can you please make some video on Sentinel policies in terraform, as I am facing same Question in the multiple interviews

  • @amansharma-xh6og
    @amansharma-xh6og 6 месяцев назад

    completed this series!

  • @arvayeng4302
    @arvayeng4302 8 дней назад

    At 15.45 sec....you could have given a better example, rather than person leaving the org will mess up the configuration....

  • @leoliu-gc3sg
    @leoliu-gc3sg 9 месяцев назад

    Nice job!sir! i have been asked for the first secnario.

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

    thankyou sir

  • @DebdiptaDatta
    @DebdiptaDatta 11 месяцев назад +1

    Could you please prepare a detailed course on LINUX and scripting

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  11 месяцев назад

      I think the videos on the channel are enough for linux and shell.

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

    hi abhishek, will you explain more about data resource concept. please create video where two different project connect with each other and transfer details or use details of each other or project 1 required details from project2 to run

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

    Hello Abhishek, can you please explain what is Terragrunt? What are its uses?

  • @sravanmanchikatla
    @sravanmanchikatla 7 месяцев назад

    thank you Abhishek for sharing the info. if possible can you do demo 2b (solution for draft detention)
    like you said audit logs using lambda

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

    you would have share some more scenario based questions. I have addicted to your teaching Maastaru ❤
    Thank you so much 🙏🙏 #DevopsDictionary 🤩

  • @GoofyChaiLoverGirl
    @GoofyChaiLoverGirl 6 месяцев назад

    😃 I wanted good answer for this question of migration and I got it … 🎉🎉🎉 Thank you 🙏🏼

  • @Thirumalareddy-g2e
    @Thirumalareddy-g2e 5 месяцев назад

    Hi Abhishek,
    Scenario 1: Use terraform refresh using a cron job. ( terraform refresh, refershes the recents changes which was done manually to the statefile and keeps it updated.
    Where i have to mention cron job?

  • @rahulgirhepunje1559
    @rahulgirhepunje1559 9 месяцев назад

    Hi @abhishek ,i have one questions related terraform import command , If i have import the Ec2 instance using import command and after that try to add one extra volume on particular that instance using terraform ......if i run terraform plan command so it shows first i will destroy the instance and then create and attached this extra volume ......please help to address this issue .

  • @manjushabhople8614
    @manjushabhople8614 22 дня назад

    Very helpful series. I have faced many interview questions that you explained in this series.
    I am following your all the series and improving my knowledge day by day.
    I have one doubt in import command. By using terraform import are we able to import on one resource at a time ? and if yes then how we can import multiple resources at one time. Also how to resolve the error "resource already exists" in terraform. Suppose I have main.tf with 5 resources and I deployed that already and after that I made changes in four of them and again deploying using terraform apply then I will get error for that one unchanged resource as its already exists.

  • @ravindraravi7435
    @ravindraravi7435 10 месяцев назад

    Thank you ^^

  • @BhavyaAccenture
    @BhavyaAccenture 8 месяцев назад +1

    Thanks for the surprise video Abhishek, really appreciate your hard work. I have a quick question on the 1st scenario. If we want to migrate more than one resource to terraform and not only EC2 instance, how do we achieve that? The command you shared is for resource block and we create a lot of resource blocks to achieve other resources, do we run the command multiple times or do we have a method to achieve this from one command?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  8 месяцев назад +1

      Same method, just add all the resources and run that command.

  • @baranlirath5949
    @baranlirath5949 8 месяцев назад

    How to setup lambda function can you please do it practically if anyone modify the state file?also could please make a video on lamda function layer and different use cases

  • @jitendrabaradwaj200
    @jitendrabaradwaj200 4 месяца назад

    @abhishekveeramalla Can the Terraform lock concept be used to prevent the multiple users change the infra as in the case of scenario-2 in the video? How can this be explained?

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

    Hi Abhishek
    Can you a make a video on how to run Jenkins on kubernetes?

  • @MohdAbuzer17
    @MohdAbuzer17 5 месяцев назад

    This importing method was not working for me giving error - only managed resources can be imported. I did it another way by writing resource block in main.tf including ami and instance_type. then ->terraform init ->terraform import aws_instance.example instanceId. This generated statefile with all info of aws instance whose id i provided

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

    Hello Abhishek...u gave an example of one resource migration ie;Ec2...and how do we migrate multiple resources like S3, vpc, etc,. under one terraform project...and how do we use terraform import command for multiple resources.

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      Import blocks, yes the problem is u need to generate for each resource..u can use loops for each individual resources may be

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

    Thanks Abhishek

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

    @AbishekVeeramalla bro, i recently started your devops course , first we need to complete the AWS and then the devops playlist or vice-versa

  • @PremnathR-i9y
    @PremnathR-i9y 4 месяца назад

    Hi, After DAY-8, its starting DAY-24. How can get those missing videos from DAY-9 to DAY -23

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

    hi abhishek sir, thankq for providing this wonderful series of terraform , i hve watched all urs videos of terraform frm day1 . while solving this import senario im getting an error as
    Error: Too many command line arguments

    │ To specify a working directory for the plan, use the global
    │ -chdir flag.
    could u please help to how to resolve it , thnks in advance🙂

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

      Please share the steps on what you did ?

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

      Tq fr the response
      After terraform init and used cmnd like terraform plan -generate-config_out=generated _resources.tf
      Thn I got the above error

  • @arnabchowdhuri8544
    @arnabchowdhuri8544 10 месяцев назад +1

    Sir One silly doubt, Is there any way to import 1000 resources at a time in terraform without mentioning each and every resource id in the terraform configuration file. For example somethimes we mention (*) for all the contents.

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

    ❤❤❤

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

    Hi Abhishek, you have installed a CLI and then had connected an instance. Can we use Linux AMI and can use putty to connect and then can access same instance through Linux, could you please confirm is that method is also available to connect?

  • @SalmanKhan-f9t6d
    @SalmanKhan-f9t6d 2 месяца назад

    Hi Abhishek, I have one doubt. sometime back I learned on youtube that to use already created VPC resource in our terraform we use data block. Is this the best way or the one which you explained about terraform import command. or is there any difference in both.
    Thanks

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

    Thanks Abhishek for the amazing content , i was able to learn all the basics of terraform because of you . i just had one doubt so while importing existing resources to terraform we need to have all the id tags of every resource that is existing then ?

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

    Hi Abhishek, will you help out to understand concept of data "terraform_remote_state" with example.. Thank you

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

    hi Abhishek,
    I want to setup Terraform from my client and we're a team of 6 people managing AWS Infrastructure. Can you let me know how should I set this environment and make it secure? For a single user, I can create an IAM User and use the security credentials, but I am sure how to do it for entire team. Should I use Git & Jenkins for automation.

  • @venkatayakkala7753
    @venkatayakkala7753 10 месяцев назад

    How the cross-region configuration can be done using terraform?

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

    Hey Abhishek Thank you so much for this course and all the courses. By learning all your series can someone show 3 years of experience? I mean this is for freshers only or for experienced people also?

  • @Aman-sn8lr
    @Aman-sn8lr 7 месяцев назад

    Do you knkw any oroject where we can try to perform the migration from cloudformation to terraform

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

    Just a doubt after day 8 y in playlist I’m seeing directly day 28 can someone please explain is something I’m missing here

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

    Hi Abhishek please start azure devops zero to hero course

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

    thank you is not enough anhishek

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

    Thanks Abhishek for wonderful video..
    While replicating, I am getting the below error while running terraform init , please suggest which point I missed.
    Error : Unsupported block type
    Block of type "import" are not expected here.

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

    Hi Abhishek, i have doubt that can we integrate terraform with jenkins. Can you please make a video on this. Please 🙏🙏 Many thanks for your efforts and the technics you use to make understand in easy way. By asking questions your self on behalf of viewers... Once again thank you.

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      U can integrate with any CI tool, hashicorp/terraform has docker image too so its easy

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

    What if statefile is messedup wantedly

  • @batchuhemadurganagasri8535
    @batchuhemadurganagasri8535 9 месяцев назад

    Hi Abhishek. I have watched terraform till day 7 classes. Almost all the things understood but slightly there is confusion on modules and workspaces. I want to know about these deeply. Can u plz guide any resources?

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

    Can i get a job If i learn aws and devops as a fresher. Please let me know.

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

  • @sunnydevZ
    @sunnydevZ 10 месяцев назад

    Thanks for the Series...great Stuff @AV 👌👍 !!! A QQ , pardon my ignorance ,where does the cron job reside/needs to be created in scenario 2a ?Please lemme know . .

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      On any linux server ..it should be running periodically right.
      U can use aws lambda also

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

    Sir when will u start... Azure devops series

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

    Hello Abhishek, In Your video instance is running on N Virginia region.when you are importing the instance in that you provide us-east-1 region. When we are importing configuration that time region mandatory or not? Due to some issue i am not able to do practical that why I am asking this question.
    Thank You

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      Region should be same, u will have those in prividers block

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

    Hi Abhishek,
    Could you please let me know if I want to import a S3 bucket, an ec2 instance with a security group attached ( other than default one) which I might have deployed manually,in this case do I have to use three separate import blocks for each of these resources (s3,ec2 and the security group which is attached to the ec2 instance)...i.e. The id field in the import block will have the bucket id, instance id and sg ID or the whole import of three resources can be done from same import block ?

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

    Azure or Aws which have more demand and get good hike and package!?

  • @SaiKumar-b6m
    @SaiKumar-b6m Год назад

    Thank you,Abhishek. It's a great course.what terraform certification can we complete with helpful of this course?

  • @Cs_Naidu
    @Cs_Naidu 7 месяцев назад

    Hi Bro, Do we need to login to terraform or how it will work? I mean to create resources or run terraform commands in organisations. ❤

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

    hi abhishek in git there is no content for day 8 session? may i know the reason?

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

      It is a scenario based video, difficult explain that in docs.

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

      Where we can get that examples? Is there any separate repo for that?

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

    can we get state file without unnecessary things by import command?

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

      What do u mean by unnecessary? Every feild for aws resource is important

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

      ​​@@AbhishekVeeramalla8:47 like required fields , optional field..why because we are getting huge file when we import

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      U can't pretty format u will get all the junk

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

    Hi abhishek, I have one more question. If terraform command is being executed from personal system of devops person and same user did the change manually. How lambda function will understand because the user is same. Either he did it from console or setup secret in local and perform terraform commands

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      Cloud trail in aws gives the agent from where the request came from

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

    Hi Abhishek thanks for the session, but how to migrate from one cloud service provider to other public services provider

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      That's a difficult ask, u need to map service to service and should rewrite the modules/ resources

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

    how to set cronjob refresh command

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

    How to make terraform more responsive?
    Someone asked this question in my interview

  • @princesharma-xx9fn
    @princesharma-xx9fn Год назад

    Simlarly in case of Azure We can use Azure Activity logs who have done the changes whethter it is a service principal or an AD user . Am i Correct ?

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

    Thank you Abhishek. I have a question If tf state file got deleted by mistake how can we get it back?

    • @saikaraka6905
      @saikaraka6905 9 месяцев назад

      Best practice is to use backend with version control. Delete means need to play with this import