How to Integrate Jenkins With AWS
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
This Guru clearly explains what you want to learn and keeps you learning though-out the session. Thanks.
The best explanation for the creds usage I've seen. Thx!
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.
this has been most helpful! thank you so very much!!
Thank you very much both informative and enjoyable.
Thank you from Belarus!!! Good job!
Amazing video, it helped me a lot!
Thanks a lot from istanbul. Great video!
Just subscribed you very informative and helpful video, really liked it
That's Great ! Thank You.
Thank you, can you also create a video that explains how integrate Jenkins with ECS/EKS?
informative video
This was helpful! Im also looking for a way to include Jenkisn AWS-Creds in Jenkins Active Choice Parameter Groovy Script
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?
Hi everyone in the case of Account ID, somebody have idea how can use that without hard code the number into the pipeline?
Nice video but this plugin is not available anymore. How to do it now? Please help. Thanks
thanks so much..... muah
Where do i input my aws_session_token using the plugin?
your voice is gold, but your keyboard space sound was like 💀. But great explain, thank you.
how do you get the Access key ID and Secreat Access Key while configuring the AWS credentials. how do I generate that information
In IAM
💌
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
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!!
Hey @@MegaTuto , did you find it? If yes, can you please share it. Thanks
Output of snippet generator is broken:
withCredentials([]) {
// some block
}
how to fix it sir??
Did you find the solution?
withCredentials([[
$class: 'AmazonWebServicesCredentialsBinding',
credentialsId: "my_credentialsID",
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
secretKeyVariable: 'AWS_SECRET_ACCESS_KEY'
]])