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

Sdílet
Vložit
  • čas přidán 9. 02. 2022
  • www.coachdevops.com/2022/01/d...
    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.
    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.coachdevops.com/2022/02/c...
  • Auta a dopravní prostředky

Komentáře • 183

  • @kunalkatdare9799
    @kunalkatdare9799 Před rokem +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  Před rokem

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

  • @akshaywagh4589
    @akshaywagh4589 Před rokem +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

  • @kaushik4080
    @kaushik4080 Před 2 lety +3

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

  • @sudeepjanardhan
    @sudeepjanardhan Před rokem +1

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

  • @aasthavidushi132
    @aasthavidushi132 Před rokem

    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.

  • @sravankumarreddy3150
    @sravankumarreddy3150 Před rokem +1

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

  • @udaykumar-tb5kn
    @udaykumar-tb5kn Před 2 lety +3

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

  • @loverebel6632
    @loverebel6632 Před rokem +2

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

  • @deepakkakkar7698
    @deepakkakkar7698 Před 4 měsíci +1

    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  Před 4 měsíci +1

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

    • @deepakkakkar7698
      @deepakkakkar7698 Před 4 měsíci

      @@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.

  • @khadarkhan5498
    @khadarkhan5498 Před 2 lety +2

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

  • @pulidovpe
    @pulidovpe Před rokem +1

    Thank you very much for sharing this awesome video!

  • @sujaykumar4636
    @sujaykumar4636 Před rokem +1

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

  • @samrat101
    @samrat101 Před 5 měsíci +1

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

  • @aniruddhsingh1725
    @aniruddhsingh1725 Před rokem +1

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

  • @shantaveergoudar1478
    @shantaveergoudar1478 Před 7 měsíci +1

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

  • @rajkiransenapaty5379
    @rajkiransenapaty5379 Před rokem +1

    Thanks for the good explanation.

  • @subanishaik6757
    @subanishaik6757 Před 2 lety +1

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

  • @joshuadev3901
    @joshuadev3901 Před 2 lety +1

    No Words Sir, Really great.

  • @NattapongPUN
    @NattapongPUN Před rokem +1

    Great VDO!, Thanks keep going bro

  • @rohithreddykatta8614
    @rohithreddykatta8614 Před 11 měsíci +1

    Just wow, awesome explanation. 🙏🙏

  • @johnabraham658
    @johnabraham658 Před 2 lety +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  Před 2 lety

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

  • @yashwanthreddy2863
    @yashwanthreddy2863 Před 2 lety +1

    amazing man , that was awesome

  • @SadhamHussainsree
    @SadhamHussainsree Před 2 lety +1

    Give this man a Medal

  • @rajeevagowda9567
    @rajeevagowda9567 Před 2 lety +1

    Really an awesome video sir. Thank you very much

  • @shivam3191
    @shivam3191 Před rokem

    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  Před rokem

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

  • @msingha100
    @msingha100 Před rokem +1

    Nice tutorial. Awesome explantion.

  • @suchithreddy733
    @suchithreddy733 Před rokem +1

    Thanks a lot sir, really informative content!!

  • @chandankumar-xg4lc
    @chandankumar-xg4lc Před 11 měsíci +1

    great job sir, you are amazing

  • @vinayakkamble2207
    @vinayakkamble2207 Před rokem +1

    awesome thanks well explained

  • @vback4238
    @vback4238 Před 8 měsíci +1

    You're an amazing teacher!!

    • @DevOpsCoach
      @DevOpsCoach  Před 8 měsíci

      Wow, thank you!

    • @vback4238
      @vback4238 Před 8 měsíci

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

    • @DevOpsCoach
      @DevOpsCoach  Před 8 měsíci

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

  • @RolandTutorials
    @RolandTutorials Před rokem +1

    this is super helpful, thank you sir.

  • @sukhanthn5352
    @sukhanthn5352 Před rokem +1

    u r the gem on youtube.

  • @bnaren771
    @bnaren771 Před rokem +1

    Excellent bro.. awesome explanation

  • @ogbeisibor3193
    @ogbeisibor3193 Před rokem

    this is fantastic. thanks.

  • @paravind2979
    @paravind2979 Před 2 lety +2

    Thank you so much

  • @rahulkumarpatnaik6023
    @rahulkumarpatnaik6023 Před dnem +1

    Superb video

  • @chalapathirao4981
    @chalapathirao4981 Před rokem

    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  Před rokem

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

  • @kayoutube690
    @kayoutube690 Před rokem +1

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

  • @bharath4195
    @bharath4195 Před rokem +1

    wow explanation 👏point to point 😊

    • @DevOpsCoach
      @DevOpsCoach  Před rokem +1

      Glad you liked it

    • @bharath4195
      @bharath4195 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem +1

      yes, please check here updated helm playlist. czcams.com/video/3FoGwq8eXAY/video.html

    • @bharath4195
      @bharath4195 Před rokem

      @@DevOpsCoach thank you

  • @rohanrustagi7857
    @rohanrustagi7857 Před rokem +1

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

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

  • @aaryansamra1574
    @aaryansamra1574 Před rokem

    Thank you sooo much

  • @vedantpanwar3374
    @vedantpanwar3374 Před rokem +1

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

  • @sreedharrao6272
    @sreedharrao6272 Před 10 měsíci

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

  • @vandananagesh4180
    @vandananagesh4180 Před rokem

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

  • @dayanandswami8109
    @dayanandswami8109 Před 8 měsíci

    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,

  • @jayasuriyap8748
    @jayasuriyap8748 Před 2 lety

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

  • @user-ee8gc6jd6l
    @user-ee8gc6jd6l Před 10 měsíci

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

  • @ragan1362
    @ragan1362 Před 5 měsíci +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 ?

  • @parames3039
    @parames3039 Před 2 lety

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

  • @rajkiransenapaty5379
    @rajkiransenapaty5379 Před rokem +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 ??

  • @ramkamepalli3395
    @ramkamepalli3395 Před 2 lety +1

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

  • @akkabra2861
    @akkabra2861 Před 2 lety +1

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

  • @akkabra2861
    @akkabra2861 Před 2 lety

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

  • @ramkamepalli3395
    @ramkamepalli3395 Před 2 lety

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

  • @mayureshchoudharkar7011
    @mayureshchoudharkar7011 Před rokem +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  Před rokem

      You need to install kubectl cli as well in Jenkins

  • @cherukurimaniharika7031

    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  Před rokem +1

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

    • @cherukurimaniharika7031
      @cherukurimaniharika7031 Před rokem

      @@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.

  • @mbomboaimaim798
    @mbomboaimaim798 Před 2 lety

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

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

      yes any resources creation in AWS, you can use terraform. please watch this video --> czcams.com/video/hyP3RleaQ_o/video.html

  • @abdqadr
    @abdqadr Před rokem

    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  Před rokem +1

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

    • @abdqadr
      @abdqadr Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      here is the video for deploying applications into EKS using helm and Jenkins pipeline --> czcams.com/video/Ojb9Rh0BcvA/video.html

  • @biswajit4631
    @biswajit4631 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

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

  • @user-gh3nr2wo6r
    @user-gh3nr2wo6r Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

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

  • @kenzyslink7436
    @kenzyslink7436 Před 7 měsíci +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 Před 6 měsíci

      @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  Před 4 měsíci

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

  • @muhammadsuleman8771
    @muhammadsuleman8771 Před 2 lety +2

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

  • @rahulsakya1566
    @rahulsakya1566 Před 2 lety +1

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

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety +1

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

  • @Vinaykumar-pz9hr
    @Vinaykumar-pz9hr Před rokem +1

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

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

  • @rickyspartanz2623
    @rickyspartanz2623 Před rokem +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  Před rokem

      That syntax is different. Based on docker pipeline plugin

    • @rickyspartanz2623
      @rickyspartanz2623 Před rokem

      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.

  • @kaushik4080
    @kaushik4080 Před 2 lety

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

  • @shaikrazak9841
    @shaikrazak9841 Před 2 lety

    Sir can you please make a GKE video ?

  • @ousseynoungom9937
    @ousseynoungom9937 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      troubleshoot with kubectl describe pod pod_name

  • @suchithreddy733
    @suchithreddy733 Před rokem

    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

  • @moinsyed195
    @moinsyed195 Před 2 lety

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

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

      czcams.com/video/V1VOrnG93Ew/video.html
      please watch this video to know how to install Jenkins

  • @shaikhshoaib430
    @shaikhshoaib430 Před rokem

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

  • @nilavasen8631
    @nilavasen8631 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      check the web page.. it is provided there

  • @kacyk7824
    @kacyk7824 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      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 Před rokem

      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.

  • @Xp-Sam
    @Xp-Sam Před rokem

    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  Před rokem

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

    • @femifire1
      @femifire1 Před rokem

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

  • @mbhaktavatchalam4502
    @mbhaktavatchalam4502 Před rokem

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

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      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

  • @vamsis4931
    @vamsis4931 Před 2 lety

    Hi bro
    Can you do how to deploy application into Ecs

  • @kaushik4080
    @kaushik4080 Před 2 lety +1

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

    • @tradewithshajil7186
      @tradewithshajil7186 Před 2 lety +1

      use kubectl describe pod command to get error details

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

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

    • @parames3039
      @parames3039 Před 2 lety

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

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

      @@tradewithshajil7186 yes good way to know

    • @femifire1
      @femifire1 Před rokem +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.

  • @josephangelocasauay4823

    help jenkins is not showing in my host

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

      can you please give more information?

  • @ritenmehta9454
    @ritenmehta9454 Před 2 lety

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

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

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

  • @k.r.mohanreddyk.r2350
    @k.r.mohanreddyk.r2350 Před 2 lety +2

    Please provide GitHub link below description

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety +1

      github.com/akannan1087/springboot-app

  • @starlinkhouse
    @starlinkhouse Před rokem +1

    nice video but the volume is a little bit low.

  • @2mahender
    @2mahender Před 2 lety

    can you give us github repo link?

    • @DevOpsCoach
      @DevOpsCoach  Před 2 lety

      github.com/akannan1087/springboot-app

  • @josemanuelgutierrez4095

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

  • @mallikharjuna1602
    @mallikharjuna1602 Před 5 měsíci

    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  Před 5 měsíci

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

  • @user-mw6ry2lx2o
    @user-mw6ry2lx2o Před rokem

    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  Před rokem

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

  • @thanvikamadhala-ip7kg
    @thanvikamadhala-ip7kg Před 4 měsíci +1

    Great Explanation. Thanks a lot.