* Bump ec2 from 1.44 to 1.63 Bumps [ec2](https://github.com/jenkinsci/ec2-plugin) from 1.44 to 1.63. - [Release notes](https://github.com/jenkinsci/ec2-plugin/releases) - [Changelog](https://github.com/jenkinsci/ec2-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/ec2-plugin/compare/ec2-1.44...ec2-1.63) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:ec2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump ec2 from 1.44 to 1.63 Bumps [ec2](https://github.com/jenkinsci/ec2-plugin) from 1.44 to 1.63. - [Release notes](https://github.com/jenkinsci/ec2-plugin/releases) - [Changelog](https://github.com/jenkinsci/ec2-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/ec2-plugin/compare/ec2-1.44...ec2-1.63) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:ec2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update ec2 demo Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
README.md
Configure Amazon EC2 plugin
Basic configuration of the Amazon EC2 Plugin
sample configuration
x-ec2_anchor: &ec2_anchor
associatePublicIp: false
connectBySSHProcess: false
connectionStrategy: PRIVATE_IP
deleteRootOnTermination: false
ebsOptimized: false
idleTerminationMinutes: "10"
maxTotalUses: -1
monitoring: false
numExecutors: 1
stopOnTerminate: false
tenancy: Default
useEphemeralDevices: false
zone: "us-east-1"
ami: "ami-0c6bb742864ffa3f3"
securityGroups: "some-group"
remoteFS: "/home/ec2-user"
remoteAdmin: "ec2-user"
mode: "NORMAL"
amiType:
unixData:
rootCommandPrefix: "sudo"
slaveCommandPrefix: "sudo -u jenkins"
sshPort: "61120"
jenkins:
clouds:
- amazonEC2:
cloudName: "ec2"
instanceCapStr: 20
# this shouldn't be needed, since without explicit creds this should already be used
# but let's be explicit to avoid issues.
useInstanceProfileForCredentials: true
# Reminder: the following key has multiple lines
sshKeysCredentialsId: "ssh-key-credential-id"
noDelayProvisioning: true
region: "eu-central-1"
templates:
- description: "Auto configured EC2 Agent Small"
type: "T2Small"
labelString: "Small"
<<: *ec2_anchor
- description: "Auto configured EC2 Agent Large"
type: "T2Xlarge"
labelString: "Large"
<<: *ec2_anchor