Setup EKS Cluster using eksctl and Deploy Springboot Microservices into EKS using Jenkins Pipeline

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • www.coachdevop...
    We will learn how to automate springboot microservices builds using Jenkins pipeline and Deploy into AWS EKS Cluster with help of Kubernetes CLI plug-in.
    Sample Code for this video is here:
    github.com/aka...
    Make sure you fork my repo.
    We will use Springboot Microservices based Java application. I have already created a repo with source code + Dockerfile. The repo also have Jenkinsfile for automating the following:
    Automating builds using Jenkins
    Automating Docker image creation
    Automating Docker image upload into AWS ECR
    Automating Deployments to Kubernetes Cluster
    EKS cluster can be created by following steps below:
    www.coachdevop...

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

  • @deepakkakkar7698
    @deepakkakkar7698 11 месяцев назад +2

    Salute, Perfect video for EKS. I saw so many videos, but here I found out roadmap, how, why and what we are doing, explanations. thanks DevOps coach.

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

      Glad it helped! Hope you have subscribed to my channel.

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

      @@DevOpsCoach I have 1 confusion here in this tutorial. When you first run the create cluster command(eksctl create cluster --nodes 2) it creates 2 worker nodes, After that when eks-deploy-k8.yaml file is applied it shows 2 pods created and 2 deployments created with 1 SVC. So does these 2 deployments occurred on that 2 worker nodes(1 on each worker node) ? and where it shows pods=2, is these 2 pods belong to any 1 worker node? Please explain me, I am confused here or missing something.

  • @loverebel6632
    @loverebel6632 2 года назад +2

    Beautiful Presentation with Beautiful English with no reflection of South languages .

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

    all topics consolidated -good one- one stop shop for all devops needs.

  • @akshaywagh4589
    @akshaywagh4589 2 года назад +6

    Man I wanna give lots of thanks to u , very well explained in simplest way. I saw many videos but this one was game changer i understood the whole CI-CD flow thanks alot

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

    Great job! Well explained. One of the best videos of showcasing a lot of moving parts of CI/CD with latest technologies like Kubernetes

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

      Glad it was helpful, thank you for your kind words!

  • @kaushik4080
    @kaushik4080 3 года назад +3

    I can't express my happiness. I was waiting for such video for 3 months.
    Thank you so much sir.

  • @udaykumar-tb5kn
    @udaykumar-tb5kn 3 года назад +3

    What a, person you r.. And awesome patience to cover this video.. You r the superb

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

    This video has great detailed explanation, Thank you...😇

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

    I love you man. Thank you for the Clear cut explanation of everything.

  • @kingdavid526
    @kingdavid526 4 месяца назад +1

    thank you so much sir for this video , i am searching for how to integrate eks lcuster with jenkins but today i got right video

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

    You're an amazing teacher!!

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

      Wow, thank you!

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

      Where can we find info about your training? How long? Price? Content? And all.

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

      @@vback4238 www.coachdevops.com/2023/06/devops-bootcamp-by-coach-ak-on-aws.html?m=1

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

    Excellent... Well explained everything in a single flow.. Content is next level..

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

    u r the gem on youtube.

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Thank you so much, glad it helped you

  • @aasthavidushi132
    @aasthavidushi132 2 года назад

    Man, take a bow. Your explanation made it so easy. Trust me this was my first video on EKS cluster setup & application deployment. Would like to see more contents around Terraform & EKS. Thanks a lot.

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Great to hear! Thanks Aastha!!!

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

    Great VDO!, Thanks keep going bro

  • @thanvikamadhala-ip7kg
    @thanvikamadhala-ip7kg 10 месяцев назад +1

    Great Explanation. Thanks a lot.

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

      Glad it was helpful! thank you!

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

    Just wow, awesome explanation. 🙏🙏

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

    Thanks for the good explanation.

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

    Awesome!! Worked just like that without any errors or issues. Very detailed one!

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Good to know, thank you so much

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

    Great tutorial! Very educative.

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

    Sir you are awsome. Thank you so much for making this video. Learned a lot.

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

    This is very useful and helpful to get Job as i am more senior and new to this platform. Thank you friend and you did a great effort.. - John Trichy

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      You are very welcome, So glad to hear! Wish you all the best for your new job!

  • @chandankumar-xg4lc
    @chandankumar-xg4lc Год назад +1

    great job sir, you are amazing

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

    Thank you very much for sharing this awesome video!

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

    sir not a single minute of the video bored me. I am so happy that I learnt so much in just

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      So nice of you, thank you for the kind words!

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

    Nice tutorial. Awesome explantion.

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

    amazing man , that was awesome

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

    Great!!! Very Good and valuable vedio you made. Awesome..Thank you so much..

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

    Give this man a Medal

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      glad to help you to learn more!

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

    wow explanation 👏point to point 😊

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

      Glad you liked it

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

      @@DevOpsCoach likewise are you going to tell about helm also ?

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

      yes, please check here updated helm playlist. ruclips.net/video/3FoGwq8eXAY/видео.html

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

      @@DevOpsCoach thank you

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

    Hii...I like the way of your explanation, which is simplest and clear to understand everyone. even though our course trainer charged the fees and didn't explained like this..thank you so much

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

      thanks a lot Krishna for your kind words! appreciate your feedback!

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

    Thanks a lot sir, really informative content!!

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

    No Words Sir, Really great.

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Awesome, thank you so much Jash!

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

    Excellent bro.. awesome explanation

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Glad you liked it, thank you!

  • @khadarkhan5498
    @khadarkhan5498 2 года назад +2

    This is an awesome video, I cant express how important it was for me now. Thank u for such a work.

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

    how I say thanks to you I am not understanding because the way you are teaching excellent , amazing. keep it up
    excepting some more video on k8s using kops method

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

      thank you so much, keep watching the channel for more videos

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

    awesome thanks well explained

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

    this is super helpful, thank you sir.

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

    Superb video

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

      Thank you so much, glad you liked it

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

    One of the best explanation for real time scenario, it helped me a lot to understand the flow and how it works. I have a question regarding Pipeline setup , if we follow same cluster setup for dev , uat and prod.. do we need to follow same pipeline steps for prod cluster as well ?

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

    Really an awesome video sir. Thank you very much

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

    Good content 💥 only replacing latest image name in deployment file for next deployment is missing.

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

    This is great. Do you have any other tutorials that cover microservices (multiple services) deployment into EKS using Jenkins?

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

      check my Helm playlists...ruclips.net/p/PLJwvtUqYDmA71xYL0kvsJJHkxftQlJPro

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

    Hello Sir, I really thank you for making this valuable video, i request you to make one more session for Continuous Deployment through Bamboo---> AWS EKS ---> AWS Ec2,

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

    this is fantastic. thanks.

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

    can't we install docker inside Jenkins in lambada function service. instead of Ec2 instanee

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

    Hi sir.. Tutorial is awesome, but i had a doubt, in build stage u had given docker.build registry like how it process to build an image from docker file without using docker build -t

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      That syntax is different. Based on docker pipeline plugin

    • @rickyspartanz2623
      @rickyspartanz2623 2 года назад

      Ok sir but can you please tell me in a simple way how this fetch image without showing any detail except ecr image, As per docker file spring boot is the image.

  • @parames3039
    @parames3039 3 года назад

    Successfully completed this task sir please share kubernetes same as like each and every point

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

    Hello thank you so much for sharing this amazing tutorial i followed every steps till the end but my pods had imagepullbackoff , i need you're help to resolve this issue , I'm still a newbie i don't know how to go about troubleshooting the problem thank you

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

      @kenzylink - check the deployment.yml file , if the image being referenced is the correct one which is running in your system as well, verify with this command - docker image ls

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

      check your deployment yaml file and make sure image path is right

  • @paravind2979
    @paravind2979 3 года назад +2

    Thank you so much

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

    Sir how about the updating the new image tag inside manifest file before deploying to eks cluster? Do you have video for that?

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

    hello sir,can we say that we have deployed our microservice using shescript instead of using argo image updater.?

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

    In k8 yml file do we need to mention load balancer name which we create in AWS !! and at last you are hitting one url to get see your application result, that load balancer url where we can find !! In AWS load balancer section ??

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

    I am using the Ubuntu 22 only as we tried to add the command apt-key showing as deprecated

  • @Vinaykumar-pz9hr
    @Vinaykumar-pz9hr 2 года назад +1

    my deployment and pods are not getting ready what might be the issue

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      what is the issue you are having? did you describe your pod using kubectl and find out issue?

  • @mbomboaimaim798
    @mbomboaimaim798 3 года назад

    Fantastic training__ Shall we add. Terraform to the work flow please

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      yes any resources creation in AWS, you can use terraform. please watch this video --> ruclips.net/video/hyP3RleaQ_o/видео.html

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

    Thank you so much for this beautiful presentation, could you pls share the github page

    • @DevOpsCoach
      @DevOpsCoach  21 день назад

      it is already mentioned in the web page and also description of the video. Make sure you fork my repo github.com/akannan1087/springboot-app

  • @muhammadsuleman8771
    @muhammadsuleman8771 2 года назад +2

    Sir Thank you so much for this video. Can you please suggest how can I do monitoring with this lab?

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

    thankyou so much ,could you please create same it for eks-farget

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

    hello sir, i have a issue Kubernetes Deployment successfully, but not displaying the updated content. how to do it please suggest.

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

      you should tag the images with build id dynamically, you should avoid latest tag when building docker image every time

  • @vandananagesh4180
    @vandananagesh4180 2 года назад

    Hello Sir, If we are creating the EKS cluster with terraform, how do we give permissions for kube/config file to jenkins user?

  • @cherukurimaniharika7031
    @cherukurimaniharika7031 2 года назад

    Thank you for detailed steps , have a doubt! kubernetes CLI plugin installation is getting failed, May I know alternative plugin to be used? I can see new plugins are available now in jenkins. Please suggest.

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

      you can restart Jenkins. what is the error you are getting?

    • @cherukurimaniharika7031
      @cherukurimaniharika7031 2 года назад

      @@DevOpsCoach Sir, I tried again and it is installed now. I have implemented all the stages successfully but we are not able to view the pods,services info in AWS console . Why is it so? and how to give EKS access to another user now to view pods container info? Please help on this.

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

    nice video but the volume is a little bit low.

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

    How can We update build number to deploy instead of latest version image.??

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

      stage('Building image') {
      steps{
      script {
      dockerImage = docker.build registry
      dockerImage.tag("$BUILD_NUMBER")
      }
      }
      }

  • @PandaRamesh-s7u
    @PandaRamesh-s7u Год назад

    where you written dockerfile and create image and how do you took that image

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

      Dockerfile can be written by following documentation..you can build docker image using Dockerfile. docs.docker.com/develop/develop-images/dockerfile_best-practices/

  • @abdqadr
    @abdqadr 2 года назад

    Thank you for this content. If I have multiple microservices to deploy to k8s, do I have to create new pipeline for each of them or is there a way to do everything in a single pipeline

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

      usually you create a separate pipeline for each microservice or you can use Helm for deploying multiple microservices into K8S

    • @abdqadr
      @abdqadr 2 года назад

      @@DevOpsCoach You mean I can run helm command if i have it installed from Jenkins script?

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

      here is the video for deploying applications into EKS using helm and Jenkins pipeline --> ruclips.net/video/Ojb9Rh0BcvA/видео.html

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

    Hello Sir, what if ECR instance is private, what are we supposed to do, I mean how to generate a key or password of ECR

  • @mbhaktavatchalam4502
    @mbhaktavatchalam4502 2 года назад

    Sir will you provide online devops coaching? Please let me know timings and fee

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      yes, I do. can you please email me? you can get the contact info on this page. www.coachdevops.com/2022/11/aws-azure-cloud-and-devops-coaching.html

  • @ramkamepalli3395
    @ramkamepalli3395 3 года назад +1

    You made it so simple sir, Ecr is just alternative of docker hub in aws service right?

    • @DevOpsCoach
      @DevOpsCoach  3 года назад +3

      thanks you.. yes..that is right!

  • @jayasuriyap8748
    @jayasuriyap8748 2 года назад

    Hi sir how to do ci-cd for databases in jenkins for sql..Can you please post a video..

  • @akkabra2861
    @akkabra2861 2 года назад

    could you please create same it for laravel-admin app through this same process

  • @kaushik4080
    @kaushik4080 3 года назад +1

    Sir please suggest - when i run command after all work - kubectl get pods - I get this error - ImagePullBackOff

    • @tradewithshajil7186
      @tradewithshajil7186 3 года назад +1

      use kubectl describe pod command to get error details

    • @DevOpsCoach
      @DevOpsCoach  3 года назад

      you should fork this repo and make changes in eks-deploy-k8s.yaml to pull image from your ECR

    • @parames3039
      @parames3039 3 года назад

      Please change image idname in git eks-deploye-k8s.yaml in

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      @@tradewithshajil7186 yes good way to know

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

      Perhaps pulling image from Coach’s ECR private repo. That won’t work. You need to push the image created into your own ECR and then edit the yaml file with your ECR details prior to deployment.

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

    hello sir
    when i do kubectl get pods. The pods still pending

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

      troubleshoot with kubectl describe pod pod_name

  • @Xp-Sam
    @Xp-Sam 2 года назад

    Sir I followed everything correct but at the time of build stage mvn clean install is talking too long, from almost 6 hrs its running, and the instance getting very slow, not able to type any commands in it.

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      make sure you have good cpu for your ec2 instance. it should be t2.medium or at least 4 GB RAM

    • @femifire1
      @femifire1 2 года назад

      As Coach stated, your instance probably has little resources to support the tasks. Change the instance type to medium or large.

  • @ramkamepalli3395
    @ramkamepalli3395 3 года назад

    Sir, do we have scope to use ansible here to create docker image from jar/war file?

  • @nilavasen8631
    @nilavasen8631 2 года назад

    Sir, kindly share the github repo URL.. we need to clone this for practice. Thank you !!

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      check the web page.. it is provided there

  • @kaushik4080
    @kaushik4080 2 года назад

    Sir I request you to make a video on How to deploy springboot with mysql using jenkins on eks Please sir

  • @shaikhshoaib430
    @shaikhshoaib430 2 года назад

    What type of database your using in this project i didn't get that

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

      it uses default database, H2

  • @moinsyed195
    @moinsyed195 3 года назад

    HI can you make a video on how to install Jenkins I have tried many time
    but it shows errors

    • @DevOpsCoach
      @DevOpsCoach  3 года назад

      ruclips.net/video/V1VOrnG93Ew/видео.html
      please watch this video to know how to install Jenkins

  • @kacyk7824
    @kacyk7824 2 года назад

    how do you delete the eks cluster on your ec2 ? it won't terminate.

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Delete EKS Cluster using eksctl command: sample code below:
      eksctl delete cluster --name demo-eks --region us-east-2
      or Login to AWS console --> AWS Cloud formation --> delete the stack manually.
      you can also delete the cluster under AWS console --> Elastic Kubernetes Service --> Clusters
      Click on Delete cluster

    • @femifire1
      @femifire1 2 года назад

      Go to your Auto Scaling Group -ASG, and edit your launch configuration by modifying the desired minimum and maximum node capacity to 0. Then go and manually terminate the worker nodes.
      Modifying the ASG launch config to zero, will prevent ASG from automatically spinning up new nodes after you terminate your worker nodes.

  • @shaikrazak9841
    @shaikrazak9841 3 года назад

    Sir can you please make a GKE video ?

  • @vamsis4931
    @vamsis4931 2 года назад

    Hi bro
    Can you do how to deploy application into Ecs

  • @k.r.mohanreddyk.r2350
    @k.r.mohanreddyk.r2350 3 года назад +2

    Please provide GitHub link below description

    • @DevOpsCoach
      @DevOpsCoach  3 года назад +1

      github.com/akannan1087/springboot-app

  • @ritenmehta9454
    @ritenmehta9454 2 года назад

    Hii sir,
    Can you please share your training session???

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Yes, sure, this is the schedule. www.coachdevops.com/2020/08/aws-and-azure-devops-coaching-online.html

  • @josemanuelgutierrez4095
    @josemanuelgutierrez4095 2 года назад

    Why you cannot give us your repo like a guide of the project ?

  • @josephangelocasauay4823
    @josephangelocasauay4823 2 года назад

    help jenkins is not showing in my host

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      can you please give more information?

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

    sir i m getting this error
    While running it, I got "kubectl: not found". I installed Kubernetes-cli plugin to Jenkins, plese suggest .

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

      You need to install kubectl cli as well in Jenkins

  • @2mahender
    @2mahender 2 года назад

    can you give us github repo link?

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      github.com/akannan1087/springboot-app

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

    I strongly regret i bought 5000 rupees course this kind of explanation i did get from it. This question asked in my paytm devops interview 😢 i am not able to answer it

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

      What are you trying to say? Did you get what you were looking for after watching this video?

  • @मराठीमाणूस-ड9ट

    I getting this error
    + kubectl apply -f pod.yaml
    error: error loading config file "/var/lib/jenkins/workspace/jenkinsjob/.kube12416699358756423848config": illegal base64 data at input byte 48
    [Pipeline] }
    [kubernetes-cli] kubectl configuration cleaned up
    [Pipeline] // withKubeConfig
    [Pipeline] }
    [Pipeline] // script
    [Pipeline] }
    [Pipeline] // stage
    [Pipeline] }
    [Pipeline] // node
    [Pipeline] End of Pipeline
    ERROR: script returned exit code 1
    Finished: FAILURE

    • @DevOpsCoach
      @DevOpsCoach  2 года назад

      Are you able to query the cluster ? kubectl get nodes command returns anything?

  • @aaryansamra1574
    @aaryansamra1574 2 года назад

    Thank you sooo much