How to Install Jenkins on EC2 with Terraform

preview_player
Показать описание

This tutorial will teach you how to install Jenkins on an ec2 instance with Terraform.

----------------------------------------------------------------------------
AWS Hands-on Projects for Beginners👇
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Projects Coming Soon 👇
----------------------------------------------------------------------------
✔ Deploy a Website with Terraform Modules, AWS ECR, and AWS ECS
✔ Create CICD to Deploy a Dynamic Website
✔ Python and AWS Lambda Project
----------------------------------------------------------------------------
Bootcamp 👇
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Thank you🙏. If you find this video valuable, please don't forget to like, subscribe, and share to support this channel 👍
Рекомендации по теме
Комментарии
Автор


AWS Hands-on Projects for Beginners👇


Projects Coming Soon 👇

✔ Deploy a Website with Terraform Modules, AWS ECR, and AWS ECS
✔ Create CICD to Deploy a Dynamic Website
✔ Python and AWS Lambda Project

Bootcamp 👇



Thank you🙏. If you find this video valuable, please don't forget to like, subscribe, and share to support this channel 👍

AOSNote
Автор

I was getting some errors in my code and this video helped me. Thank you for this great content🎉

abo
Автор

Wow!!! I just subscribed! You are a I am binge watching every video now. 🎉

abo
Автор

Very good Job Brother Azeez, very clear and very concise. Straight to the point

RodrigueTchamna
Автор

Thank you, your teaching style is very impressive

phuvion
Автор

Very great explanation and concise. Good job

pwkhsem
Автор

thanks!

By the way, if someone has the following problem:
Error connecting to SSH_AUTH_SOCK: dial unix
connect: no such file or directory
Then just add agent = "false" to your ssh connection (inside resource "null_resource" "name")

tyafizi
Автор

Nice explaination. Thanks a lot for this video.

vructze
Автор

This is one of it's kind. Thanks. Are going to continue with the website project?

sheynjila
Автор

getting this error when i try to apply terrform apply --auto-approve "ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no│ supported methods remain" can u plz help me how to resolve this issue thanks in advance

chaan
Автор

Hello, i tried all code but it is showing error of file provisioner time out error

sonnalbhaware
Автор

Hi i would like to join, but i would like to know what the monthly fee will be if i need all listed

faitheavowlanou
Автор

can you help? why is showing like that: Error: configuring Terraform AWS Provider: failed to get shared config profile, terraform-user

the_secret
Автор

Hi can you help me i am getting error like ssh auntentication failed null resource is not creating

ttttttyyyyyy
Автор

How about running jenkins as k8s pod..??

vimaladeshmukh
Автор

superb! best video on Jenkins on EC2 ..thank you very much! very clear and not confusing..
but does null_resource work in 2023?
Error: remote-exec provisioner error

│ with null_resource.name,
│ on ec2.tf line 118, in resource "null_resource" "name":
│ 118: provisioner "remote-exec" {

│ error executing Process exited with status 127

nntun
Автор

Hello .I follow all the steps but i getting an error I don't how to fix it
help me please
this is the error :on ec2.tf line 107, in resource "null_resource" "name":
│ 107: private_key = file ("~/Downloads/ec2_key.pem")
│ ├────────────────
│ │ while calling file(path)

│ Invalid value for "path" parameter: no file exists at "~/Downloads/ec2_key.pem"; this function works only with files that are
│ distributed as part of the configuration source code, so if this file will be created by a resource in this configuration you must
│ instead obtain this result from an attribute of that resource.

yawotentegue
Автор

I got the following error when provisioning. Error: file provisioner error

│ with null_resource.name,
│ on jenkins.tf line 112, in resource "null_resource" "name":
│ 112: provisioner "file" {

│ host for provisioner cannot be empty

sheynjila
Автор

Hi Azeez, I still have issues with the installation. Timeout when ssh'ing:


null_resource.name: Still creating... [4m40s elapsed]
│ on jenkins.tf line 113, in resource "null_resource" "name":
│ 113: provisioner "file" {

│ timeout - last error: dial tcp 54.146.224.156:22: i/o
│ timeout

sheynjila
Автор

Hi, Excellent Job Azeez. Each and every point is explained well. I am following this as hands on and getting one error which i explore to google but did't find relevant solution. Kindly look into it and suggest.

emote-exec provisioner error

│ with null_resource.name,
│ on ec2.tf line 118, in resource "null_resource" "name":
│ 118: provisioner "remote-exec" {

│ error executing Process exited with status 1

ashishAWS