Jenkins Amazon EC2 Plugin
External
- https://plugins.jenkins.io/ec2
- https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin
- https://blog.iseatz.com/ec2-plugin-jenkins-automatically-provision/
Internal
Overview
The Amazon EC2 plugin provisions and manages Amazon EC2 instances used as build agents as part of a Jenkins "Amazon EC2" agent cloud. The EC2 instances are started on demand and terminated as they become unused. The access to agent instances is via SSH, and the plugin requires the configuration of the SSH key pair. The EC2 instances are built off an AMI that is also configured in the plugin. Other instance-specific configuration elements, such as instance type, availability zone, whether to use spot instances or not, the AWS security groups, subnet IDs, IAM instance profile, whether to delete the root device on instance termination, etc. are specified in the plugin's "agent cloud" configuration.
An instance cap can be configured to place an upward limit on the number of EC2 instances that Jenkins may launch.