How to Integrate Jenkins With AWS

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Need help with your Jenkins questions?
    Visit community.jenkins.io/c/using-...
    Timecodes ⏱:
    00:00 Introduction
    00:18 Overview
    01:06 Starting point
    02:06 Install AWS CLI v2
    03:58 Install aws-credentials plugin
    06:00 Create new pipeline job to use AWS CLI
    07:12 Add aws ec2 describe-instances to pipeline
    09:00 Add AWS_DEFAULT_REGION to pipeline
    10:42 Create AWS credentials
    13:22 Add withCredentials step to pipeline
    16:33 Remove withCredentials and add credentials helper
    21:04 Conclusion
    #jenkins #aws #awscli
    Information referenced in this video:
    Gist:
    gist.github.com/darinpope/cbd...
    Jenkins LTS 2.289.1
    www.jenkins.io/changelog-stab...
    Install the AWS CLI version 2 on Linux
    docs.aws.amazon.com/cli/lates...
    describe-instances
    awscli.amazonaws.com/v2/docum...
    Environment variables to configure the AWS CLI
    docs.aws.amazon.com/cli/lates...
    Supported Credentials Type
    www.jenkins.io/doc/book/pipel...
    CredentialsBindingHandler
    www.jenkins.io/doc/developer/...
    aws-credentials-plugin issue 68
    github.com/jenkinsci/aws-cred...
    CloudBees on Twitter:
    / cloudbees
    Darin on Twitter:
    / darinpope
  • Věda a technologie

Komentáře • 29

  • @krishm5116
    @krishm5116 Před rokem +1

    This Guru clearly explains what you want to learn and keeps you learning though-out the session. Thanks.

  • @A_Dudkin
    @A_Dudkin Před 2 lety

    The best explanation for the creds usage I've seen. Thx!

  • @vishalhcl007
    @vishalhcl007 Před rokem +2

    You are a life saver. I was struggling with AWS credentials piece for 2 days, I could do same in 10 mins after watching your video.

  • @droritzilberberg
    @droritzilberberg Před 3 lety

    this has been most helpful! thank you so very much!!

  • @tonycavanagh1929
    @tonycavanagh1929 Před 2 lety

    Thank you very much both informative and enjoyable.

  • @looks-good
    @looks-good Před 3 lety

    Thank you from Belarus!!! Good job!

  • @PedroHenriqueDosSantos1990

    Amazing video, it helped me a lot!

  • @XenozanXiandor
    @XenozanXiandor Před 2 lety

    Thanks a lot from istanbul. Great video!

  • @LalitYadav-eo4hv
    @LalitYadav-eo4hv Před 2 lety

    Just subscribed you very informative and helpful video, really liked it

  • @bhushankandalkar2912
    @bhushankandalkar2912 Před 2 lety

    That's Great ! Thank You.

  • @aptget822
    @aptget822 Před 3 lety +4

    Thank you, can you also create a video that explains how integrate Jenkins with ECS/EKS?

  • @udayalwala3859
    @udayalwala3859 Před 3 lety

    informative video

  • @priyabelhekar5922
    @priyabelhekar5922 Před 9 měsíci

    This was helpful! Im also looking for a way to include Jenkisn AWS-Creds in Jenkins Active Choice Parameter Groovy Script

  • @hashilbh5654
    @hashilbh5654 Před 2 lety

    i am trying to restore an aws ebs volume from a recovery point snapshot present in AWS backup vault using jenkins job.is this possible?

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

    Hi everyone in the case of Account ID, somebody have idea how can use that without hard code the number into the pipeline?

  • @cloudmasterlive
    @cloudmasterlive Před rokem

    Nice video but this plugin is not available anymore. How to do it now? Please help. Thanks

  • @adebayoaustin9957
    @adebayoaustin9957 Před rokem

    thanks so much..... muah

  • @martinthong125
    @martinthong125 Před rokem

    Where do i input my aws_session_token using the plugin?

  • @Andy-lr1gx
    @Andy-lr1gx Před rokem

    your voice is gold, but your keyboard space sound was like 💀. But great explain, thank you.

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

    how do you get the Access key ID and Secreat Access Key while configuring the AWS credentials. how do I generate that information

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

    💌

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

    if you attach the ec2 full access role to the jenkins instance, this video will end 9:28 and creds would not even be required

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

      Hey Fayez , do you any doc or video to show me how to assign the role to the instance as you mention .. I want to use the same to use secret manager plugin. thx!!

    • @naanu_
      @naanu_ Před 2 lety

      Hey @@MegaTuto , did you find it? If yes, can you please share it. Thanks

  • @AbhishekSharma-vn3jh
    @AbhishekSharma-vn3jh Před rokem +1

    Output of snippet generator is broken:
    withCredentials([]) {
    // some block
    }
    how to fix it sir??

    • @gokulc7043
      @gokulc7043 Před rokem

      Did you find the solution?

    • @martinthong125
      @martinthong125 Před rokem

      withCredentials([[
      $class: 'AmazonWebServicesCredentialsBinding',
      credentialsId: "my_credentialsID",
      accessKeyVariable: 'AWS_ACCESS_KEY_ID',
      secretKeyVariable: 'AWS_SECRET_ACCESS_KEY'
      ]])