Jenkins Amazon EC2 Plugin

From NovaOrdis Knowledge Base
Revision as of 06:00, 20 December 2019 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

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.