Giter Site home page Giter Site logo

alibabacloud-ecs-plugin's Introduction

Alibabacloud ECS plugin

Table of contents

Introduction

This plugin extends Jenkins slave node generation (node provision), in the case of high concurrent project integration,use this plugin to form jenins master-follower mode for project integration

Before using this plugin, you need to install the 'alibabacloud credentials plugin'. Please refer to https://github.com/aliyun/alibabacloud-credentials-jenkins-plugin

Usage

Before using this product, it is assumed that you have registered your alibaba cloud account and obtained the relevant AK and sk.

Create a key pair of ECS

Download Alibaba Cloud ECS plugin

  • Enter the installed Jenkins client and go to the "manage Jenkins" / > "manage plugins" / > "available" page
  • Enter "Alibaba Cloud ECS" plugin in the search box to download and install

Configure clouds

  • after installing the plugin, go to "manage Jenkins" / > "manage node and clouds" / > "configure clouds" / > on the launched Jenkins

  • Click "Alibaba Cloud ECS"

  • Follow the prompts for relevant configuration. When you click the Add button of Alibaba cloud credentials to obtain Jenkins authentication, add "alibaba cloud credential" and fill in AK and sk of alicloud account.

  • In the drop-down box, select the name of the credential you just filled in.

  • Then select region, image, VPC, security group

  • When configuring the ECS SSH key, click the Add button to get Jenkins, authenticate, and add the contents of the ECS. PEM file obtained from the ECS console of alibabacloud and fill in.

  • Currently, only "SSH username with private key" is supported.

  • You can click test to see if it works.

  • Select availability zone, VSW, choose instance type.

  • Minimum number of instances is the number of follower nodes used to generate the follower. The server will generate the follower according to the number filled in. The number should be at least 1

  • Init script is the shell script to be run on the newly launched follower node instance, before Jenkins starts launching a follower node. This is also a good place to install additional packages that you need for your builds and tests.

  • After saving successfully, enter new nodes to add nodes. The initialization status is as follows:

  • After clicking the instance of sprovision via pot, the follower node will be initialized as follows:

  • After a while, the state will be restored after the connection.

  • Click the node drop-down box to perform relevant operations on the follower node.

  • Click Configure to view the follower node information #Some known problems in use

  • When you click the Save button, if the "SSH username with private key" connection test fails, the save will succeed, but "provision node" will report an error of "a problem occurred while processing the request". Therefore, please ensure that the connection is successful before saving.

  • Examples are as follows: #Contact us

  • If you have any questions or requirements, please scan the following QR code with nails:

alibabacloud-ecs-plugin's People

Contributors

alibaba-oss avatar davyjones2010 avatar pete965 avatar zhongwandong avatar

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.