Kodekloud Terraform Challenge 3 | Implement simple AWS EC2 instance with some preinstalled packages

Опубликовано: 26 Февраль 2026
на канале: NB Tech Support
256
8

NB Tech Support Channel contains the most practical information on the task regarding the Linux & Devops.

This video shows step by step process to Kodekloud Terraform Challenge 3 solution
In this challenge we will implement a simple AWS EC2 instance with some preinstalled packages.
AMI: ami-06178cf087598769c, use variable named ami

Region: eu-west-2, use variable named region

Instance Type: m5.large, use variable named instance_type

Elastic IP address attached to the EC2 instance

Create a local-exec provisioner for the eip resource and use it to print the attribute called public_dns to a file /root/citadel_public_dns.txt on the iac-server
Install nginx on citadel instance, make use of the user_data argument.
Using the file function or by making use of the heredoc syntax, use the script called install-nginx.sh as the value for the user_data argument.

Please go through Blog for step wise guide. Share your comments, Like and share the knowledge

Happy Learning!!!!

Refer to Blog :- https://www.nbtechsupport.co.in/2024/...

Refer Gitlab Repo :- https://gitlab.com/nb-tech-support/de...

Good Luck!!!

#devops,#terraform,#provider,#aws,#git,#ec2,#ami,#gitdeletebranch,#deletebranch,#kubernetes,#linux,#jenkins#task,#kodekloudengineer,#docker,#nbtechsupport,#nbtech,#git,#kodekloud,#ansible,#git,#docker,#puppet,#engineer,#reviews,#devopsvideos,#devopstutorial
#devopsrealtime,#devopshandson,#devopsissues,#devopspracticals,#ansibletutorial,#kubernetestutorial,#realtimetrainingdevops,#handson,#realscenario,#jenkinstutorial,#jenkinsproject,#jenkinspipeline