Hello Yeshwanth, This was a very good video. Eagerly waiting for your videos on terraform / ansible as I am not much familiar with how to write and understand the code. basically i am into Infra operations big data, kubernetes and learning devops approaches to get into this fields. Thank you so much in advance.
Awesome Video thank you for the demonstration! Question, If we want to destroy the resources created through the pipeline would we have to manually destroy them? Or use terraform from our machine? Or can it be destroyed using the pipeline
Liked and subscribed! reall good info, thanks for sharing brother. You really followed the best practice (compared to many others who did not) .. you used terraform plan -out tfplan .. other tutorials simply use terraform plan, followed by terraform apply which is not a good practice. thanks again!
You are doing excellent work, and I appreciate your efforts and hard work. However, don't add music in the background because it's a little bit annoying to your video and dominates your voice too. I am expecting more videos like this from your channel. ALL THE BEST...👍.
Thank you for your kind words. I understood from my mistake of adding audio. I have stopped it and you will not see it from the new videos on this channel
Before selecting build now you have to ensure whether Terraform in installed in your Jenkins machine Or not. If not installed then the pipeline will not work
Hey there! That;s a great explanation. Could you please tell me how to create terraform resources? Do we need to take another ec2 for terraform ? If you've made a video earlier on Terraform and how to integrate it with jenkins, could you please help me locating your video? Thanks for your help in advance :)
Hello Yashwant, Very informative video, try to answer below query answer: Suppose in same AWS account if we have n number of Ec2 suppose 20 already, so can we use the same Jenkins JOB to create new instances with different names or labels and previous instances whether its created manually or via terraform will not impact if possible please create a details video with jenkins pipeline? Thanks once again for the video.
Hello Monk The Jenkins Pipeline file, Do we need to write the entire code on our own, or we can generate the code somehow. I know jenkins has a way to generate the stage for every step. But I am not sure if we can generate "Decision Code" - where you could "Approve" or "Deny" the tf apply stage.
Hello Yeshwanth, according to the script, Where does the terraform script run? as no terraform is installed in any of the ec2 instances . Do we need to manually install terraform ?
First you have a wonderful video, I've few questions First, Did you install your Jenkins on window? secondly did you install terrafor plugin if yes did you add the path to the already installed terraform, third can you use it for deploying ECS?
1. No I installed on Ubuntu EC2 Instance and 2. Terraform installation on linux is very straightforward and easy 3. Yes you can use this pipeline to create any AWS resource
Hello, I am getting error "cannot run program "nohup" in directory createproccess error=2 the system cannot find the file specified" during terraform plan can you help why?
Hello sir first of all very good video! I want to ask did you created another ec2 on another account to install jenkins? And on that ec2 have you installed terraform? Can i use the same pipeline file to create any resource on aws?
Hey Dhiraj, Thanks for reaching out. Your request has been noted. You can expect videos on Terraform and AWS in coming days. Until then please help me reach wider community of Cloud and DevOps enthusiasts. Keep supporting. Thanks, A Monk in Cloud
Hello Yeshwanth , You made a good video. I followed your instruction step by step. I am facing error in Plan stage . Terraform init is failing . Any recommendation ?
@@amonkincloud manage to fix it. It was related to git. Did git init and then ran the pipeline .. which fixed the issue . You made excellent video . Appreciate it.
if i want to create another instance with different name using the same terraform file how can i do it . i had done it is replacing name of the already created instance
Hi Yesh bro, This tutorial is very useful. If we have a existing VPC, SG group & unassign Elastic IP. How can we setup a automation? In Configuration tab, In which situation will give "This Project is parameterized" option? Could you please explain, it will more helpful. Thanks
Glad that it helped you. If you already have the resources which are created manually then you can import them on to the terraform state file. There are many tutorials on how to achieve it.
First of all, very good video, second I cannot run program "nohup" in directory createproccess error=2 the system cannot find the file specified, maybe because Iam runing jenkins on windows?
@@amonkincloud yes i add it up, one problem i am facing is that i have installed jenkins on ec2 ubuntu , so i opened 8080 port for jenkins but i dont why suddenly after 30-40 minutes always the ec2 doesn’t connect and i have to stop and restart it because of that i have to change the ip in the web hook also, dnt know why like that
Hi , I tried to do the same in my AWS ubuntu machine but I m getting issue with Terraform init. I have installed git as well in my ubuntu machine but still I am facing issue Could you please help?
Hi Mannu, thanks for reaching out. Many terraform related videos are yet to be released. I will start working on it soon. We can expect videos on this from next week. Thanks, A Mink in Cloud ☁️
@@amonkincloud hi bro video is awesome insted of terraform can i use visual studio code for yaml code and push it to bitbucket repo and build the infra in aws using jenkins pipeline using cicd? need your help
Hi Felix, thank you for reaching out. Please check if you have installed Git on the server where you are running Jenkins. If not installed, try installing it. Hope this helps! Thanks, A Monk in Cloud ☁️
@@amonkincloud Thank you for the response. I have installed git on my local machine since that's where Jenkins is installed and still getting same issue.
Hello Yeshwanth,
You have done an awesome job. You conveyed the message very crisp and clear. Jai Shree Ram
Thank you 🙏
This is what we require for cloud automation right. Very good video brother.
Exactly
Really Awesome and the flow of explanation sooo cool. Shared with friends too.
Thank you for the support 🙏
Ayos (Nice) Broder. Thanks from PH
Salamat 🙏
Keep supporting 🙌
Nice Explanation. Superb...
Thank you so much 😊
Excellent Video. Crisp and Clear. Thank you so much. Appreciate your efforts :)
Thank you 🙏
Keep supporting 😁
Hello Yeshwanth,
This was a very good video. Eagerly waiting for your videos on terraform / ansible as I am not much familiar with how to write and understand the code. basically i am into Infra operations big data, kubernetes and learning devops approaches to get into this fields. Thank you so much in advance.
Thank you Akshay. This keeps me motivated! As assured will make videos on Terraform soon!
Thanks,
A Monk in Cloud ☁️
excellent video many thanks
Thank you 🙏
Keep supporting 🙌
Awesome Video thank you for the demonstration!
Question, If we want to destroy the resources created through the pipeline would we have to manually destroy them? Or use terraform from our machine? Or can it be destroyed using the pipeline
You can destroy using the same pipeline
@@amonkincloud would we have to add another step on the pipeline?
Awsome❤❤video sir u did good job it's very helpful for me
Thank you 🙏
Keep supporting
Well explained.
Thank you 🙏
Keep supporting
Liked and subscribed! reall good info, thanks for sharing brother. You really followed the best practice (compared to many others who did not) .. you used terraform plan -out tfplan .. other tutorials simply use terraform plan, followed by terraform apply which is not a good practice.
thanks again!
Thank you 🙏
Keep supporting
very nice thanks bro
Thanks for the feedback 🙏
Keep supporting
thank you Monk 🙏
Glad that it helped you!
Keep supporting 🙌
You are doing excellent work, and I appreciate your efforts and hard work. However, don't add music in the background because it's a little bit annoying to your video and dominates your voice too. I am expecting more videos like this from your channel. ALL THE BEST...👍.
Thank you for your kind words.
I understood from my mistake of adding audio. I have stopped it and you will not see it from the new videos on this channel
Before selecting build now you have to ensure whether Terraform in installed in your Jenkins machine Or not. If not installed then the pipeline will not work
Exactly!
Hello sir may I know How to install terraform in jenkins
@@gowsalyadeviv7076 please search in TH-cam you will get more number of videos
Hey there! That;s a great explanation. Could you please tell me how to create terraform resources? Do we need to take another ec2 for terraform ? If you've made a video earlier on Terraform and how to integrate it with jenkins, could you please help me locating your video? Thanks for your help in advance :)
Please check AWS + Terraform playlist in my channel
Awesome explanation, Could you please post a video for jenkins master , slave configuration with demo and integration. Thanks
Thank you 🙏
Sure will create a video on this soon
Hello Yashwant,
Very informative video, try to answer below query answer:
Suppose in same AWS account if we have n number of Ec2 suppose 20 already, so can we use the same Jenkins JOB to create new instances with different names or labels and previous instances whether its created manually or via terraform will not impact if possible please create a details video with jenkins pipeline?
Thanks once again for the video.
Off course you can use them
Can you please create a requested video contents if possible?
Hello Monk
The Jenkins Pipeline file, Do we need to write the entire code on our own, or we can generate the code somehow.
I know jenkins has a way to generate the stage for every step. But I am not sure if we can generate "Decision Code" - where you could "Approve" or "Deny" the tf apply stage.
There are two types of pipelines. Please go through that once, then it will be more clear.
Is there any option we will get pipeline from pipeline script option in jenkins..Coz its difficult to write this code
Yes you can get the code snippet from Jenkins directly and modify a bit
Hello Yeshwanth,
according to the script, Where does the terraform script run? as no terraform is installed in any of the ec2 instances . Do we need to manually install terraform ?
Terraform and Jenkins should be installed on the same EC2
First you have a wonderful video, I've few questions First, Did you install your Jenkins on window? secondly did you install terrafor plugin if yes did you add the path to the already installed terraform, third can you use it for deploying ECS?
1. No I installed on Ubuntu EC2 Instance and
2. Terraform installation on linux is very straightforward and easy
3. Yes you can use this pipeline to create any AWS resource
Hello, I am getting error "cannot run program "nohup" in directory createproccess error=2 the system cannot find the file specified" during terraform plan can you help why?
This needs to be checked over a call by going through all the configurations
Hello sir first of all very good video!
I want to ask did you created another ec2 on another account to install jenkins?
And on that ec2 have you installed terraform?
Can i use the same pipeline file to create any resource on aws?
Yes, both Jenkins and terraform should be installed on the same EC2 and you can use this particular pipeline to create any AWS Resources
@@amonkincloud thank you sirji!
@light-sg5sl you are welcome
please make video on terraform if possible
Hey Dhiraj,
Thanks for reaching out. Your request has been noted. You can expect videos on Terraform and AWS in coming days. Until then please help me reach wider community of Cloud and DevOps enthusiasts. Keep supporting.
Thanks,
A Monk in Cloud
In this video i didn't understand how you configure your vscode with github and terraform to launch the resources ,pls explain.
VS Code configuration isn’t required at all
So how it's going to launch resources from github?
Thanks for this wonderful project. what is "foo"? i didnt get that
Hello Yeshwanth , You made a good video. I followed your instruction step by step. I am facing error in Plan stage . Terraform init is failing . Any recommendation ?
What is the error ?
@@amonkincloud manage to fix it. It was related to git. Did git init and then ran the pipeline .. which fixed the issue . You made excellent video . Appreciate it.
Hey it's great video ❤, but u didn't show how to configure terraform plugin and it's path.
Thank you 🙏
That part is present in another video
if i want to create another instance with different name using the same terraform file how can i do it . i had done it is replacing name of the already created instance
Add another resource
Hi, Can you please list down some common error we face while working with Terraform and Jenkins in real time.
Will try
Where is the terraform state file stored for the pipeline?
It depends on how you configure it. If you want to store it in cloud you can do that
Hi Yesh bro,
This tutorial is very useful.
If we have a existing VPC, SG group & unassign Elastic IP. How can we setup a automation?
In Configuration tab, In which situation will give "This Project is parameterized" option?
Could you please explain, it will more helpful. Thanks
Glad that it helped you. If you already have the resources which are created manually then you can import them on to the terraform state file. There are many tutorials on how to achieve it.
Hi I’m getting error when trying to add repo url. Its showing “failed to connect to repository:error performing git command…
Make sure to check if git is installed or not
First of all, very good video, second I cannot run program "nohup" in directory createproccess error=2 the system cannot find the file specified, maybe because Iam runing jenkins on windows?
Could be
I have to manually go and click run build after i make a commit to github, how i can set it up automatically
GitHub web hook setup is needed
@@amonkincloud yes i add it up, one problem i am facing is that i have installed jenkins on ec2 ubuntu , so i opened 8080 port for jenkins but i dont why suddenly after 30-40 minutes always the ec2 doesn’t connect and i have to stop and restart it because of that i have to change the ip in the web hook also, dnt know why like that
there should two ec2 instance one for TF-ec2 and jenkins standalone server/ec2 instance
This is for demonstration
Hi , I tried to do the same in my AWS ubuntu machine but I m getting issue with Terraform init. I have installed git as well in my ubuntu machine but still I am facing issue Could you please help?
Use the Jenkins file that I have provided in the GitHub repo it will work for sure
Kindly make terraform tutorial(with some project )
Hi Mannu, thanks for reaching out. Many terraform related videos are yet to be released. I will start working on it soon. We can expect videos on this from next week.
Thanks,
A Mink in Cloud ☁️
I have requirement to trigger terraform plan once PR approved and run the terraform apply after Merged with main branch
Yes Muru, we can do that certainly.
Can I get the code for this please ? Or any links
Haven’t made a video on this yet.
@@amonkincloud is it possible to do that . Because it’s necessary for all the projects now using Jenkins Pipeline
Yes we can do that. But it takes some time
So if i change the terraform code and push it to github, will Jenkins automatically take it and build and change the resources in aws account?
Yes only if you have all the things correctly.
All thinks correctly means doing all what you have shown in the video right?
Yes corret
You didn’t even integrated webhook with github and jenkins , so how is it actually happening
@@amonkincloud hi bro video is awesome insted of terraform can i use visual studio code for yaml code and push it to bitbucket repo and build the infra in aws using jenkins pipeline using cicd? need your help
Hi, the pipeline is stuck on "plan" . It keeps loading
Please check the configuration
Need a video of Jenkins master slave configuration with SSH
I have plans to create complete Jenkins course in future. Lets hope for the best
@@amonkincloud post as soon as possible
Sure
Here where can I store my state file and where can I get it bro???
You can configure to store it in an s3 bucket
how i can learn pipeline script ?
Learn Jenkins
Where is the video for configuration of jenkins terraform aws ..??
Can you be more specific on what is the video that you are looking for?
@@amonkincloud how to configure terraform with jenkins , so when we build a jenkins pipeline it will create a new VM in AWS.
I haven’t created detailed video on Jenkins. In future you might expect a video on that too
The current video is about the same I believe
Waiting for Terroform, ,please
Hi Dhananjay,
I am working on it. Videos will be out soon.
Just consider that you need to install terraform in your jenkins machine. otherwise your pipeline will fail!
Yes that’s correct
Mine is failing at checkout. please help
Hi Felix, thank you for reaching out. Please check if you have installed Git on the server where you are running Jenkins. If not installed, try installing it.
Hope this helps!
Thanks,
A Monk in Cloud ☁️
@@amonkincloud Thank you for the response. I have installed git on my local machine since that's where Jenkins is installed and still getting same issue.
Can you also check the Jenkins configuration for the Git checkout whether you are providing the correct Git URL all those things.
@@amonkincloud Yes i am, I forked your repo and pointed it to my github. i can send yo the console output if you want please
Send the screenshot of the error message to amonkincloud@gmail.com
i can make 100 ec2 instances at once, aws ask how many you want to make at once
Okay
mine failed to build
Check the console output and troubleshoot the issue.
@@amonkincloud yes I will run it through cloud watch logs it may be the access keys