Coder Social home page Coder Social logo

nagyist / ec2-spot-jenkins-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keybase/ec2-spot-jenkins-plugin

0.0 2.0 0.0 70 KB

The EC2 Spot Jenkins plugin launches EC2 Spot instances as worker nodes for Jenkins CI server, automatically scaling the capacity with the load.

License: Apache License 2.0

Java 100.00%

ec2-spot-jenkins-plugin's Introduction

ec2-spot-jenkins-plugin

The EC2 Spot Jenkins plugin launches EC2 Spot instances as worker nodes for Jenkins CI server, automatically scaling the capacity with the load.

SpotFleet

This plugin uses Spot Fleet to launch instances instead of directly launching them by itself. Amazon EC2 attempts to maintain your Spot fleet's target capacity as Spot prices change to maintain the fleet within the specified price range. For more information, see How Spot Fleet Works.

Usage

You'll need an AWS account to use this plugin, you can get one at AWS. Once you have an account, create an IAM user with sufficient permissions to launch Spot Fleets ( Spot Fleet Prerequisites ) and get its AWS credentials.

Then you need to set up a fleet that will serve as the build fleet for Jenkins. You can use the AWS console to launch it or AWS CLI tools. Make sure that you specify an SSH key that will be used later by Jenkins.

Once the fleet is launched, you can set it up by adding a new EC2 Fleet cloud in the "Manage Jenkins" > "Configure System" menu of Jenkins.

Scaling

You can specify the scaling limits in your cloud settings. By default, Jenkins will try to scale fleet up if there are enough tasks waiting in the build queue and scale down idle nodes after a specified idleness period.

You can use the History tab in the AWS console to view the scaling history.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.