CINXE.COM
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><meta name="generator" content="Gatsby 5.14.1"/><meta data-react-helmet="true" content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta data-react-helmet="true" charSet="utf-8"/><meta data-react-helmet="true" content="width=device-width, initial-scale=1" name="viewport"/><meta data-react-helmet="true" content="ie=edge" http-equiv="x-ua-compatible"/><meta data-react-helmet="true" content="#2b5797" name="msapplication-TileColor"/><meta data-react-helmet="true" content="#ffffff" name="theme-color"/><meta data-react-helmet="true" content="@JenkinsCI" name="twitter:site"/><meta data-react-helmet="true" content="article" property="og:type"/><meta data-react-helmet="true" name="description" content="This plugin integrates Jenkins with <a href="http://aws.amazon.com/ec2/" target="_blank" rel="noreferrer noopener nofollow">Amazon EC2</a> or anything implementing the EC2 API&#39;s such as an Ubuntu."/><meta data-react-helmet="true" name="image" content="https://jenkins.io/images/logo-title-opengraph.png"/><meta data-react-helmet="true" property="og:url" content="https://plugins.jenkins.io/ec2"/><meta data-react-helmet="true" property="og:site_name" content="Amazon EC2"/><meta data-react-helmet="true" property="og:title" content="Amazon EC2"/><meta data-react-helmet="true" property="apple-mobile-web-app-title" content="Amazon EC2"/><meta data-react-helmet="true" property="og:description" content="This plugin integrates Jenkins with <a href="http://aws.amazon.com/ec2/" target="_blank" rel="noreferrer noopener nofollow">Amazon EC2</a> or anything implementing the EC2 API&#39;s such as an Ubuntu."/><meta data-react-helmet="true" property="og:image" content="https://jenkins.io/images/logo-title-opengraph.png"/><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"/><meta data-react-helmet="true" name="twitter:creator" content="@JenkinsCI"/><meta data-react-helmet="true" name="twitter:title" content="Amazon EC2"/><meta data-react-helmet="true" name="twitter:description" content="This plugin integrates Jenkins with <a href="http://aws.amazon.com/ec2/" target="_blank" rel="noreferrer noopener nofollow">Amazon EC2</a> or anything implementing the EC2 API&#39;s such as an Ubuntu."/><meta data-react-helmet="true" name="twitter:image" content="https://jenkins.io/images/logo-title-opengraph.png"/><style data-href="/styles.80c65199d86590c1acd7.css" data-identity="gatsby-global-css">@import url(https://www.jenkins.io/assets/bower/bootstrap/css/bootstrap.min.css);@import url(https://www.jenkins.io/css/jenkins.css);@import url(https://www.jenkins.io/css/copy-to-clipboard.css);@import url(https://www.jenkins.io/stylesheets/styles.css);@import url(https://www.jenkins.io/css/footer.css);body .fixed.top{z-index:999}img{max-width:100%}body{overflow-x:hidden}body .showResults.item-finder>#plugin-search-form.HomeHeader{padding:.25rem .5rem}#plugin-search-form .SearchBox .SearchBtn,#plugin-search-form .SearchBox .ShowFilter{color:#fff!important}.SearchBox label.input-group{width:100%}.SearchBox .input-group .btn{border:1px solid #900}body .showResults.item-finder>.HomeHeader>.navbar{padding:0 10.5rem 0 0;width:100%}body .showResults.item-finder>.HomeHeader>.navbar>.nav,body .showResults.item-finder>.HomeHeader>.navbar>.nav>.SearchBox{padding:0!important;width:100%}body .showResults.item-finder>.HomeHeader>.navbar>.nav>.btn-group>button>i{line-height:1.5rem}body .showResults.item-finder>.HomeHeader>.navbar>.nav>.btn-group{position:absolute;right:0;top:0}body .showResults.item-finder>.HomeHeader>.navbar>.nav>.SearchBox .ShowFilter{max-width:10rem!important;width:18.6%!important}body .showResults.item-finder .filters{border-left:none;border-radius:0;border-top:none;box-shadow:-.25rem 0 #fff;left:.25rem;margin-top:-1px;padding-top:1rem!important;top:5px}body .showResults.item-finder .filters .row{border:none;padding:0}body .showResults.item-finder .filters .row>div{font-size:.75rem;overflow:hidden;padding:0 .5rem}body .showResults.item-finder .filters .row>div label{white-space:nowrap}body .showResults #plugin-search-form .nav>.btn-group{display:inline-block}body .showResults #plugin-search-form h1,body .showResults #plugin-search-form p,body .showResults #plugin-search-form:before{display:none}.page-link{cursor:pointer}.CategoryList,.CategoryList ul{list-style:none;margin:0;padding:0;vertical-align:middle}.CategoryList>li>label{font-weight:700}.CategoryList>li>ul{padding:0 0 1rem}.CategoryList>li{-moz-column-break-inside:avoid;break-inside:avoid-column;display:table;page-break-inside:avoid}h1 .anchor ion-icon,h2 .anchor ion-icon,h3 .anchor ion-icon,h4 .anchor ion-icon,h5 .anchor ion-icon,h6 .anchor ion-icon{visibility:hidden}h1 .anchor:focus ion-icon,h1:hover .anchor ion-icon,h2 .anchor:focus ion-icon,h2:hover .anchor ion-icon,h3 .anchor:focus ion-icon,h3:hover .anchor ion-icon,h4 .anchor:focus ion-icon,h4:hover .anchor ion-icon,h5 .anchor:focus ion-icon,h5:hover .anchor ion-icon,h6 .anchor:focus ion-icon,h6:hover .anchor ion-icon{visibility:visible}.filters .show-all{background:#168bb9;border:none;border-radius:2px;color:#fff;font-size:.67rem;font-weight:200;margin-left:.5rem;padding:.15rem .5rem}.isFiltered .filters .show-all{display:inline-block}#pluginDependencies h3{font-size:1.2rem;margin-top:.7rem}#pluginDependencies h2{margin-top:.7rem}.empty{opacity:.5}.NoLabels>.Categories label>input{display:none}.NoLabels>.Categories label>span{color:#0275d8;cursor:pointer;margin-left:0!important}h1.title{margin-right:2rem}:root{--code-background:#f6f8fa;--no-labels-background:#e5f8ff;--base-size-8:0.5rem;--base-size-16:1rem;--borderColor-default:#30363d;--borderColor-accent-emphasis:#1f6feb;--borderColor-success-emphasis:#238636;--borderColor-done-emphasis:#8957e5;--borderColor-attention-emphasis:#9e6a03;--borderColor-danger-emphasis:#da3633;--fgColor-accent:#4493f8;--fgColor-success:#3fb950;--fgColor-done:#a371f7;--fgColor-attention:#d29922;--fgColor-danger:#f85149}body #grid-box .NoLabels{background:#e5f8ff;background:var(--no-labels-background);padding:2rem 0}body #grid-box .NoLabels .CategoryList{font-size:.875rem}body #grid-box .NoLabels .CategoryList label>span{margin-left:.5rem}body #grid-box .NoLabels .Entry-box{display:block;font-size:.875rem;line-height:1rem;padding:.25rem 0}body #grid-box .NoLabels .Entry-box a{cursor:pointer}body #grid-box .NoLabels legend{font-size:1.1rem}#cb-item-finder-grid-box>.grid>.no-results{color:rgba(0,0,0,.667);display:block;padding:.5rem}.not-found-box{text-align:center}.not-found{display:inline-block;margin:6rem 0;padding:1.5rem 0 1.5rem 8rem;position:relative;text-align:left}.not-found h3{margin-bottom:.25rem}.not-found i{color:rgba(0,0,0,.25);display:block;font-size:8rem;left:0;line-height:8rem;position:absolute;top:0;vertical-align:middle}.not-found i.icon-plug{color:#000;font-size:6rem;left:.5rem;transform:scaleX(-1)}.markdown-alert{border-left:.25em solid #30363d;border-left:.25em solid var(--borderColor-default);color:inherit;margin-bottom:16px;padding:.5rem 1rem;padding:var(--base-size-8) var(--base-size-16)}.markdown-alert .markdown-alert-title{align-items:center;display:flex;font-weight:600;line-height:1}.octicon{fill:currentcolor;display:inline-block;margin-right:8px;overflow:visible!important;vertical-align:text-bottom}.markdown-alert>:first-child{margin-top:0}.markdown-alert.markdown-alert-note{border-left-color:#1f6feb;border-left-color:var(--borderColor-accent-emphasis)}.markdown-alert.markdown-alert-note .markdown-alert-title{color:#4493f8;color:var(--fgColor-accent)}.markdown-alert.markdown-alert-tip{border-left-color:#238636;border-left-color:var(--borderColor-success-emphasis)}.markdown-alert.markdown-alert-tip .markdown-alert-title{color:#3fb950;color:var(--fgColor-success)}.markdown-alert.markdown-alert-important{border-left-color:#8957e5;border-left-color:var(--borderColor-done-emphasis)}.markdown-alert.markdown-alert-important .markdown-alert-title{color:#a371f7;color:var(--fgColor-done)}.markdown-alert.markdown-alert-warning{border-left-color:#9e6a03;border-left-color:var(--borderColor-attention-emphasis)}.markdown-alert.markdown-alert-warning .markdown-alert-title{color:#d29922;color:var(--fgColor-attention)}.markdown-alert.markdown-alert-caution{border-left-color:#da3633;border-left-color:var(--borderColor-danger-emphasis)}.markdown-alert.markdown-alert-caution .markdown-alert-title{color:#f85149;color:var(--fgColor-danger)}#plugin-spinner{color:rgba(0,0,0,.33);cursor:pointer;display:block;left:0;padding:5rem 0;position:absolute;right:0;text-align:center;text-shadow:0 1px 1px #fff}#plugin-spinner>.swing{display:inline-block;padding:1rem}#plugin-spinner .icon-jenkins{display:block;font-size:10.5rem}.swing div{background:#fff;border:1px solid #69c;border-radius:50%;box-shadow:inset 0 0 1px #039,inset 0 0 0 1px #fff,0 5px 3px -2px rgba(0,0,0,.15),inset -5px -5px 7px 1px #168bb9,inset -4px -6px 10px 10px #69c;display:inline-block;height:32px;width:32px}.spinner-wrapper{margin:2rem auto auto;width:2rem}@keyframes ball-l{0%,50%{transform:rotate(0) translateX(0)}to{transform:rotate(0deg) translateX(-2.5em)}}@keyframes ball-r{0%{transform:rotate(0deg) translateX(2.5em)}50%,to{transform:rotate(0) translateX(0)}}@keyframes shadow-l-n{0%,50%{opacity:.5;transform:translateX(0)}to{opacity:.125;transform:translateX(-1.75em)}}@keyframes shadow-r-n{0%{opacity:.125;transform:translateX(1.75em)}50%,to{opacity:.5;transform:translateX(0)}}.swing-l{animation:ball-l .425s ease-in-out infinite alternate}.swing-r{animation:ball-r .425s ease-in-out infinite alternate}.maintainers>.maintainer{display:block}#pluginPage #grid-box .sidebar>.btn{display:block;margin-bottom:1rem;padding:.5rem 1rem .75rem 3.5rem;position:relative;text-align:left}#pluginPage #grid-box .sidebar>.btn i{font-size:2.25rem;left:.75rem;position:absolute;top:.5rem}#pluginPage #grid-box .sidebar>.btn>span{font-size:1.1rem;font-weight:500;line-height:1.3rem}#pluginPage #grid-box .sidebar>.btn>.v{display:block;font-size:.75rem;font-weight:200;white-space:normal}#pluginPage #grid-box .sidebar .lbl{display:inline-block;margin-right:.5rem}##pluginPage #grid-box .sidebar .label-link a{display:block;line-height:1.5rem;padding:4px 0}#pluginPage #grid-box .sidebar .chart{margin:1rem 0 0}.sidebar .sidebarSection{border-top:1px solid #aaa;margin-top:1rem;padding-top:.5rem}#pluginPage #grid-box{font-size:.875rem;margin-left:15px;margin-right:15px}#pluginPage #grid-box .download{margin:2rem 0 2rem -.5rem}#pluginPage #grid-box .alert>.alert-icon{background-position:top;background-repeat:no-repeat;background-size:3rem;display:inline-block;height:3rem;left:1rem;opacity:.54;position:absolute;top:calc(50% - 1.5rem);width:3rem}#grid-box .pluginContainer{margin:auto;max-width:72rem}.alert-warning .alert-icon .main-path{fill:#856404}.alert-danger .alert-icon .main-path{fill:#721c24}#pluginPage #grid-box .alert-with-icon{min-height:4rem;padding-left:5rem}#pluginPage #grid-box .security-warning-list{list-style:none;padding-left:0}#pluginPage #grid-box .active-warning{font-size:1rem;font-weight:bolder;margin-bottom:0}.row.flex{display:flex}.title-wrapper{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin:1rem auto 0;max-width:72rem;padding-left:15px;padding-right:15px}.plugin-id{margin-bottom:.5rem;opacity:.7}.content h1{font-size:2rem;margin:1.5rem 0 1rem}.content h2{font-size:1.5rem;margin-top:1.5rem}.content h3{font-size:1.25rem}.content h4{font-size:1.1rem}.filters .mask li>label{opacity:.5;position:relative}.filters .mask li>label:hover{color:#168bb9;opacity:1}.filters .mask li>label:before{background:#168bb9;content:"";display:block;font-size:0;height:.5rem;margin:.25rem .4rem;position:absolute;width:.5rem}.filters .mask li input[type=checkbox]{visibility:hidden}.filters label{cursor:pointer}.filterOptions{display:none}body .item-finder.Tiles .Entry-box{display:inline-block}.categories-box .list-group{box-shadow:0 3px 2px -1px rgba(0,0,0,.1);margin-top:-2.75rem;position:relative;z-index:2}.categories-box .list-group>.label{background:rgba(0,0,0,.5);border:none;border-radius:0;border-top-right-radius:10px;display:block}.categories-box .list-group>.label>.list-group-item{background:none;border:none;color:#fff;font-size:1rem;text-align:left}button.nav-link{background:#f9f9f9;border:1px solid #ccc;border-radius:3px;box-shadow:0 2px 4px -3px rgba(0,0,0,.25)}button.nav-link b{color:#666}.form-inline>.form-control.nav-link{background:#f9f9f9;border:1px solid #ccc;border-radius:3px;box-shadow:inset 0 2px 4px -2px rgba(0,0,0,.25);margin:0;padding:.25rem;width:11rem}.Tile,body .item-finder.Tiles a.item{background:#fff;border:.1rem solid #ccc;border-radius:3px;box-sizing:border-box;color:#666;display:block;font-size:.875rem;height:16.5rem;margin:.25rem;opacity:.9;padding:.67rem;-webkit-text-decoration:none!important;text-decoration:none!important;width:13rem}body .item-finder.Tiles .grid-box>div{padding:.5rem 0 2rem .5rem;text-align:left}body .item-finder.List a.item>div,body .item-finder.Tiles a.item>div{display:block;left:auto;position:relative;top:auto;width:auto}.Tile:hover,body .item-finder.Tiles a.item:hover{border:.1rem solid #999;box-shadow:0 2px 3px rgba(0,0,0,.25);opacity:1;-webkit-text-decoration:none;text-decoration:none}.Tile:hover h4,body .item-finder.Tiles a.item .Title:hover h4{color:#069}.Tile .Icon,body .item-finder.Tiles a.item .Icon{bottom:0;display:block;opacity:.75;position:absolute;right:.75rem}body .item-finder.Tiles a.item:hover .Icon{opacity:1}.Tile .Icon>i,body .item-finder.List a.item .Icon>i,body .item-finder.Tiles a.item .Icon>i{border-radius:3px;color:#fff;display:inline-block;font-size:1.33rem;font-style:normal;height:3rem;line-height:3rem;margin:-1px 0 0 -1px;text-shadow:rgba(0,0,0,.5) 1px 2px 1px;width:3rem}body .item-finder.Tiles a.item .Icon>i{margin-bottom:1rem}.Tile .Score,body .item-finder a.item .Score{margin:0 0 .67rem}.Tile .Score>.scr_4:after,body .item-finder a.item .Score>.scr_4:after{content:"\2605 \2605 \2605 \2605 \2606";display:block;text-align:center}.Tile .Downloads,body .item-finder a.item .Downloads{color:#999;font-size:.75rem;margin:0}.Tile .Labels,body .item-finder.Tiles a.item .Labels{line-height:.75rem;margin:.25rem 0;max-height:2rem;min-height:1rem;overflow:hidden}.Tile .Version span,body .item-finder.Tiles a.item .Version span{margin-right:.25rem}.Tile .Version span.v,body .item-finder.Tiles a.item .Version span.v{display:none;margin-right:1rem}.Tile .Version span.c:after,body .item-finder.Tiles a.item .Version span.c:after{content:"+"}body div .item-finder a.item>.Wiki{display:none}.Tile .Excerpt,body .item-finder.Tiles a.item .Excerpt{height:4.4rem;line-height:1.1rem;margin:0;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:normal}body .item-finder a.item .Excerpt a{color:#666;-webkit-text-decoration:none;text-decoration:none}.Tile .Excerpt div,.Tile .Excerpt p,body .item-finder.Tiles a.item .Excerpt div,body .item-finder.Tiles a.item .Excerpt p{display:inline}.Tile .Excerpt:after,.Tile h4:after,body .item-finder.Tiles a.item .Excerpt:after,body .item-finder.Tiles a.item h4:after{bottom:0;box-shadow:inset -250px 0 250px -200px #fff;content:" ";display:block;height:19px;height:1.1rem;position:absolute;right:0;width:100%}.Tile h4,body .item-finder a.item h4{color:#000;font-size:1rem;font-weight:400;line-height:1.1rem;margin:0 0 .25rem;max-height:2.2rem;overflow:hidden;position:relative}body .item-finder.Tiles a.item h4{min-height:2.2rem}.Tile .Authors>div,body .item-finder.List a.item .Authors>div,body .item-finder.List a.item .Labels>span,body .item-finder.List a.item .Version,body .item-finder.Tiles a.item .Authors>div,body .item-finder.Tiles a.item .Labels>span,body .item-finder.Tiles a.item .Version{color:var(--link-color);font-size:.75rem;line-height:1rem;margin-right:.5rem}body .item-finder.Tiles a.item .Authors{bottom:1rem;max-width:8rem;overflow:hidden;position:absolute;white-space:nowrap}.VirtualScroll>div>div{display:inline-block;height:auto!important;padding:.25rem;position:static!important;text-align:left;vertical-align:top;width:auto!important}.VirtualScroll>div>div.spinner{height:40px!important;margin:100px auto!important;overflow:hidden;position:relative!important;text-indent:999rem;white-space:nowrap;width:40px!important}.spinner .double-bounce2{animation:sk-bounce 2s ease-in-out infinite;background-color:rgba(0,0,0,.2);border-radius:50%;height:100%;left:0;opacity:.6;position:absolute;top:0;width:100%}.double-bounce2{animation-delay:-1s}@keyframes sk-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.tbody{display:table}.tbody>.thead{display:table-header-group}.tbody>.thead>.tr{display:table-row}.tbody>.thead>.tr>div{border-bottom:1px solid #ccc;display:table-cell;padding:.25rem}.tbody>.Row,body .item-finder.Table .Entry-box{display:table-row-group}.tbody>.Row>.Tile,body .item-finder.Table a.Entrty{display:table-row;height:auto;margin:0;padding:0;width:auto}.tbody>.Row>.Tile>div,body .item-finder.Table a.Entry>div{border-bottom:1px solid #eee;display:table-cell;height:auto;max-height:3.3rem;padding:.25rem}body .item-finder.Table a.Entry>div.Score{font-size:.875rem;margin:0;position:static}body .item-finder.Table a.Entry>div.Wiki{display:none}.tbody>.Row>.Tile>div.Title,body .item-finder.Table a.Entry>div.Title{width:20%}body .item-finder.Table a.Entry>div.Title>h4{color:#369;font-size:.875rem;font-weight:700}.tbody>.Row>.Tile>div.Icon,body .item-finder.Table a.Entry>div.Icon{display:none}.tbody>.Row>.Tile>div.Authors>div,body .item-finder.Table a.Entry>div.Authors>div{white-space:nowrap}.list>.list>.thead{display:none}.list>.item>.Tile,body .item-finder.List a.Entry{display:block;height:auto;padding:.5rem .5rem .5rem 6rem;position:relative;text-align:left;width:auto}.list>.item>.Tile>.Icon,.list>.item>.Tile>.Score,body .item-finder.List a.Entry .Icon,body .item-finder.List a.Entry .Score{left:.5rem;position:absolute;width:5rem}.list>.item>.Tile>.Score,body .item-finder.List a.Entry .Score{top:4rem}.list>.item>.Tile>.Excerpt,body .item-finder.List a.Entry .Excerpt{height:auto;margin:.5rem 0;max-height:3.3rem}.list>.item>.Tile>.Authors,body .item-finder.List a.Entry .Authors{margin:0}.list>.item>.Tile>.Authors>div,body .item-finder.List a.Entry .Authors>div{display:inline-block}.overview{padding-top:1.5rem}.overview p{font-size:1.1rem}body .btn-primary{background:#d24939;border-color:#900;color:#fff}body .btn-primary:hover{background:#335061;border-color:#88c5cc}nav .nav-item.active{box-shadow:inset 0 -2px #d33833}#cb-grid-toolbar .navbar-nav .nav-item{margin-left:.5rem}#cb-grid-toolbar .navbar-nav .nav-link{padding:.33rem}#cb-grid-toolbar .nav-link.dropdown-toggle{padding:.25rem .5rem}.categories-box .filter-keys.dropdown-menu{background:#f9f9f9;border-color:#ccc;border-radius:0;display:block;float:none;margin:-1px 0 0;max-width:9999rem;padding:0;position:static;width:auto}.categories-box .filter-keys.dropdown-menu a{color:#999;display:block;font-size:.875rem;padding:1px 2px;position:relative;width:auto}.categories-box .filter-keys.dropdown-menu a:hover{box-shadow:inset 0 100px rgba(0,0,0,.06)}.categories-box .filter-keys.dropdown-menu a:nth-child(odd){background:#eee}.categories-box .filter-keys.dropdown-menu a span{color:#369;display:inline-block;padding:.25rem 0 .25rem 2.25rem}.categories-box .filter-keys.dropdown-menu a .count{padding:.25rem .75rem;position:absolute;right:0;text-align:right;width:5rem}body .list-group>li>a.active,body .list-group>li>a.active:active,body .list-group>li>a.active:hover{background:#fff!important;box-shadow:inset 0 99rem rgba(200,240,255,.67);color:#000!important}#download-menu>.dropdown-menu{padding:2rem;width:50rem}nav .form-inline .input-group>.form-control{border-color:#900;transition:all .5s ease}form.showFilter nav .form-inline .ShowFilter{background:#900}nav .form-inline .input-group>.form-control:focus{border-color:red}form.search{float:right;opacity:.9}nav form.search .input-group:focus>input.form-control,nav form.search .input-group:hover>input.form-control,nav form.search .input-group>input.form-control:focus{opacity:1;width:12rem}.cardGroup{display:flex;overflow:hidden}.cardGroup__card{border:none;border-radius:0;flex:1 1 0%}a.card:hover{background-color:#eef3f5}.cardGroup__card+.cardGroup__card{border-left:1px solid #d7dbdd}.cardGroup__cardDescription{flex:1 1 auto}.card{border:1px solid #cad0d2;border-radius:4px;overflow:hidden}.card,.card__description{display:flex;flex-direction:column}.card__description{align-items:center;justify-content:center;padding:15px 0}.svg-icon{fill:#168bb9}.header .svg-icon{fill:#fff}.card__descriptionIcon{font-size:32px;margin-bottom:10px}.card__descriptionText{color:#57727c;font-size:18px;max-width:calc(100% - 30px);text-align:center}.card--fixedWidth{max-width:120px}.featureListItem{align-items:center;display:flex;padding:10px}.featureListItem+.featureListItem{border-top:1px solid #d7dbdd}.featureListItem--reverse{flex-direction:row-reverse}.featureListItem__description,.featureListItem__icon{padding:5px 15px}.featureListItem__icon{font-size:50px;line-height:0}.featureListItem__description{color:#000;width:100%}.formFooter{display:flex;overflow:hidden;width:100%}.formFooter__section{flex:1 1 100%}.formFooter__item+.formFooter__item{margin-left:5px}.underline{border-bottom:1px solid #cad0d2;border-radius:4px}#pluginPage #grid-box .content .main table{border:1px solid silver}#pluginPage #grid-box .content .main td{padding:1em}#grid-box .content{padding-top:1rem;word-break:break-word}#grid-box .content table{word-break:normal}.code-wrapper pre,.markdown-body pre{background-color:#f6f8fa;background-color:var(--code-background);border-radius:4px;padding:16px}.markdown-body clipboard-copy{display:none}@media (min-width:576px){.modal-dialog.wide{margin:.5rem auto;max-width:none}}@media (min-width:776px){.modal-dialog.wide{max-width:700px}}@media (prefers-color-scheme:dark){body{--no-labels-background:#212529;--code-background:#111;--search-background:#313539;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222,226,230,.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222,226,230,.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:hsla(0,0%,100%,.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}.btn-close{filter:var(--bs-btn-close-white-filter)}}@font-face{font-family:ji;font-style:normal;font-weight:400;src:url(/static/ji-06ec8f35b7fcf628bc6eadd35a1af855.ttf) format("truetype"),url(/static/ji-d09d228cf69136a06df3444806157d4d.woff) format("woff"),url(/static/ji-351ec2c6ddd54431698e9cdfbc45c4bf.svg#ji) format("svg")}@font-face{font-family:icomoon;font-style:normal;font-weight:400;src:url(/static/icomoon-067def7ea015b2fb62e5bc963c5eec42.eot);src:url(/static/icomoon-067def7ea015b2fb62e5bc963c5eec42.eot#iefix) format("embedded-opentype"),url(/static/icomoon-3539e0715542420d24bb9fd27f21d3f8.ttf) format("truetype"),url(/static/icomoon-341ea04290ca1f972b7316b4fecd09b9.woff) format("woff"),url(/static/icomoon-3456ed3433d20110c82d649f1f0c6fb6.svg#icomoon) format("svg")}[class*=" icon-"],[class^=icon-]{speak:none;font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:ji,sans-serif!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.icon-jira:before{content:"\e677"}.icon-hipchat:before{content:"\e67e"}.icon-AWS_Elastic_BeanStalk:before{content:"\e67b"}.icon-mercurial:before{content:"\e673"}.icon-bitbucket:before{content:"\e67f"}.icon-git-logo:before{content:"\e674"}.icon-github:before{content:"\e675"}.icon-subversion:before{content:"\e676"}.icon-pivotal:before{content:"\e660"}.icon-vmware:before{content:"\e65e"}.icon-ec2:before{content:"\e65f"}.icon-siren:before{content:"\e656"}.icon-cloudbees-logo:before{content:"\e64a"}.icon-code:before{content:"\e647"}.icon-docker:before{content:"\e640"}.icon-fingerprint:before{content:"\e63a"}.icon-groovy:before{content:"\e638"}.icon-grails:before{content:"\e637"}.icon-git:before{content:"\e635"}.icon-sbt:before{content:"\e636"}.icon-gradle:before{content:"\e634"}.icon-ant:before{content:"\e632"}.icon-service:before{content:"\e62a"}.icon-service-o:before{content:"\e62b"}.icon-menu:before{content:"\e620"}.icon-build-hand:before{content:"\e61b"}.icon-featured_play_list:before{content:"\e90e"}.icon-menu2:before{content:"\e66b"}.icon-content-paste:before{content:"\e666"}.icon-format-color-fill:before{content:"\e658"}.icon-puzzle:before{content:"\e64f"}.icon-lightbulb:before{content:"\e901"}.icon-flow-merge:before{content:"\e671"}.icon-flow-switch:before{content:"\e672"}.icon-thermometer:before{content:"\e659"}.icon-arrow-shuffle:before{content:"\e630"}.icon-arrow-right:before{content:"\e631"}.icon-chat-3:before{content:"\e680"}.icon-health:before{content:"\e657"}.icon-grid:before,.icon-icons:before{content:"\e90f"}.icon-book2:before{content:"\e909"}.icon-screwdriver:before{content:"\e668"}.icon-clipboard:before{content:"\e667"}.icon-calendar:before{content:"\e663"}.icon-maven:before{content:"\e633"}.icon-brick-menu-o:before{content:"\e62c"}.icon-brick-o:before{content:"\e62d"}.icon-gear-menu-o:before{content:"\e627"}.icon-gear-menu:before{content:"\e626"}.icon-brick-menu:before{content:"\e621"}.icon-folder-menu:before{content:"\e622"}.icon-jenkins-alt:before{content:"\e617"}.icon-jenkins:before{content:"\e618"}.icon-jenkins-o:before{content:"\e619"}.icon-brick:before{content:"\e61a"}.icon-checkbox-checked:before{content:"\e623"}.icon-bulb:before{content:"\e900"}.icon-phone:before{content:"\e642"}.icon-checkmark:before{content:"\e681"}.icon-map-pin-fill:before{content:"\e678"}.icon-box-add:before{content:"\e67d"}.icon-box-remove:before{content:"\e67c"}.icon-clock:before{content:"\e661"}.icon-plug:before{content:"\e64e"}.icon-refresh:before{content:"\e679"}.icon-search:before{content:"\e63f"}.icon-move:before{content:"\e615"}.icon-bug:before{content:"\e611"}.icon-tools:before{content:"\e669"}.icon-pulse:before{content:"\e655"}.icon-key:before{content:"\e653"}.icon-lock:before{content:"\e64b"}.icon-gear:before{content:"\e624"}.icon-repo-forked:before{content:"\e610"}.icon-issue-closed:before{content:"\e608"}.icon-lightning:before{content:"\e603"}.icon-rainy:before{content:"\e604"}.icon-cloud:before{content:"\e605"}.icon-cloudy:before{content:"\e606"}.icon-sun:before{content:"\e607"}.icon-office:before{content:"\e600"}.icon-pencil:before{content:"\e905"}.icon-quill:before{content:"\e62e"}.icon-book:before{content:"\e63c"}.icon-copy:before{content:"\e66e"}.icon-copy2:before{content:"\e66f"}.icon-tag:before{content:"\e61c"}.icon-support:before{content:"\e66c"}.icon-phone2:before{content:"\e66d"}.icon-map:before{content:"\e651"}.icon-stopwatch:before{content:"\e648"}.icon-mobile:before{content:"\e643"}.icon-users:before{content:"\e641"}.icon-wrench:before{content:"\e66a"}.icon-settings:before{content:"\e614"}.icon-hammer:before{content:"\e601"}.icon-aid:before{content:"\e654"}.icon-pie:before{content:"\e65b"}.icon-stats:before{content:"\e639"}.icon-bars:before{content:"\e65c"}.icon-rocket:before{content:"\e649"}.icon-remove:before{content:"\e664"}.icon-signup:before{content:"\e682"}.icon-list:before{content:"\e910"}.icon-download:before{content:"\e670"}.icon-globe:before{content:"\e652"}.icon-flag:before{content:"\e644"}.icon-bookmark:before{content:"\e906"}.icon-star:before{content:"\e907"}.icon-star2:before{content:"\e908"}.icon-cancel-circle:before{content:"\e665"}.icon-loop:before{content:"\e65d"}.icon-table:before{content:"\e911"}.icon-insert-template:before{content:"\e64d"}.icon-console:before{content:"\e628"}.icon-facebook:before{content:"\e902"}.icon-facebook2:before{content:"\e903"}.icon-twitter:before{content:"\e904"}.icon-file-css:before{content:"\e629"}.icon-grid-alt:before{content:"\e912"}.icon-menu3:before{content:"\e913"}.icon-list2:before{content:"\e914"}.icon-screen:before{content:"\e60b"}.icon--:before{content:"\e90a"}.icon-help:before{content:"\e67a"}.icon-feather-o:before{content:"\e62f"}.icon-compass:before{content:"\e61d"}.icon-graduation:before{content:"\e65a"}.icon-box:before{content:"\e63b"}.icon-logout:before{content:"\e90b"}.icon-flow-cascade:before{content:"\e61e"}.icon-flow-branch:before{content:"\e60c"}.icon-flow-tree:before{content:"\e60d"}.icon-list-ul:before{content:"\e915"}.icon-stethoscope:before{content:"\e90d"}.icon-code-fork:before{content:"\e90c"}.icon-calendar-o:before{content:"\e662"}.icon-ban:before{content:"\e64c"}.icon-flag-checkered:before{content:"\e645"}.icon-envelope-o:before{content:"\e63d"}.icon-envelope:before{content:"\e63e"}.icon-cog:before{content:"\e625"}.icon-puzzle-piece:before{content:"\e61f"}.icon-folder-open-o:before{content:"\e60e"}.icon-folder-o:before{content:"\e60f"}.icon-thumbs-o-down:before{content:"\e609"}.icon-thumbs-o-up:before{content:"\e60a"}.icon-enlarge:before{content:"\e650"}.icon-shield:before{content:"\e646"}.icon-factory:before{content:"\e616"}.icon-unlocked:before{content:"\e612"}.icon-locked:before{content:"\e613"}.icon-uniE602:before{content:"\e602"} /*! * GitHub Light v0.5.0 * Copyright (c) 2012 - 2017 GitHub, Inc. * Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE) */.pl-c{color:#6a737d}.pl-c1,.pl-s .pl-v{color:#005cc5}.pl-e,.pl-en{color:#6f42c1}.pl-s .pl-s1,.pl-smi{color:#24292e}.pl-ent{color:#22863a}.pl-k{color:#d73a49}.pl-pds,.pl-s,.pl-s .pl-pse .pl-s1,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre{color:#032f62}.pl-smw,.pl-v{color:#e36209}.pl-bu{color:#b31d28}.pl-ii{background-color:#b31d28;color:#fafbfc}.pl-c2{background-color:#d73a49;color:#fafbfc}.pl-c2:before{content:"^M"}.pl-sr .pl-cce{color:#22863a;font-weight:700}.pl-ml{color:#735c0f}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#005cc5;font-weight:700}.pl-mi{color:#24292e;font-style:italic}.pl-mb{color:#24292e;font-weight:700}.pl-md{background-color:#ffeef0;color:#b31d28}.pl-mi1{background-color:#f0fff4;color:#22863a}.pl-mc{background-color:#ffebda;color:#e36209}.pl-mi2{background-color:#005cc5;color:#f6f8fa}.pl-mdr{color:#6f42c1;font-weight:700}.pl-ba{color:#586069}.pl-sg{color:#959da5}.pl-corl{color:#032f62;-webkit-text-decoration:underline;text-decoration:underline}@media (prefers-color-scheme:dark){.pl-c{color:#959da5}/*! * GitHub Dark v0.5.0 * Copyright (c) 2012 - 2017 GitHub, Inc. * Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE) */.pl-c1,.pl-s .pl-v{color:#c8e1ff}.pl-e,.pl-en{color:#b392f0}.pl-s .pl-s1,.pl-smi{color:#f6f8fa}.pl-ent{color:#7bcc72}.pl-k{color:#ea4a5a}.pl-pds,.pl-s,.pl-s .pl-pse .pl-s1,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre{color:#79b8ff}.pl-ml,.pl-v{color:#fb8532}.pl-bu{color:#d73a49}.pl-c2,.pl-ii{background-color:#d73a49;color:#fafbfc}.pl-c2:before{content:"^M"}.pl-sr .pl-cce{color:#7bcc72;font-weight:700}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#0366d6;font-weight:700}.pl-mi{color:#f6f8fa;font-style:italic}.pl-mb{color:#f6f8fa;font-weight:700}.pl-md{background-color:#ffeef0;color:#b31d28}.pl-mi1{background-color:#f0fff4;color:#176f2c}.pl-mc{background-color:#fffdef;color:#b08800}.pl-mi2{background-color:#959da5;color:#2f363d}.pl-mdr{color:#b392f0;font-weight:700}.pl-mo{color:#0366d6}.pl-ba{color:#ffeef0}.pl-sg{color:#6a737d}.pl-corl{color:#79b8ff;-webkit-text-decoration:underline;text-decoration:underline}}.InstallViaCLI-module--root--e7571{line-height:2rem;position:relative}.InstallViaCLI-module--root--e7571 span{margin-right:5px}.InstallViaCLI-module--root--e7571 code{display:block;margin-right:3rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ClipboardButton-module--copy-wrapper--e75f0{bottom:0;min-height:2rem;position:absolute;right:0}.ClipboardButton-module--copy-wrapper--e75f0 img{opacity:.87}.ClipboardButton-module--copy-success--e2048{line-height:1rem;position:absolute;right:4rem;white-space:nowrap}@media (prefers-color-scheme:dark){.ClipboardButton-module--copy-wrapper--e75f0 img{filter:invert(1)}}.PluginWikiContent-module--lightbox--13a29{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:9999}.PluginWikiContent-module--lightbox--13a29 img{box-shadow:0 0 20px rgba(0,0,0,.5);max-height:90%;max-width:90%}.PluginWikiContent-module--lightbox--13a29 img:hover{cursor:pointer}.pluginHealth>div:last-child{margin-bottom:2rem}#pluginHealth--score{align-items:center;display:flex;justify-content:space-evenly;line-height:1;padding:20px 0 30px}#pluginHealth--score #pluginHealth--score-value{font-size:64px}#pluginHealth--score #pluginHealth--score-unit{font-size:24px}#pluginHealth--score #pluginHealth--score-label{font-size:14px;text-align:center;text-transform:uppercase}.pluginHealth--score-section{border-top:1px solid silver;padding:13px 0}.pluginHealth--score-section:last-of-type{border-bottom:1px solid silver;margin-bottom:2rem}.pluginHealth--score-section--collapsible-icon{display:flex;justify-content:flex-end;width:24px}.pluginHealth--score-section--collapsible-icon ion-icon{width:14px}.pluginHealth--score-section--header{align-items:center;cursor:pointer;display:flex;font-size:1.5rem;height:3rem;line-height:3rem;margin-top:.5rem}.pluginHealth--score-section--header--icon{align-items:center;display:flex;width:24px}.pluginHealth-score-icon--incorrect{color:#e6001f}.pluginHealth-score-icon--correct{color:#1ea64b}.pluginHealth--score-section--header-title{flex-grow:1;font-size:2rem;font-weight:400}.pluginHealth--score-section--header-score{font-size:1.5rem;font-weight:400}.pluginHealth--score-section--header-icon{width:40px}.pluginHealth-score-components--list{padding-left:40px;padding-right:24px}.pluginHealth-score-components--list.collapse{visibility:collapse}.pluginHealth--score-component{align-items:flex-start;display:flex;line-height:1.75;margin:14px 0 16px}.pluginHealth--score-component--icon{line-height:1;margin-right:6px}.pluginHealth--score-component--reasons{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1}.pluginHealth--score-component--reasons span{line-height:1}#pluginReleases--container{margin-top:10px}#pluginReleases--container .item{margin-bottom:10px}#pluginReleases--container .card-text h2{font-size:1.4rem}#pluginReleases--container .card-text h3{font-size:1.2rem}#pluginReleases--container .card-text h4{font-size:1.1rem}#pluginReleases--container .card-text h5{font-size:1rem}#pluginReleases--container .github-icon{margin-left:7px}:root{--plugin-icon-width:2.25em;--plugin-padding:0.25em;--search-background:#eae9e8}#searchpage #grid-box{background:#eae9e8;background:var(--search-background)}.SearchResults--GridBox{display:flex;flex-flow:row wrap;justify-content:center;margin:0 2rem}.SearchResults--ItemBox{background:var(--background);border:.1rem solid #ccc;border-radius:3px;box-sizing:border-box;color:var(--bs-secondary);display:block;flex:0 0 auto;font-size:.85rem;height:19.5rem;margin:.25rem;min-height:6rem;opacity:.9;padding:.67rem;position:relative;text-align:left;-webkit-text-decoration:none!important;text-decoration:none!important;width:13rem}@media (max-width:768px){.SearchResults--ItemBox{width:calc(100% - .4rem)}}.SearchResults--ItemBox:hover{border:.1rem solid #999;box-shadow:0 2px 3px rgba(0,0,0,.25);cursor:pointer;opacity:1;-webkit-text-decoration:none;text-decoration:none}.Plugin--PluginContainer{display:block;height:100%;position:relative}.Plugin--PluginContainer *{color:var(--color)}.Plugin--PluginContainer a,.Plugin--PluginContainer a:visited{color:var(--link-color)}.Plugin--PluginContainer:hover{-webkit-text-decoration:none;text-decoration:none}.Plugin--IconContainer{bottom:3rem;display:block;grid-area:icon;opacity:.75;position:absolute;right:.25rem;z-index:9}.Plugin--IconContainer i{border-radius:3px;color:#fff;display:inline-block;font-size:1.33rem;font-style:normal;height:3rem;line-height:3rem;margin:-1px 0 0 -1px;text-align:center;text-shadow:rgba(0,0,0,.5) 1px 2px 1px;width:2.25em;width:var(--plugin-icon-width)}.Plugin--IconContainer i *{color:inherit}.Plugin--TitleContainer{grid-area:title}.Plugin--TitleContainer h4{color:var(--color);font-size:1rem;font-weight:400;line-height:1.1rem;margin:0 0 .25rem;max-height:2.2rem;overflow:hidden;position:relative}.Plugin--InstallsContainer{color:#999;font-size:.75rem;grid-area:installs;margin:0;padding:0}.Plugin--VersionContainer{color:var(--link-color);font-size:.75rem;grid-area:version;line-height:1rem;margin-right:.5rem;white-space:nowrap}.Plugin--VersionContainer span{margin-right:.25rem}.Plugin--LabelsContainer{grid-area:labels;line-height:.75rem;margin:.25rem 0;max-height:2rem;min-height:1rem;overflow:hidden}.Plugin--LabelsContainer div{color:var(--link-color);display:inline;font-size:.75rem;line-height:1rem;margin-right:.25rem}.Plugin--LabelsContainer div:after{content:", "}.Plugin--LabelsContainer div:last-child:after{content:""}.Plugin--LabelsContainer .label-link{white-space:nowrap}.Plugin--ExcerptContainer{word-wrap:break-word;grid-area:excerpt;height:4.4rem;line-height:1.1rem;margin:0;max-height:4.4rem;min-height:.5rem;overflow:hidden;padding:0;position:relative;text-overflow:ellipsis;white-space:normal}.Plugin--AuthorsContainer{bottom:3rem;grid-area:authors;max-width:8rem;overflow:hidden;position:absolute;white-space:nowrap}.Plugin--AuthorsContainer div{font-size:.75rem;line-height:1rem;margin-right:.5rem}.Plugin--HealthScoreContainer{bottom:0;position:absolute;width:100%}.Plugin--HealthScoreContainer div{display:flex;font-size:1rem;font-weight:700;justify-content:space-between;row-gap:.5rem}.SearchResults--List .SearchResults--ItemBox{height:auto;min-height:0;min-height:auto;width:calc(100% - 1rem)}.SearchResults--List .Plugin--IconContainer{bottom:auto;left:.25em;left:var(--plugin-padding);right:auto;top:.25em;top:var(--plugin-padding)}.SearchResults--List .Plugin--PluginContainer{padding-left:5em;padding-left:calc(var(--plugin-padding) + var(--plugin-icon-width)*2 + var(--plugin-padding));position:relative}.SearchResults--List .Plugin--PluginContainer .Plugin--AuthorsContainer{position:static}.SearchResults--List .Plugin--ExcerptContainer{height:auto;margin-bottom:1rem}.SearchResults--List .Plugin--HealthScoreContainer{margin-top:10px;position:static}.Pagination--Container{align-items:center;display:flex;flex-flow:column wrap;justify-content:center;margin-top:1rem}.SearchResultsCount{text-align:center}.SearchBox--Container .form-group{width:100%}.add-m{margin-left:8rem}@media only screen and (max-width:768px){.add-m{margin-left:1rem;margin-right:1rem}}.IndexPage--Container{align-items:start;background:#168bb9;border-radius:0;color:#fff;display:grid;grid-template-areas:"logo content";justify-content:center;justify-items:center;margin:0;min-height:350px;place-items:start center;text-align:center;transition:all .5s ease-in}.IndexPage--Container .logo{display:inline-block;grid-area:logo;height:294px;width:271px}.IndexPage--Container .content{grid-area:content;max-width:1024px}@media (max-width:992px){.IndexPage--Container{grid-template-areas:"logo" "content"}}.IndexPage--Container p{box-sizing:content-box;font-size:1.1rem;margin:1rem;text-align:center}.IndexPage--Container h1{font-feature-settings:normal;font-family:Georgia,Times,Times New Roman,serif;font-size:64px;font-style:normal;font-variant:normal;font-weight:700;line-height:70px}.IndexPage--Container fieldset{display:block;margin:1em 10%;text-align:center}.IndexPage--Container .input-group>.form-control{max-width:75%}.thank-you-note-container{padding:40px 16px}.thank-you-note-container,.thank-you-note-contents{align-items:center;display:flex;justify-content:center}.thank-you-note-contents{background-color:hsla(33,21%,82%,.3);border-radius:40px;height:-moz-fit-content;height:fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:24px}@media (max-width:768px){.thank-you-note-contents{padding:16px}}.thank-you-note-card{align-items:center;display:flex;flex-direction:row;gap:24px;justify-content:center}@media (max-width:768px){.thank-you-note-card{gap:8px}}.thank-you-note-img-container{align-items:center;display:flex;justify-content:center}.thank-you-note-img{margin-bottom:auto;margin-top:auto}.thank-you-note-text{font-size:medium}@media (max-width:768px){.thank-you-note-text{font-size:small}}.Filters--Container{background:var(--background);border:1px solid rgba(0,0,0,.2);border-radius:3px;box-shadow:0 1px .5rem rgba(0,0,0,.15);font-size:.85rem;font-weight:200;padding:0 1rem 1.5rem;position:relative;text-align:left}.Filters--Container fieldset{margin-bottom:1rem}.Filters--Container legend{font-size:1rem}.Filters--Container label{display:block;float:none}.Filters--Container li>label>input,.Filters--Container li>label>span{display:inline-block;margin-left:.25rem}.Filters--Container .headerContainer{border-top:1px solid rgba(0,0,0,.1);padding:1rem}.ActiveFilters--FilterBox{text-align:center;white-space:nowrap;width:100%}.ActiveFilters--FilterBox div{display:inline-block;margin-right:.5rem;padding-right:.5rem;white-space:nowrap}.ActiveFilters--FilterBox .nav-link{cursor:pointer;display:inline-block;margin:0 .5rem 0 0}.ActiveFilters--FilterBox .nav-link:before{border:1px solid #ccc;border-radius:2;content:"x ";display:inline-block;font-size:.75rem;line-height:1em;margin:-.133rem .25rem 0 -.75rem;padding:0 0 .1rem;text-align:center;vertical-align:middle;width:1.3em}.SearchByAlgolia-module--root--26db9{padding-left:1em}</style><style type="text/css"> .anchor.before { position: absolute; top: 0; left: 0; transform: translateX(-100%); padding-right: 4px; } .anchor.after { display: inline-block; padding-left: 4px; } h1 .anchor svg, h2 .anchor svg, h3 .anchor svg, h4 .anchor svg, h5 .anchor svg, h6 .anchor svg { visibility: hidden; } h1:hover .anchor svg, h2:hover .anchor svg, h3:hover .anchor svg, h4:hover .anchor svg, h5:hover .anchor svg, h6:hover .anchor svg, h1 .anchor:focus svg, h2 .anchor:focus svg, h3 .anchor:focus svg, h4 .anchor:focus svg, h5 .anchor:focus svg, h6 .anchor:focus svg { visibility: visible; } </style><script> document.addEventListener("DOMContentLoaded", function(event) { var hash = window.decodeURI(location.hash.replace('#', '')) if (hash !== '') { var element = document.getElementById(hash) if (element) { var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop var clientTop = document.documentElement.clientTop || document.body.clientTop || 0 var offset = element.getBoundingClientRect().top + scrollTop - clientTop // Wait for the browser to finish rendering before scrolling. setTimeout((function() { window.scrollTo(0, offset - 0) }), 0) } } }) </script><style>.gatsby-image-wrapper{position:relative;overflow:hidden}.gatsby-image-wrapper picture.object-fit-polyfill{position:static!important}.gatsby-image-wrapper img{bottom:0;height:100%;left:0;margin:0;max-width:none;padding:0;position:absolute;right:0;top:0;width:100%;object-fit:cover}.gatsby-image-wrapper [data-main-image]{opacity:0;transform:translateZ(0);transition:opacity .25s linear;will-change:opacity}.gatsby-image-wrapper-constrained{display:inline-block;vertical-align:top}</style><noscript><style>.gatsby-image-wrapper noscript [data-main-image]{opacity:1!important}.gatsby-image-wrapper [data-placeholder-image]{opacity:0!important}</style></noscript><script type="module">const e="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;e&&document.body.addEventListener("load",(function(e){const t=e.target;if(void 0===t.dataset.mainImage)return;if(void 0===t.dataset.gatsbyImageSsr)return;let a=null,n=t;for(;null===a&&n;)void 0!==n.parentNode.dataset.gatsbyImageWrapper&&(a=n.parentNode),n=n.parentNode;const o=a.querySelector("[data-placeholder-image]"),r=new Image;r.src=t.currentSrc,r.decode().catch((()=>{})).then((()=>{t.style.opacity=1,o&&(o.style.opacity=0,o.style.transition="opacity 500ms linear")}))}),!0);</script><title data-react-helmet="true">Amazon EC2 | Jenkins plugin</title><link data-react-helmet="true" href="https://www.jenkins.io/favicon.ico" rel="shortcut icon" type="image/x-icon"/><link data-react-helmet="true" href="https://www.jenkins.io/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180"/><link data-react-helmet="true" href="https://www.jenkins.io/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link data-react-helmet="true" href="https://www.jenkins.io/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link data-react-helmet="true" href="/site.webmanifest" rel="manifest"/><link data-react-helmet="true" color="#5bbad5" href="https://www.jenkins.io/safari-pinned-tab.svg" rel="mask-icon"/><link data-react-helmet="true" href="https://plugins.jenkins.io/ec2" rel="canonical"/><script data-react-helmet="true" src="https://www.jenkins.io/assets/bower/jquery/jquery.min.js"></script><script data-react-helmet="true" src="https://www.jenkins.io/js/copy-to-clipboard.js"></script><script data-react-helmet="true" src="https://www.jenkins.io/assets/bower/anchor-js/anchor.min.js"></script><script data-react-helmet="true" src="https://www.jenkins.io/assets/bower/@popperjs/core/umd/popper.min.js"></script><script data-react-helmet="true" src="https://www.jenkins.io/assets/bower/bootstrap/js/bootstrap.min.js"></script><script data-react-helmet="true" src="https://cdn.jsdelivr.net/npm/lit@3.2.1/polyfill-support.js"></script><script data-react-helmet="true" src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2.8.0/webcomponents-loader.js"></script><script data-react-helmet="true" data="ionicons" src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/7.4.0/ionicons/ionicons.esm.js" type="module"></script><script data-react-helmet="true" data="ionicons" src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/7.4.0/ionicons/ionicons.js"></script><script data-react-helmet="true" src="https://cdn.jsdelivr.net/npm/@jenkinsci/jenkins-io-components/+esm" type="module"></script><script data-react-helmet="true" src="https://cdn.jsdelivr.net/npm/@jenkinsci/jenkins-io-components/"></script><style data-react-helmet="true">html { min-height:100%; position: relative; }</style><link rel="sitemap" type="application/xml" href="/sitemap-index.xml"/><link rel="canonical" href="https://plugins.jenkins.io/ec2/" data-baseprotocol="https:" data-basehost="plugins.jenkins.io"/><link rel="preconnect" href="https://jenkins-matomo.do.g4v.dev"/></head><body><div id="___gatsby"><div style="outline:none" tabindex="-1" id="gatsby-focus-wrapper"><div id="pluginPage"><jio-navbar class="fixed-nav" theme="auto" property="https://plugins.jenkins.io/"></jio-navbar><div id="grid-box"><div class="title-wrapper"><h1 class="title">Amazon EC2</h1><button class="app-button">How to install</button></div><div class="row flex pluginContainer flex-column-reverse flex-md-row"><div class="col-md-9 main"><ul class="nav nav-pills"><li class="nav-item"><a aria-current="page" class="nav-link active" href="/ec2/">Documentation</a></li><li class="nav-item"><a class="nav-link" href="/ec2/releases/">Releases</a></li><li class="nav-item"><a class="nav-link" href="/ec2/issues/">Issues</a></li><li class="nav-item"><a class="nav-link" href="/ec2/dependencies/">Dependencies</a></li><li class="nav-item"><a class="nav-link" href="/ec2/healthscore/">Health Score</a></li></ul><div><div class="content"><div><div id="plugin-content-readme" class="md" data-path="README.md"> <article class="markdown-body entry-content container-lg" itemprop="text"> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-ec2-plugin" style="position: relative">ec2-plugin<a href="#plugin-content-ec2-plugin" aria-label="ec2 plugin permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <p dir="auto"><a href="https://ci.jenkins.io/job/Plugins/job/ec2-plugin/job/master/" rel="nofollow"><img src="https://camo.githubusercontent.com/c9035b809a88b5782fad93531fb03e488c7d6269bc4695c22a50aafbdaeb748a/68747470733a2f2f63692e6a656e6b696e732e696f2f6a6f622f506c7567696e732f6a6f622f6563322d706c7567696e2f6a6f622f6d61737465722f62616467652f69636f6e" alt="Jenkins" data-canonical-src="https://ci.jenkins.io/job/Plugins/job/ec2-plugin/job/master/badge/icon" style="max-width: 100%;"></a> <a href="https://plugins.jenkins.io/ec2" rel="nofollow"><img src="https://camo.githubusercontent.com/99334e1aec003b68043b93866f1131bad7cfaa20ab44202b904c9217e423f925/68747470733a2f2f696d672e736869656c64732e696f2f6a656e6b696e732f706c7567696e2f762f6563322e737667" alt="Jenkins Plugin" data-canonical-src="https://img.shields.io/jenkins/plugin/v/ec2.svg" style="max-width: 100%;"></a> <a href="https://github.com/jenkinsci/ec2-plugin/releases/latest"><img src="https://camo.githubusercontent.com/01013dc4aeb61a677bc20425fc1af130785cacf7921d64f9b1fed641997972d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a656e6b696e7363692f6563322d706c7567696e2e7376673f6c6162656c3d6368616e67656c6f67" alt="GitHub release" data-canonical-src="https://img.shields.io/github/release/jenkinsci/ec2-plugin.svg?label=changelog" style="max-width: 100%;"></a> <a href="https://gitter.im/ec2-plugin/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge" rel="nofollow"><img src="https://camo.githubusercontent.com/9fa633e85ab281d88e302f992fede967c9c3c080c528ca63de041ba7ef852dbf/68747470733a2f2f6261646765732e6769747465722e696d2f6563322d706c7567696e2f4c6f6262792e737667" alt="Gitter" data-canonical-src="https://badges.gitter.im/ec2-plugin/Lobby.svg" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-table-of-contents" style="position: relative">Table of contents<a href="#plugin-content-table-of-contents" aria-label="table of contents permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <ul dir="auto"> <li><a href="#plugin-content-introduction">Introduction</a></li> <li><a href="#plugin-content-usage">Usage</a> <ul dir="auto"> <li><a href="#plugin-content-spot-instances">Spot Instances</a> <ul dir="auto"> <li><a href="#plugin-content-enable-spot-request">Enable Spot Request</a></li> <li><a href="#plugin-content-configure-jenkins-for-spot-support">Configure Jenkins for Spot Support</a></li> <li><a href="#plugin-content-configure-ami-for-spot-support">Configure AMI for Spot Support</a></li> </ul> </li> <li><a href="#plugin-content-iam-setup">IAM setup</a></li> </ul> </li> <li><a href="#plugin-content-configure-plugin-via-groovy-script">Configure plugin via Groovy script</a></li> <li><a href="#plugin-content-security">Security</a> <ul dir="auto"> <li><a href="#plugin-content-securing-the-connection-to-unix-amis">Securing the connection to Unix AMIs</a> <ul dir="auto"> <li><a href="#plugin-content-strategies">Strategies</a> <ul dir="auto"> <li><a href="#plugin-content-check-new-hard">Check New Hard</a></li> <li><a href="#plugin-content-check-new-soft">Check New Soft</a></li> <li><a href="#plugin-content-accept-new">Accept New</a></li> <li><a href="#plugin-content-off">Off</a></li> </ul> </li> <li><a href="#plugin-content-new-amis">New AMIs</a></li> <li><a href="#plugin-content-upgrade---existing-amis">Upgrade - Existing AMIs</a></li> </ul> </li> <li><a href="#plugin-content-securing-the-connection-to-windows-amis">Securing the connection to Windows AMIs</a> <ul dir="auto"> <li><a href="#plugin-content-ami-set-up">AMI Set Up</a></li> </ul> </li> </ul> </li> <li><a href="#plugin-content-known-issues">Known Issues</a> <ul dir="auto"> <li><a href="#plugin-content-authentication-timeout">Authentication Timeout</a></li> <li><a href="#plugin-content-amazon-linux-buildconnectivity-issues">Amazon Linux build/connectivity issues</a></li> <li><a href="#plugin-content-downgrade-from-1502-1492-1463-to-a-previous-version">Downgrade from 1.50.2, 1.49.2, 1.46.3 to a previous version</a></li> </ul> </li> <li><a href="#plugin-content-change-log">Change Log</a></li> </ul> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-introduction" style="position: relative">Introduction<a href="#plugin-content-introduction" aria-label="introduction permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <p dir="auto">Allow Jenkins to start agents on <a href="http://aws.amazon.com/ec2/" rel="nofollow">EC2</a> on demand, and kill them as they get unused.</p> <p dir="auto">With this plugin, if Jenkins notices that your build cluster is overloaded, it'll start instances using the EC2 API and automatically connect them as Jenkins agents. When the load goes down, excess EC2 instances will be terminated. This set up allows you to maintain a small in-house cluster, then spill the spiky build/test loads into EC2 or another EC2 compatible cloud.</p> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-usage" style="position: relative">Usage<a href="#plugin-content-usage" aria-label="usage permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <p dir="auto">First, go to <a href="http://aws.amazon.com/ec2/" rel="nofollow">EC2</a> and sign up for the service. Once you've installed the plugin, you navigate to the main "Manage Jenkins" > "Configure System" page, and scroll down near the bottom to the "Cloud" section. There, you click the "Add a new cloud" button, and select the "Amazon EC2" option. This will display the UI for configuring the EC2 plugin. Then enter the Access Key and Secret Access Key which act like a username/password (see IAM section).</p> <p dir="auto">Because of the way EC2 works, you also need to have an RSA private key that the cloud has the other half for, to permit sshing into the instances that are started. Please use the AWS console or any other tool of your choice to generate the private key to interactively log in to EC2 instances.</p> <p dir="auto">Once you have generated the needed private key you must either store it as a Jenkins <code>SSH Private Key</code> credential (and select that credential in your cloud config).</p> <p dir="auto">If you do not want to create a new Jenkins credential you may alterantively store it in plain text on disk, indicating its file path via the Jenkins system property <code>hudson.plugins.ec2.EC2Cloud.sshPrivateKeyFilePath</code>. If this system property has a non-empty value then it will override the ssh credential specified in the cloud configuration page. This approach works well for <code>k8s</code> secrets that are mounted in a jenkins container for example.</p> <p dir="auto">Once you have put in your Access Key, Secret Access Key, and configured an ssh private key select a region for the cloud (not shown in screenshot). You may define only one cloud for each region, and the regions offered in the UI will show only the regions that you don't already have clouds defined for them.</p> <p dir="auto">Use "Test Connection" button to verify that Jenkins can successfully talk to EC2. If you are using UEC you need to click on Advanced and fill out the endpoint details for your cluster.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://github.com/jenkinsci/ec2-plugin/blob/master/docs/images/cloud.png"><img src="https://cdn.jsdelivr.net/gh/jenkinsci/ec2-plugin@master/docs/images/cloud.png" alt="" style="max-width: 100%;"></a></p> <p dir="auto">Next, configure AMIs that you want to launch. For this, you need to find the AMI IDs for the OS of your choice. <a href="https://packer.io/" rel="nofollow">Packer</a> is a good tool for doing that. Jenkins can work with any Unix AMIs. If using an Ubuntu EC2 or UEC AMI you need to fill out the <code>rootCommandPrefix</code> and <code>remoteAdmin</code> fields under <code>advanced</code>. Windows is currently somewhat supported.</p> <p dir="auto">Configuring labels allows Jenkins to pick the right AMI to start. For example, if all your existing agents labeled "solaris" are fully busy and you have more builds that are tied to the "solaris" label, Jenkins will start the AMIs that have the "solaris" label.</p> <p dir="auto">Init script is the shell script to be run on the newly launched EC2 instance, before Jenkins starts launching a agent agent. If the AMI doesn't have Java pre-installed, you can do this in the init script. This is also a good place to install additional packages that you need for your builds and tests. The init script is located at <strong>/tmp/init.sh</strong> and is owned and run by the user account specified in the "Remote User" field (so use of "sudo" may be required for non-root accounts).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://github.com/jenkinsci/ec2-plugin/blob/master/docs/images/ami.png"><img src="https://cdn.jsdelivr.net/gh/jenkinsci/ec2-plugin@master/docs/images/ami.png" alt="" style="max-width: 100%;"></a></p> <p dir="auto">Configure several AMIs if you need different OS images.</p> <p dir="auto">With this setting, your Jenkins will automatically start instances when the load goes up, and the instances will be terminated (or stopped - see below) automatically if it's idle for more than 30 mins.</p> <p dir="auto">By default, instances are terminated when the idle timeout period expires. You can change this by specifying the Stop/Disconnect on Idle Timeout flat in the Advanced properties of the AMI configuration. If this is specified, the instance is stopped when the timeout expires. If the instance is required again, then the plugin will look for a stopped instance that exactly corresponds to the AMI specification and resume it if found. Otherwise a new instance is started. Having the instances be stopped instead of terminated is useful when you are using EBS volumes and want to keep them mounted for the life of the instance and reuse the instance for long periods of time. This can greatly reduce the startup time of the instance since it does not have to build the volume from the snapshot.</p> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-spot-instances" style="position: relative">Spot Instances<a href="#plugin-content-spot-instances" aria-label="spot instances permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">Spot instances are similar to EC2 instances, except for a few key differences. They are generally more affordable, but they have the possibility of being terminated if someone has bid more on them than you have and can take longer to provision. To mitigate some of these issues, your Jenkins and Agent AMIs will need a bit of configuration to convert the Spot agents to register with Jenkins when they spawn up. Due to these changes, it may appear that a Spot agent will have failed (with a red X), but the message associated with the error will inform you if the Spot instance just has not called back yet or not. For more information on Spot instances, read the information here: <a href="http://aws.amazon.com/ec2/spot-instances/" rel="nofollow">http://aws.amazon.com/ec2/spot-instances/</a> .</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-enable-spot-request" style="position: relative">Enable Spot Request<a href="#plugin-content-enable-spot-request" aria-label="enable spot request permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">To enable use of Spot as opposed to EC2 for an instance, the "Use Spot Instance" check box must be checked. Also, a bid price must be specified. If you want to determine what the current price of the instance is without going to the AWS website, pick your region and instance type (as you already should) and click "Check Current Spot Price".</p> <p dir="auto">To choose between a Persistent or One Time bid (to keep the bid alive until cancelled or to stop the bid after it has been fulfilled once), choose from the drop down menu.</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-configure-jenkins-for-spot-support" style="position: relative">Configure Jenkins for Spot Support<a href="#plugin-content-configure-jenkins-for-spot-support" aria-label="configure jenkins for spot support permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">For Jenkins, the major configuration change will be if you have a restrictive firewall, since these instances need to connect back to Jenkins. The first configuration change to Jenkins is to change your Jenkins URL option in the Configure Jenkins page to be the external URL to the server. One port that needs to be open is the one that you use to access Jenkins, the other is the JNLP port, which is generally randomly assigned. To set the JNLP port to something predictable, follow the Connection Mechanism section on this page. <a href="https://wiki.jenkins.io/display/JENKINS/Jenkins+CLI" rel="nofollow">Jenkins CLI</a></p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-configure-ami-for-spot-support" style="position: relative">Configure AMI for Spot Support<a href="#plugin-content-configure-ami-for-spot-support" aria-label="configure ami for spot support permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">In order for your EC2 instance to know that it is to be a Jenkins agent, it must be preconfigured with start up commands so that it can register itself with Jenkins. The Jenkins information is passed to the Spot agents via EC2 user-data. This information includes the name that Jenkins has given the agent, and the configured URL for the Jenkins controller node. </p> <p dir="auto">Sample scripts for assisting in configuring an Ubuntu-based AMI to work with the Jenkins ec2-plugin and Spot agents are included with the installation of the plugin. <br> Config Script:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-ami-setup.sh"> <pre>(jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-ami-setup.sh</pre> </div> <p dir="auto">Startup Script:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-init.py"> <pre>(jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-init.py</pre> </div> <p dir="auto">The config script is run by the user from the EC2 instance with root access. It installs Java onto the instance, fetches the startup script and sets it to run when the machine starts up. It can be retrieved from the above URL using a command like wget, or copied over using a tool like <code>scp</code>.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="wget (jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-ami-setup.sh"> <pre>wget (jenkins_server)/plugin/ec2/AMI-Scripts/ubuntu-ami-setup.sh</pre> </div> <p dir="auto">Once the scripts have been downloaded, the script can be run. Running this script will also run the <code>ubuntu-init.py</code> script, so there is no need to run it on its own.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="sudo sh ubuntu-ami-setup.sh jenkins_server{:port}"> <pre>sudo sh ubuntu-ami-setup.sh jenkins_server{:port}</pre> </div> <p dir="auto">Note: "http://" will be prefixed to the jenkins_server parameter</p> <p dir="auto">The config script then fetches the startup script and sets up the AMI to register itself with a Jenkins controller node when it gets started.</p> <p dir="auto">After setting up the image, you can save the image using Amazon’s EC2 web console. To do this, right click on your instance from the console and select “Create Image (EBS AMI)”.</p> <p dir="auto">In order to set up additional images using other operating systems, you can configure your own startup script based on the startup script above. This script should perform the following actions when the machine is started up:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Verify that Java is installed # Install Java if it is not installed # Read user data for the EC2 instance. It is available from [http://169.254.169.254/latest/user-data] # Values are passed in with the format of JENKINS_URL=[Jenkins_Url]&SLAVE_NAME=[Agent_Name]&USER_DATA=[other_user_data] # Parse the values to retrieve the Jenkins_Url and Agent_Name # Fetch the agent.jar from the Jenkins controller using wget (or something similar) wget [Jenkins_Url]jnlpJars/agent.jar -O agent.jar # Register the agent to the Jenkins controller node java -jar agent.jar -jnlpUrl [Jenkins_Url]computer/ [Agent_Name] slave-agent.jnlp"> <pre><span class="pl-c"><span class="pl-c">#</span> Verify that Java is installed</span> <span class="pl-c"><span class="pl-c">#</span> Install Java if it is not installed</span> <span class="pl-c"><span class="pl-c">#</span> Read user data for the EC2 instance. It is available from [http://169.254.169.254/latest/user-data]</span> <span class="pl-c"><span class="pl-c">#</span> Values are passed in with the format of JENKINS_URL=[Jenkins_Url]&SLAVE_NAME=[Agent_Name]&USER_DATA=[other_user_data]</span> <span class="pl-c"><span class="pl-c">#</span> Parse the values to retrieve the Jenkins_Url and Agent_Name</span> <span class="pl-c"><span class="pl-c">#</span> Fetch the agent.jar from the Jenkins controller using wget (or something similar)</span> wget [Jenkins_Url]jnlpJars/agent.jar -O agent.jar <span class="pl-c"><span class="pl-c">#</span> Register the agent to the Jenkins controller node</span> java -jar agent.jar -jnlpUrl [Jenkins_Url]computer/ [Agent_Name] slave-agent.jnlp</pre> </div> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-iam-setup" style="position: relative">IAM setup<a href="#plugin-content-iam-setup" aria-label="iam setup permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">It's possible to create a separate account for Jenkins using the Amazon IAM feature. Go to the IAM tab in the AWS console and create a user. Then go to the user's <em><strong>Permissions</strong></em> tab and use this policy (change username if your user is not called <em><strong>jenkins</strong></em>):</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1312295543082", "Action": [ "ec2:DescribeSpotInstanceRequests", "ec2:CancelSpotInstanceRequests", "ec2:GetConsoleOutput", "ec2:RequestSpotInstances", "ec2:RunInstances", "ec2:StartInstances", "ec2:StopInstances", "ec2:TerminateInstances", "ec2:CreateTags", "ec2:DeleteTags", "ec2:DescribeInstances", "ec2:DescribeInstanceTypes", "ec2:DescribeKeyPairs", "ec2:DescribeRegions", "ec2:DescribeImages", "ec2:DescribeAvailabilityZones", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "iam:ListInstanceProfilesForRole", "iam:PassRole", "ec2:GetPasswordData" ], "Effect": "Allow", "Resource": "*" } ] }"> <pre>{ <span class="pl-ent">"Version"</span>: <span class="pl-s"><span class="pl-pds">"</span>2012-10-17<span class="pl-pds">"</span></span>, <span class="pl-ent">"Statement"</span>: [ { <span class="pl-ent">"Sid"</span>: <span class="pl-s"><span class="pl-pds">"</span>Stmt1312295543082<span class="pl-pds">"</span></span>, <span class="pl-ent">"Action"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeSpotInstanceRequests<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:CancelSpotInstanceRequests<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:GetConsoleOutput<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:RequestSpotInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:RunInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:StartInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:StopInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:TerminateInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:CreateTags<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DeleteTags<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeInstances<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeInstanceTypes<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeKeyPairs<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeRegions<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeImages<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeAvailabilityZones<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeSecurityGroups<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:DescribeSubnets<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>iam:ListInstanceProfilesForRole<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>iam:PassRole<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ec2:GetPasswordData<span class="pl-pds">"</span></span> ], <span class="pl-ent">"Effect"</span>: <span class="pl-s"><span class="pl-pds">"</span>Allow<span class="pl-pds">"</span></span>, <span class="pl-ent">"Resource"</span>: <span class="pl-s"><span class="pl-pds">"</span>*<span class="pl-pds">"</span></span> } ] }</pre> </div> <p dir="auto">If you want to launch agents with an IAM Instance Profile, "iam:PassRole" permission is required.</p> <p dir="auto">If you want to launch Windows agents and use the generated Administrator password, the "ec2:GetPasswordData" permission is also required.</p> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-configure-plugin-via-groovy-script" style="position: relative">Configure plugin via Groovy script<a href="#plugin-content-configure-plugin-via-groovy-script" aria-label="configure plugin via groovy script permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <p dir="auto">Either automatically upon <a href="https://wiki.jenkins.io/display/JENKINS/Post-initialization+script" rel="nofollow">Jenkins post-initialization</a> or through <a href="https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console" rel="nofollow">Jenkins script console</a>, example:</p> <div class="highlight highlight-source-groovy notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import com.amazonaws.services.ec2.model.InstanceType import com.cloudbees.jenkins.plugins.awscredentials.AWSCredentialsImpl import com.cloudbees.plugins.credentials.* import com.cloudbees.plugins.credentials.domains.Domain import hudson.model.* import hudson.plugins.ec2.EC2Cloud import hudson.plugins.ec2.AMITypeData import hudson.plugins.ec2.EC2Tag import hudson.plugins.ec2.SlaveTemplate import hudson.plugins.ec2.SpotConfiguration import hudson.plugins.ec2.UnixData import jenkins.model.Jenkins import hudson.plugins.ec2.HostKeyVerificationStrategyEnum import hudson.plugins.ec2.ConnectionStrategy import hudson.plugins.ec2.Tenancy import hudson.plugins.ec2.EbsEncryptRootVolume def sshPortToConnectWith = '22' // store parameters def slaveTemplateUsEast1Parameters = [ ami: 'ami-AAAAAAAA', associatePublicIp: false, spotConfig: null, connectBySSHProcess: false, connectUsingPublicIp: false, customDeviceMapping: '', deleteRootOnTermination: true, description: 'Jenkins agent EC2 US East 1', ebsOptimized: true, iamInstanceProfile: '', idleTerminationMinutes: '5', initScript: '', instanceCapStr: '2', javaPath: 'java', jvmopts: '', labelString: 'aws.ec2.us.east.jenkins.worker', launchTimeoutStr: '', numExecutors: '1', unixData: new UnixData(null, null, null, sshPortToConnectWith, null), remoteFS: '', remoteAdmin: 'ec2-user', tmpDir: '', securityGroups: 'sg-11111111', stopOnTerminate: false, subnetId: 'subnet-SSSSSSSS', tags: new EC2Tag('Name', 'jenkins-worker'), type: 't2.medium', useDedicatedTenancy: false, useEphemeralDevices: false, usePrivateDnsName: false, userData: '', zone: '', metadataSupported: true, metadataEndpointEnabled: true, metadataTokensRequired: true, // `true` enforces IMDSv2 only (over IMDSv1), an important AWS security best practice metadataHopsLimit: 1, minimumNumberOfInstances: 0, minimumNumberOfSpareInstances: 0, maxTotalUses: -1, monitoring: false, t2Unlimited: false, connectionStrategy: ConnectionStrategy.valueOf('PRIVATE_IP'), hostKeyVerificationStrategy: HostKeyVerificationStrategyEnum.valueOf('CHECK_NEW_HARD'), tenancy: Tenancy.valueOf('Default'), ebsEncryptRootVolume: EbsEncryptRootVolume.valueOf('ENCRYPTED'), nodeProperties: null ] def EC2CloudParameters = [ name: 'MyCompany', credentialsId: 'jenkins-aws-key', instanceCapStr: '2', privateKey: '''-----BEGIN RSA PRIVATE KEY----- MIIEogIBAAKCAQEAkjaolzS/3wlfDfQkaXyuBQ5VaodY9/0tm8BUdcfGmv7MQLUg G12MNC5MLcR0Oj4NIOJZEZvH3afPmk5UZ1hZWRWupokSXDM3alNFoWzt0SKDTsig nHrqouojRbTqZG8dlmAOHom3mTzj3OFG7PyLdsAEOcrVXwnqgBn7mDriXz+dLkFY QctsJHXpm3XBNVaZ/Rmx7vAwFSg3XO0DkjRjR2mXadyh4yQX/bMqr1VEAYBBjGtZ ri9OXAnoBMduNndeRTQ6i4xA2mBW7zcg4qksHUd+0jKN5t8cVxqOSOcCCztgwaXh xEa9/SMIS+FR6NOrUQ+w0MxWsspHogWNWif9IQIDAQABAoIBAGLt9r5wY46OsbEo SubRBJHJNAQjVhBdTtm+lacnp/rBggQaSYIalr3LwaGJ9jZeO9XPMQLYC7CvVamL bFKMlc/P+t8VicW2pb0cYNWrdXH2zy+kUf/urwnSMFF+6sVP5Y4UqhkBh6d4apjO GIZLDjYoD/PmiN6IQBGzAufql7ZntgUohYYkHM/ovskZSR6fSKXn91sirlmisfhE /74kGfJF2+S/+HYtpcCgYkSYs/c0Ibzw8wEnNaCK+I0zn4Ppp53ip3hOiI3+0EVY qnNisqL5yj8wjj1QFfwkVyWCtr7p0U4A4aDza35rxDKpZW/PcZNRK5pbLQzriqo5 J9DOQJ0CgYEA2HGwf+GjRMoJCcONjHKP8NJ3KoSBFj0ujJAxhIOyxJveMMS5agCH 94yNReZEppV7C/1fpcPb9GL38tfAb6VdGHOlFmq7djgkCKH+F7/PvDJ+u+1G871K YtvEFlHT6IPUouEfSj+7/eRxZwNEuKkM2x4dOqPXbvKU63HJkxRFdz8CgYEArO89 WARI2+o82V3ldPEZAIfri+4HD0nYW7UY4hbExdyuYTKL619Wt1nr91ubCnpR5/1s xfesBGYHlqsAuHi4tXCaU9aDyK9j+MnWUkDMvG5RXWzLDmrrfmFlohHc6r7HuVuR gtVayj8izcZpXew6Vo3ENRdvfxCzT2V7OPnG058CgYAOb465CMCN7vepWgyPyHhH NJJUGKBPbmczYs6aqvn6WPb5w7UmF8D5xrsJZXFAtwmM5CpD8QszgoJNBQzFpX7P Ca+CDj5QhTAKD1vWE6n0QF3phMrNqNtUOpoabvy2Lky5TFB88EFGjrzthO9JbaT4 3EpQxeqxcKZ0CZPLJnf3mwKBgFu46IhufVZm/q8rpjBIUEJ/1Ob68LOjLyY0/2Wr PeLUEYlsDdphTtUg1I71/12nUxoAyFiX7JzIoO3A9TjijtVtS+17sZoXrKagJxSp We33dSBgO7MB8rWtYwJ7BvlbBwPBFYSXNPhgVE1gFzLBwI930cF3FKQIb5KE+L5X fKVxAoGAcvNM9HpgtR3ngP7xWkeOWVkV6NDc2GbuYptbAMM7lY2DzG2Dbq1ru6iJ n5CNoNomPrHA05Zx2e+DbmrDbJVowSlX5xJKbc3ttYsBZlqYdZmWllpG1np8snwd I2vmggm6Uubt0s433SbMwgXonolPH0N7s8VdzVf0/moMUujYcE0= -----END RSA PRIVATE KEY-----''', region: 'us-east-1', useInstanceProfileForCredentials: false ] def AWSCredentialsImplParameters = [ id: 'jenkins-aws-key', description: 'Jenkins AWS IAM key', accessKey: '01234567890123456789', secretKey: '01345645657987987987987987987987987987' ] // https://github.com/jenkinsci/aws-credentials-plugin/blob/aws-credentials-1.23/src/main/java/com/cloudbees/jenkins/plugins/awscredentials/AWSCredentialsImpl.java AWSCredentialsImpl aWSCredentialsImpl = new AWSCredentialsImpl( CredentialsScope.GLOBAL, AWSCredentialsImplParameters.id, AWSCredentialsImplParameters.accessKey, AWSCredentialsImplParameters.secretKey, AWSCredentialsImplParameters.description ) // https://javadoc.jenkins.io/plugin/ec2/hudson/plugins/ec2/SlaveTemplate.html SlaveTemplate slaveTemplateUsEast1 = new SlaveTemplate( slaveTemplateUsEast1Parameters.ami, slaveTemplateUsEast1Parameters.zone, slaveTemplateUsEast1Parameters.spotConfig, slaveTemplateUsEast1Parameters.securityGroups, slaveTemplateUsEast1Parameters.remoteFS, InstanceType.fromValue(slaveTemplateUsEast1Parameters.type), slaveTemplateUsEast1Parameters.ebsOptimized, slaveTemplateUsEast1Parameters.labelString, Node.Mode.NORMAL, slaveTemplateUsEast1Parameters.description, slaveTemplateUsEast1Parameters.initScript, slaveTemplateUsEast1Parameters.tmpDir, slaveTemplateUsEast1Parameters.userData, slaveTemplateUsEast1Parameters.numExecutors, slaveTemplateUsEast1Parameters.remoteAdmin, slaveTemplateUsEast1Parameters.unixData, slaveTemplateUsEast1Parameters.javaPath, slaveTemplateUsEast1Parameters.jvmopts, slaveTemplateUsEast1Parameters.stopOnTerminate, slaveTemplateUsEast1Parameters.subnetId, [slaveTemplateUsEast1Parameters.tags], slaveTemplateUsEast1Parameters.idleTerminationMinutes, slaveTemplateUsEast1Parameters.minimumNumberOfInstances, slaveTemplateUsEast1Parameters.minimumNumberOfSpareInstances, slaveTemplateUsEast1Parameters.instanceCapStr, slaveTemplateUsEast1Parameters.iamInstanceProfile, slaveTemplateUsEast1Parameters.deleteRootOnTermination, slaveTemplateUsEast1Parameters.useEphemeralDevices, slaveTemplateUsEast1Parameters.launchTimeoutStr, slaveTemplateUsEast1Parameters.associatePublicIp, slaveTemplateUsEast1Parameters.customDeviceMapping, slaveTemplateUsEast1Parameters.connectBySSHProcess, slaveTemplateUsEast1Parameters.monitoring, slaveTemplateUsEast1Parameters.t2Unlimited, slaveTemplateUsEast1Parameters.connectionStrategy, slaveTemplateUsEast1Parameters.maxTotalUses, slaveTemplateUsEast1Parameters.nodeProperties, slaveTemplateUsEast1Parameters.hostKeyVerificationStrategy, slaveTemplateUsEast1Parameters.tenancy, slaveTemplateUsEast1Parameters.ebsEncryptRootVolume, slaveTemplateUsEast1Parameters.metadataSupported, slaveTemplateUsEast1Parameters.metadataEndpointEnabled, slaveTemplateUsEast1Parameters.metadataTokensRequired, slaveTemplateUsEast1Parameters.metadataHopsLimit, ) // https://javadoc.jenkins.io/plugin/ec2/hudson/plugins/ec2/EC2Cloud.html EC2Cloud ec2Cloud = new EC2Cloud( EC2CloudParameters.name, EC2CloudParameters.useInstanceProfileForCredentials, EC2CloudParameters.credentialsId, EC2CloudParameters.region, EC2CloudParameters.privateKey, EC2CloudParameters.instanceCapStr, [slaveTemplateUsEast1], '', '' ) // get Jenkins instance Jenkins jenkins = Jenkins.getInstance() // get credentials domain def domain = Domain.global() // get credentials store def store = jenkins.getExtensionList('com.cloudbees.plugins.credentials.SystemCredentialsProvider')[0].getStore() // add credential to store store.addCredentials(domain, aWSCredentialsImpl) // add cloud configuration to Jenkins jenkins.clouds.add(ec2Cloud) // save current Jenkins state to disk jenkins.save()"> <pre><span class="pl-k">import</span> <span class="pl-smi">com.amazonaws.services.ec2.model.InstanceType</span> <span class="pl-k">import</span> <span class="pl-smi">com.cloudbees.jenkins.plugins.awscredentials.AWSCredentialsImpl</span> <span class="pl-k">import</span> <span class="pl-smi">com.cloudbees.plugins.credentials.*</span> <span class="pl-k">import</span> <span class="pl-smi">com.cloudbees.plugins.credentials.domains.Domain</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.model.*</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.EC2Cloud</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.AMITypeData</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.EC2Tag</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.SlaveTemplate</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.SpotConfiguration</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.UnixData</span> <span class="pl-k">import</span> <span class="pl-smi">jenkins.model.Jenkins</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.HostKeyVerificationStrategyEnum</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.ConnectionStrategy</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.Tenancy</span> <span class="pl-k">import</span> <span class="pl-smi">hudson.plugins.ec2.EbsEncryptRootVolume</span> <span class="pl-k">def</span> sshPortToConnectWith <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">'</span>22<span class="pl-pds">'</span></span> <span class="pl-c"><span class="pl-c">//</span> store parameters</span> <span class="pl-k">def</span> slaveTemplateUsEast1Parameters <span class="pl-k">=</span> [ <span class="pl-c1">ami</span>: <span class="pl-s"><span class="pl-pds">'</span>ami-AAAAAAAA<span class="pl-pds">'</span></span>, <span class="pl-c1">associatePublicIp</span>: <span class="pl-c1">false</span>, <span class="pl-c1">spotConfig</span>: <span class="pl-c1">null</span>, <span class="pl-c1">connectBySSHProcess</span>: <span class="pl-c1">false</span>, <span class="pl-c1">connectUsingPublicIp</span>: <span class="pl-c1">false</span>, <span class="pl-c1">customDeviceMapping</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">deleteRootOnTermination</span>: <span class="pl-c1">true</span>, <span class="pl-c1">description</span>: <span class="pl-s"><span class="pl-pds">'</span>Jenkins agent EC2 US East 1<span class="pl-pds">'</span></span>, <span class="pl-c1">ebsOptimized</span>: <span class="pl-c1">true</span>, <span class="pl-c1">iamInstanceProfile</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">idleTerminationMinutes</span>: <span class="pl-s"><span class="pl-pds">'</span>5<span class="pl-pds">'</span></span>, <span class="pl-c1">initScript</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">instanceCapStr</span>: <span class="pl-s"><span class="pl-pds">'</span>2<span class="pl-pds">'</span></span>, <span class="pl-c1">javaPath</span>: <span class="pl-s"><span class="pl-pds">'</span>java<span class="pl-pds">'</span></span>, <span class="pl-c1">jvmopts</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">labelString</span>: <span class="pl-s"><span class="pl-pds">'</span>aws.ec2.us.east.jenkins.worker<span class="pl-pds">'</span></span>, <span class="pl-c1">launchTimeoutStr</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">numExecutors</span>: <span class="pl-s"><span class="pl-pds">'</span>1<span class="pl-pds">'</span></span>, <span class="pl-c1">unixData</span>: <span class="pl-k">new</span> <span class="pl-k">UnixData</span>(<span class="pl-c1">null</span>, <span class="pl-c1">null</span>, <span class="pl-c1">null</span>, sshPortToConnectWith, <span class="pl-c1">null</span>), <span class="pl-c1">remoteFS</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">remoteAdmin</span>: <span class="pl-s"><span class="pl-pds">'</span>ec2-user<span class="pl-pds">'</span></span>, <span class="pl-c1">tmpDir</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">securityGroups</span>: <span class="pl-s"><span class="pl-pds">'</span>sg-11111111<span class="pl-pds">'</span></span>, <span class="pl-c1">stopOnTerminate</span>: <span class="pl-c1">false</span>, <span class="pl-c1">subnetId</span>: <span class="pl-s"><span class="pl-pds">'</span>subnet-SSSSSSSS<span class="pl-pds">'</span></span>, <span class="pl-c1">tags</span>: <span class="pl-k">new</span> <span class="pl-k">EC2Tag</span>(<span class="pl-s"><span class="pl-pds">'</span>Name<span class="pl-pds">'</span></span>, <span class="pl-s"><span class="pl-pds">'</span>jenkins-worker<span class="pl-pds">'</span></span>), <span class="pl-c1">type</span>: <span class="pl-s"><span class="pl-pds">'</span>t2.medium<span class="pl-pds">'</span></span>, <span class="pl-c1">useDedicatedTenancy</span>: <span class="pl-c1">false</span>, <span class="pl-c1">useEphemeralDevices</span>: <span class="pl-c1">false</span>, <span class="pl-c1">usePrivateDnsName</span>: <span class="pl-c1">false</span>, <span class="pl-c1">userData</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">zone</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-c1">metadataSupported</span>: <span class="pl-c1">true</span>, <span class="pl-c1">metadataEndpointEnabled</span>: <span class="pl-c1">true</span>, <span class="pl-c1">metadataTokensRequired</span>: <span class="pl-c1">true</span>, <span class="pl-c"><span class="pl-c">//</span> `true` enforces IMDSv2 only (over IMDSv1), an important AWS security best practice</span> <span class="pl-c1">metadataHopsLimit</span>: <span class="pl-c1">1</span>, <span class="pl-c1">minimumNumberOfInstances</span>: <span class="pl-c1">0</span>, <span class="pl-c1">minimumNumberOfSpareInstances</span>: <span class="pl-c1">0</span>, <span class="pl-c1">maxTotalUses</span>: <span class="pl-c1">-1</span>, <span class="pl-c1">monitoring</span>: <span class="pl-c1">false</span>, <span class="pl-c1">t2Unlimited</span>: <span class="pl-c1">false</span>, <span class="pl-c1">connectionStrategy</span>: <span class="pl-k">ConnectionStrategy</span><span class="pl-k">.</span>valueOf(<span class="pl-s"><span class="pl-pds">'</span>PRIVATE_IP<span class="pl-pds">'</span></span>), <span class="pl-c1">hostKeyVerificationStrategy</span>: <span class="pl-k">HostKeyVerificationStrategyEnum</span><span class="pl-k">.</span>valueOf(<span class="pl-s"><span class="pl-pds">'</span>CHECK_NEW_HARD<span class="pl-pds">'</span></span>), <span class="pl-c1">tenancy</span>: <span class="pl-k">Tenancy</span><span class="pl-k">.</span>valueOf(<span class="pl-s"><span class="pl-pds">'</span>Default<span class="pl-pds">'</span></span>), <span class="pl-c1">ebsEncryptRootVolume</span>: <span class="pl-k">EbsEncryptRootVolume</span><span class="pl-k">.</span>valueOf(<span class="pl-s"><span class="pl-pds">'</span>ENCRYPTED<span class="pl-pds">'</span></span>), <span class="pl-c1">nodeProperties</span>: <span class="pl-c1">null</span> ] <span class="pl-k">def</span> EC2CloudParameters <span class="pl-k">=</span> [ <span class="pl-c1">name</span>: <span class="pl-s"><span class="pl-pds">'</span>MyCompany<span class="pl-pds">'</span></span>, <span class="pl-c1">credentialsId</span>: <span class="pl-s"><span class="pl-pds">'</span>jenkins-aws-key<span class="pl-pds">'</span></span>, <span class="pl-c1">instanceCapStr</span>: <span class="pl-s"><span class="pl-pds">'</span>2<span class="pl-pds">'</span></span>, <span class="pl-c1">privateKey</span>: <span class="pl-s"><span class="pl-pds">'''</span>-----BEGIN RSA PRIVATE KEY-----</span> <span class="pl-s">MIIEogIBAAKCAQEAkjaolzS/3wlfDfQkaXyuBQ5VaodY9/0tm8BUdcfGmv7MQLUg</span> <span class="pl-s">G12MNC5MLcR0Oj4NIOJZEZvH3afPmk5UZ1hZWRWupokSXDM3alNFoWzt0SKDTsig</span> <span class="pl-s">nHrqouojRbTqZG8dlmAOHom3mTzj3OFG7PyLdsAEOcrVXwnqgBn7mDriXz+dLkFY</span> <span class="pl-s">QctsJHXpm3XBNVaZ/Rmx7vAwFSg3XO0DkjRjR2mXadyh4yQX/bMqr1VEAYBBjGtZ</span> <span class="pl-s">ri9OXAnoBMduNndeRTQ6i4xA2mBW7zcg4qksHUd+0jKN5t8cVxqOSOcCCztgwaXh</span> <span class="pl-s">xEa9/SMIS+FR6NOrUQ+w0MxWsspHogWNWif9IQIDAQABAoIBAGLt9r5wY46OsbEo</span> <span class="pl-s">SubRBJHJNAQjVhBdTtm+lacnp/rBggQaSYIalr3LwaGJ9jZeO9XPMQLYC7CvVamL</span> <span class="pl-s">bFKMlc/P+t8VicW2pb0cYNWrdXH2zy+kUf/urwnSMFF+6sVP5Y4UqhkBh6d4apjO</span> <span class="pl-s">GIZLDjYoD/PmiN6IQBGzAufql7ZntgUohYYkHM/ovskZSR6fSKXn91sirlmisfhE</span> <span class="pl-s">/74kGfJF2+S/+HYtpcCgYkSYs/c0Ibzw8wEnNaCK+I0zn4Ppp53ip3hOiI3+0EVY</span> <span class="pl-s">qnNisqL5yj8wjj1QFfwkVyWCtr7p0U4A4aDza35rxDKpZW/PcZNRK5pbLQzriqo5</span> <span class="pl-s">J9DOQJ0CgYEA2HGwf+GjRMoJCcONjHKP8NJ3KoSBFj0ujJAxhIOyxJveMMS5agCH</span> <span class="pl-s">94yNReZEppV7C/1fpcPb9GL38tfAb6VdGHOlFmq7djgkCKH+F7/PvDJ+u+1G871K</span> <span class="pl-s">YtvEFlHT6IPUouEfSj+7/eRxZwNEuKkM2x4dOqPXbvKU63HJkxRFdz8CgYEArO89</span> <span class="pl-s">WARI2+o82V3ldPEZAIfri+4HD0nYW7UY4hbExdyuYTKL619Wt1nr91ubCnpR5/1s</span> <span class="pl-s">xfesBGYHlqsAuHi4tXCaU9aDyK9j+MnWUkDMvG5RXWzLDmrrfmFlohHc6r7HuVuR</span> <span class="pl-s">gtVayj8izcZpXew6Vo3ENRdvfxCzT2V7OPnG058CgYAOb465CMCN7vepWgyPyHhH</span> <span class="pl-s">NJJUGKBPbmczYs6aqvn6WPb5w7UmF8D5xrsJZXFAtwmM5CpD8QszgoJNBQzFpX7P</span> <span class="pl-s">Ca+CDj5QhTAKD1vWE6n0QF3phMrNqNtUOpoabvy2Lky5TFB88EFGjrzthO9JbaT4</span> <span class="pl-s">3EpQxeqxcKZ0CZPLJnf3mwKBgFu46IhufVZm/q8rpjBIUEJ/1Ob68LOjLyY0/2Wr</span> <span class="pl-s">PeLUEYlsDdphTtUg1I71/12nUxoAyFiX7JzIoO3A9TjijtVtS+17sZoXrKagJxSp</span> <span class="pl-s">We33dSBgO7MB8rWtYwJ7BvlbBwPBFYSXNPhgVE1gFzLBwI930cF3FKQIb5KE+L5X</span> <span class="pl-s">fKVxAoGAcvNM9HpgtR3ngP7xWkeOWVkV6NDc2GbuYptbAMM7lY2DzG2Dbq1ru6iJ</span> <span class="pl-s">n5CNoNomPrHA05Zx2e+DbmrDbJVowSlX5xJKbc3ttYsBZlqYdZmWllpG1np8snwd</span> <span class="pl-s">I2vmggm6Uubt0s433SbMwgXonolPH0N7s8VdzVf0/moMUujYcE0=</span> <span class="pl-s">-----END RSA PRIVATE KEY-----<span class="pl-pds">'''</span></span>, <span class="pl-c1">region</span>: <span class="pl-s"><span class="pl-pds">'</span>us-east-1<span class="pl-pds">'</span></span>, <span class="pl-c1">useInstanceProfileForCredentials</span>: <span class="pl-c1">false</span> ] <span class="pl-k">def</span> AWSCredentialsImplParameters <span class="pl-k">=</span> [ <span class="pl-c1">id</span>: <span class="pl-s"><span class="pl-pds">'</span>jenkins-aws-key<span class="pl-pds">'</span></span>, <span class="pl-c1">description</span>: <span class="pl-s"><span class="pl-pds">'</span>Jenkins AWS IAM key<span class="pl-pds">'</span></span>, <span class="pl-c1">accessKey</span>: <span class="pl-s"><span class="pl-pds">'</span>01234567890123456789<span class="pl-pds">'</span></span>, <span class="pl-c1">secretKey</span>: <span class="pl-s"><span class="pl-pds">'</span>01345645657987987987987987987987987987<span class="pl-pds">'</span></span> ] <span class="pl-c"><span class="pl-c">//</span> https://github.com/jenkinsci/aws-credentials-plugin/blob/aws-credentials-1.23/src/main/java/com/cloudbees/jenkins/plugins/awscredentials/AWSCredentialsImpl.java</span> <span class="pl-k">AWSCredentialsImpl</span> aWSCredentialsImpl <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-k">AWSCredentialsImpl</span>( <span class="pl-k">CredentialsScope</span><span class="pl-k">.</span><span class="pl-c1">GLOBAL</span>, <span class="pl-k">AWSCredentialsImplParameters</span><span class="pl-k">.</span>id, <span class="pl-k">AWSCredentialsImplParameters</span><span class="pl-k">.</span>accessKey, <span class="pl-k">AWSCredentialsImplParameters</span><span class="pl-k">.</span>secretKey, <span class="pl-k">AWSCredentialsImplParameters</span><span class="pl-k">.</span>description ) <span class="pl-c"><span class="pl-c">//</span> https://javadoc.jenkins.io/plugin/ec2/hudson/plugins/ec2/SlaveTemplate.html</span> <span class="pl-k">SlaveTemplate</span> slaveTemplateUsEast1 <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-k">SlaveTemplate</span>( slaveTemplateUsEast1Parameters<span class="pl-k">.</span>ami, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>zone, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>spotConfig, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>securityGroups, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>remoteFS, <span class="pl-k">InstanceType</span><span class="pl-k">.</span>fromValue(slaveTemplateUsEast1Parameters<span class="pl-k">.</span>type), slaveTemplateUsEast1Parameters<span class="pl-k">.</span>ebsOptimized, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>labelString, <span class="pl-k">Node.Mode</span><span class="pl-k">.</span><span class="pl-c1">NORMAL</span>, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>description, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>initScript, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>tmpDir, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>userData, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>numExecutors, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>remoteAdmin, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>unixData, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>javaPath, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>jvmopts, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>stopOnTerminate, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>subnetId, [slaveTemplateUsEast1Parameters<span class="pl-k">.</span>tags], slaveTemplateUsEast1Parameters<span class="pl-k">.</span>idleTerminationMinutes, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>minimumNumberOfInstances, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>minimumNumberOfSpareInstances, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>instanceCapStr, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>iamInstanceProfile, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>deleteRootOnTermination, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>useEphemeralDevices, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>launchTimeoutStr, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>associatePublicIp, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>customDeviceMapping, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>connectBySSHProcess, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>monitoring, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>t2Unlimited, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>connectionStrategy, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>maxTotalUses, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>nodeProperties, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>hostKeyVerificationStrategy, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>tenancy, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>ebsEncryptRootVolume, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>metadataSupported, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>metadataEndpointEnabled, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>metadataTokensRequired, slaveTemplateUsEast1Parameters<span class="pl-k">.</span>metadataHopsLimit, ) <span class="pl-c"><span class="pl-c">//</span> https://javadoc.jenkins.io/plugin/ec2/hudson/plugins/ec2/EC2Cloud.html</span> <span class="pl-k">EC2Cloud</span> ec2Cloud <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-k">EC2Cloud</span>( <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>name, <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>useInstanceProfileForCredentials, <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>credentialsId, <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>region, <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>privateKey, <span class="pl-k">EC2CloudParameters</span><span class="pl-k">.</span>instanceCapStr, [slaveTemplateUsEast1], <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>, <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span> ) <span class="pl-c"><span class="pl-c">//</span> get Jenkins instance</span> <span class="pl-k">Jenkins</span> jenkins <span class="pl-k">=</span> <span class="pl-k">Jenkins</span><span class="pl-k">.</span>getInstance() <span class="pl-c"><span class="pl-c">//</span> get credentials domain</span> <span class="pl-k">def</span> domain <span class="pl-k">=</span> <span class="pl-k">Domain</span><span class="pl-k">.</span>global() <span class="pl-c"><span class="pl-c">//</span> get credentials store</span> <span class="pl-k">def</span> store <span class="pl-k">=</span> jenkins<span class="pl-k">.</span>getExtensionList(<span class="pl-s"><span class="pl-pds">'</span>com.cloudbees.plugins.credentials.SystemCredentialsProvider<span class="pl-pds">'</span></span>)[<span class="pl-c1">0</span>]<span class="pl-k">.</span>getStore() <span class="pl-c"><span class="pl-c">//</span> add credential to store</span> store<span class="pl-k">.</span>addCredentials(domain, aWSCredentialsImpl) <span class="pl-c"><span class="pl-c">//</span> add cloud configuration to Jenkins</span> jenkins<span class="pl-k">.</span>clouds<span class="pl-k">.</span>add(ec2Cloud) <span class="pl-c"><span class="pl-c">//</span> save current Jenkins state to disk</span> jenkins<span class="pl-k">.</span>save()</pre> </div> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-programmatically-addingupdating-cloudtemplates" style="position: relative">Programmatically adding/updating CloudTemplates<a href="#plugin-content-programmatically-addingupdating-cloudtemplates" aria-label="programmatically addingupdating cloudtemplates permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">The plugin supports programmatic addition and update of <code>CloudTemplates</code> in an already existing <code>Cloud</code> - both can be accomplished via the Jenkins script console <a href="https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console" rel="nofollow">Jenkins script console</a>.</p> <p dir="auto">Example:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Assuming on the Jenkins instance, there exists an EC2Cloud with the name "AwsCloud" EC2Cloud cloud = (EC2Cloud) Jenkins.get().clouds.stream().filter(cloud1 -> Objects.equals(cloud.getDisplayName(), "AwsCloud")).findFirst().get(); SlaveTemplate template = new SlaveTemplate(/*constructor*/); // View available constructors at https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/SlaveTemplate.java // Adding a template cloud.addTemplate(template); SlaveTemplate template2 = new SlaveTemplate(/*constructor*/); // Updating a template. Note the description of an existing SlaveTemplate needs to passed in order for there to be a successful update, otherwise an Exception is thrown cloud.updateTemplate(template2, template.description);"> <pre> <span class="pl-c">// Assuming on the Jenkins instance, there exists an EC2Cloud with the name "AwsCloud"</span> <span class="pl-smi">EC2Cloud</span> <span class="pl-s1">cloud</span> = (<span class="pl-smi">EC2Cloud</span>) <span class="pl-smi">Jenkins</span>.<span class="pl-en">get</span>().<span class="pl-s1">clouds</span>.<span class="pl-en">stream</span>().<span class="pl-en">filter</span>(<span class="pl-s1">cloud1</span> -> <span class="pl-smi">Objects</span>.<span class="pl-en">equals</span>(<span class="pl-s1">cloud</span>.<span class="pl-en">getDisplayName</span>(), <span class="pl-s">"AwsCloud"</span>)).<span class="pl-en">findFirst</span>().<span class="pl-en">get</span>(); <span class="pl-smi">SlaveTemplate</span> <span class="pl-s1">template</span> = <span class="pl-k">new</span> <span class="pl-smi">SlaveTemplate</span>(<span class="pl-c">/*constructor*/</span>); <span class="pl-c">// View available constructors at https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/SlaveTemplate.java</span> <span class="pl-c">// Adding a template</span> <span class="pl-s1">cloud</span>.<span class="pl-en">addTemplate</span>(<span class="pl-s1">template</span>); <span class="pl-smi">SlaveTemplate</span> <span class="pl-s1">template2</span> = <span class="pl-k">new</span> <span class="pl-smi">SlaveTemplate</span>(<span class="pl-c">/*constructor*/</span>); <span class="pl-c">// Updating a template. Note the description of an existing SlaveTemplate needs to passed in order for there to be a successful update, otherwise an Exception is thrown</span> <span class="pl-s1">cloud</span>.<span class="pl-en">updateTemplate</span>(<span class="pl-s1">template2</span>, <span class="pl-s1">template</span>.<span class="pl-s1">description</span>);</pre> </div> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-security" style="position: relative">Security<a href="#plugin-content-security" aria-label="security permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-securing-the-connection-to-unix-amis" style="position: relative">Securing the connection to Unix AMIs<a href="#plugin-content-securing-the-connection-to-unix-amis" aria-label="securing the connection to unix amis permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">When you set up a template for a <em>Unix</em> instance (<code>Type AMI</code> field), you can select the strategy used to guarantee the instance you're connecting to is the expected one. You should use a strong strategy to guarantee that a <em><a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack" rel="nofollow">man-in-the-middle attack</a></em> cannot be performed.</p> <p dir="auto">You can select your strategy under the <em>Advanced...</em> configuration, on the <em>Host Key Verification Strategy</em> field of every configured AMI.</p> <p dir="auto">The plugin provides several strategies because each one has its own requirements. So providing more than one allows administrators to use the one best fits to their environment. These strategies are:</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-strategies" style="position: relative">Strategies<a href="#plugin-content-strategies" aria-label="strategies permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <div class="markdown-heading" dir="auto"> <h4 class="heading-element" dir="auto" id="plugin-content-check-new-hard" style="position: relative">Check New Hard<a href="#plugin-content-check-new-hard" aria-label="check new hard permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h4> </div> <p dir="auto">This strategy checks the SSH host key provided by the instance with the key printed out in the instance console during the instance initialization. If the key is not found, the plugin <strong>doesn't allow</strong> the connection to the instance to guarantee the instance is the right one. If the key is found and it is the same as the one presented by the instance, then it's saved to be used on future connections, so the console is only checked once.</p> <p dir="auto">Requirements:</p> <ul dir="auto"> <li>The AMI used should print the key used. It's a common behaviour, for example the <em>Amazon Linux 2</em> AMI prints it out. You can consult the AMI documentation to figure it out.</li> <li>The launch timeout should be long enough to allow the plugin to check the instance console. With this strategy, the plugin waits for the console to be available, which can take a few minutes. The <em>Launch Timeout in seconds</em> field should have a number to allow that, for example 600 (10 minutes). By default there is no timeout, so it's safe.</li> </ul> <p dir="auto">The expected format on the instance console is <code>algorithm base64-public-key</code> at the beginning of a line. For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNFNGfKpPS/UT2jAEa0+9aZneku2a7TVwN+MjGesm65DDGnXPcM9TM9BsiOE+s4Vo6aCT9L/TVrtDFa0hqbnqc8= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHm0sVqkjSuaPg8e7zfaKXt3b1hE1tBwFsB18NOWv5ow ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNTngsAxOCpZwt+IBqJSQ9MU2qVNYzP4D5i1OHfIRXCrnAuJ54GtFzZEZqqo4e1e/JqBQOX3ZPsaegbkzl2uq5FzfFcFoYYXg5gL7htlZ1I2k6/2iIBv7CHAjbpXMkH8WoF2C3vZFRMWLs20ikQpED+9m11VejE19+kqJwLMopyAtq+/mCgiv4nw5QWh3rrrEcbgzuxYoMD0t9daqBq1V0lzRqL36ALVySy7oDjr3YzCN+wMXe1I36kv3lSeCHXnhc53ubrBIsRakWLBndHhPqyyAOMEjdby/O/EQ2PR7vBpH5MaseaJwvRRDPQ6qt4sV8lk0tEt9qbdb1prFRB4W1"> <pre class="notranslate"><code>ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNFNGfKpPS/UT2jAEa0+9aZneku2a7TVwN+MjGesm65DDGnXPcM9TM9BsiOE+s4Vo6aCT9L/TVrtDFa0hqbnqc8= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHm0sVqkjSuaPg8e7zfaKXt3b1hE1tBwFsB18NOWv5ow ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNTngsAxOCpZwt+IBqJSQ9MU2qVNYzP4D5i1OHfIRXCrnAuJ54GtFzZEZqqo4e1e/JqBQOX3ZPsaegbkzl2uq5FzfFcFoYYXg5gL7htlZ1I2k6/2iIBv7CHAjbpXMkH8WoF2C3vZFRMWLs20ikQpED+9m11VejE19+kqJwLMopyAtq+/mCgiv4nw5QWh3rrrEcbgzuxYoMD0t9daqBq1V0lzRqL36ALVySy7oDjr3YzCN+wMXe1I36kv3lSeCHXnhc53ubrBIsRakWLBndHhPqyyAOMEjdby/O/EQ2PR7vBpH5MaseaJwvRRDPQ6qt4sV8lk0tEt9qbdb1prFRB4W1 </code></pre> </div> <p dir="auto">Recommended for:</p> <p dir="auto">This strategy is the most secure. It's recommended for every instance if you can meet the requirements. We recommend, whenever possible, configuring each AMI with <em>Stop/Disconnect on Idle Timeout</em> to take advantage of the ssh host key cache allowing next connections to be done faster.</p> <div class="markdown-heading" dir="auto"> <h4 class="heading-element" dir="auto" id="plugin-content-check-new-soft" style="position: relative">Check New Soft<a href="#plugin-content-check-new-soft" aria-label="check new soft permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h4> </div> <p dir="auto">This strategy checks the SSH host key provided by the instance with the key printed out in the instance console during the instance initialization. If the key is not found, the plugin <strong>allows</strong> the connection to the instance in order to guarantee the instance is the right one. If the key is found and it is the same as the one presented by the instance, then it's saved to be used on future connections, so the console is only checked once.</p> <p dir="auto">Requirements:</p> <ul dir="auto"> <li>The AMI used may print the key used to guarantee the instance is the right one, but <strong>it's not mandatory</strong>.</li> <li>The launch timeout should be long enough to allow the plugin to check the instance console. With this strategy, the plugin waits for the console to be available, which can take a few minutes. The <em>Launch Timeout in seconds</em> field should have a number to allow that. For example 600 (10 minutes). By default there is no timeout, so it's safe. If the timeout expires, the connection is not done.</li> </ul> <p dir="auto">The expected format on the instance console is <code>algorithm base64-public-key</code> at the beginning of a line. For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNFNGfKpPS/UT2jAEa0+9aZneku2a7TVwN+MjGesm65DDGnXPcM9TM9BsiOE+s4Vo6aCT9L/TVrtDFa0hqbnqc8= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHm0sVqkjSuaPg8e7zfaKXt3b1hE1tBwFsB18NOWv5ow ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNTngsAxOCpZwt+IBqJSQ9MU2qVNYzP4D5i1OHfIRXCrnAuJ54GtFzZEZqqo4e1e/JqBQOX3ZPsaegbkzl2uq5FzfFcFoYYXg5gL7htlZ1I2k6/2iIBv7CHAjbpXMkH8WoF2C3vZFRMWLs20ikQpED+9m11VejE19+kqJwLMopyAtq+/mCgiv4nw5QWh3rrrEcbgzuxYoMD0t9daqBq1V0lzRqL36ALVySy7oDjr3YzCN+wMXe1I36kv3lSeCHXnhc53ubrBIsRakWLBndHhPqyyAOMEjdby/O/EQ2PR7vBpH5MaseaJwvRRDPQ6qt4sV8lk0tEt9qbdb1prFRB4W1"> <pre class="notranslate"><code>ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNFNGfKpPS/UT2jAEa0+9aZneku2a7TVwN+MjGesm65DDGnXPcM9TM9BsiOE+s4Vo6aCT9L/TVrtDFa0hqbnqc8= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHm0sVqkjSuaPg8e7zfaKXt3b1hE1tBwFsB18NOWv5ow ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNTngsAxOCpZwt+IBqJSQ9MU2qVNYzP4D5i1OHfIRXCrnAuJ54GtFzZEZqqo4e1e/JqBQOX3ZPsaegbkzl2uq5FzfFcFoYYXg5gL7htlZ1I2k6/2iIBv7CHAjbpXMkH8WoF2C3vZFRMWLs20ikQpED+9m11VejE19+kqJwLMopyAtq+/mCgiv4nw5QWh3rrrEcbgzuxYoMD0t9daqBq1V0lzRqL36ALVySy7oDjr3YzCN+wMXe1I36kv3lSeCHXnhc53ubrBIsRakWLBndHhPqyyAOMEjdby/O/EQ2PR7vBpH5MaseaJwvRRDPQ6qt4sV8lk0tEt9qbdb1prFRB4W1 </code></pre> </div> <p dir="auto">Recommended for:</p> <p dir="auto">This strategy is the default one for AMIs created with a former version of the plugin. It doesn't break any connection because the plugin connects to the instance even when the key is not found on the console. The only point to take into account is you need to have the right timeout to allow the plugin to get the instance console. This strategy is recommended when upgrading from a previous version of the plugin. <em>Check New Hard</em> is the safest strategy, so you should consider migrating to it. We recommend, whenever possible, configuring each AMI with <em>Stop/Disconnect on Idle Timeout</em> to take advantage of the ssh host key cache allowing next connections to be done faster.</p> <div class="markdown-heading" dir="auto"> <h4 class="heading-element" dir="auto" id="plugin-content-accept-new" style="position: relative">Accept New<a href="#plugin-content-accept-new" aria-label="accept new permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h4> </div> <p dir="auto">This strategy doesn't check any key on the console. It accepts the key provided by the instance on the first connection. Then, the key is saved to be used on future connections to detect a Man-in-the-Middle attack (the host key has changed).</p> <p dir="auto">Requirements:</p> <ul dir="auto"> <li>N/A</li> </ul> <p dir="auto">Recommended for:</p> <p dir="auto">This strategy is recommended when your AMIs don't print out the host keys on the console. The <em>Check New Soft</em> cannot be used, but at least, you can catch a man-in-the-middle attack on further connections to the same instance. If the attack was already perpetrated you cannot detect that. Again, the <em>Check New Hard</em> is the safest strategy.</p> <div class="markdown-heading" dir="auto"> <h4 class="heading-element" dir="auto" id="plugin-content-off" style="position: relative">Off<a href="#plugin-content-off" aria-label="off permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h4> </div> <p dir="auto">This strategy neither checks any key on the console, nor checks future connections to the same instance with a saved key. It accepts blindly the key provided by the instance on the first and further connections.</p> <p dir="auto">Requirements:</p> <ul dir="auto"> <li>N/A</li> </ul> <p dir="auto">Recommended for:</p> <p dir="auto">This strategy is not recommended because of its lack of security. It is the strategy used for prior versions of the plugin.</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-new-amis" style="position: relative">New AMIs<a href="#plugin-content-new-amis" aria-label="new amis permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">The default strategy for every new instance is the <em>Check New Hard</em> one. You can select a strategy per AMI. It's under the <em>Advanced...</em> configuration, on the <em>Host Key Verification Strategy</em> field.</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-upgrade---existing-amis" style="position: relative">Upgrade - Existing AMIs<a href="#plugin-content-upgrade---existing-amis" aria-label="upgrade existing amis permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">You may upgrade from a Jenkins installation with a former plugin version without this security mechanism. The default strategy for every existing instance is the <em>Check New Soft</em> strategy. This guarantees your jobs are not going to stop working and improves the situation. We recommend, if possible, upgrading to the <em>Check New Hard</em> strategy to be safer against a <em>Man in the Middle attack</em>.</p> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-securing-the-connection-to-windows-amis" style="position: relative">Securing the connection to Windows AMIs<a href="#plugin-content-securing-the-connection-to-windows-amis" aria-label="securing the connection to windows amis permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">When you configure a template for a <em>Windows</em> instance (<code>Type AMI</code> field), you can use HTTPS and disallow self-signed certificates. This guarantees the instance you're connecting to is the expected one and a <a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack" rel="nofollow">man-in-the-middle attack</a> cannot be performed.</p> <div class="markdown-heading" dir="auto"> <h3 class="heading-element" dir="auto" id="plugin-content-ami-set-up" style="position: relative">AMI Set Up<a href="#plugin-content-ami-set-up" aria-label="ami set up permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h3> </div> <p dir="auto">Before securely connecting to the instance, you need to 1) configure the AMI, 2)install the certificate, 3) configure WinRM properly and 4) set the firewall rules to allow the connection. You can find some guidance at the <code>AMI Type</code> field help, under the template configuration on your Jenkins instance.</p> <p dir="auto">Tips:</p> <ul dir="auto"> <li>When the <code>Allow Self Signed Certificate</code> field is checked, the plugin allows self-signed certificates. It means that the plugin neither checks the CA which issued the certificate, nor verifies the host it is connecting to is present on the certificate. If the field is not checked, this kind of certificates are not allowed and both verifications are performed.</li> <li>The EC2 plugin connects to the instance using either an IP address. It does not use the DNS name. You must configure WinRM with a certificate which includes the <strong>IP</strong> of the instance. Something like:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#3: ObjectId: 2.5.29.17 Criticality=false SubjectAlternativeName [ DNSName: myhostname.com IPAddress: 111.222.333.444 <-------------- ]"> <pre class="notranslate"><code>#3: ObjectId: 2.5.29.17 Criticality=false SubjectAlternativeName [ DNSName: myhostname.com IPAddress: 111.222.333.444 <-------------- ] </code></pre> </div> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-known-issues" style="position: relative">Known Issues<a href="#plugin-content-known-issues" aria-label="known issues permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-authentication-timeout" style="position: relative">Authentication Timeout<a href="#plugin-content-authentication-timeout" aria-label="authentication timeout permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">If you have issues with authentication timing out as a node is starting (see the stack traces in <a href="https://issues.jenkins-ci.org/browse/JENKINS-30284" rel="nofollow">JENKINS-30284</a>) you can use these System Properties to adjust the number of tries and timeout values:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="jenkins.ec2.bootstrapAuthSleepMs (default 30000) jenkins.ec2.bootstrapAuthTries (default 30)"> <pre class="notranslate"><code>jenkins.ec2.bootstrapAuthSleepMs (default 30000) jenkins.ec2.bootstrapAuthTries (default 30) </code></pre> </div> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-amazon-linux-buildconnectivity-issues" style="position: relative">Amazon Linux build/connectivity issues<a href="#plugin-content-amazon-linux-buildconnectivity-issues" aria-label="amazon linux buildconnectivity issues permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">If you are using a Amazon Linux AMI and encounter exceptions like <em><strong>java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-0.amzn2.x86_64/jre/lib/currency.data (No such file or directory)</strong></em> or <em><strong>Remote call on EC2 [...] failed</strong></em> then chances are that the Amazon Linux is doing some security upgrades in the background and causes the agent to be in an invalid state.</p> <p dir="auto">Another symptom of the same problem if you run Docker on your agents can be either docker containers randomly exiting with ExitCode 137 or getting error messages with "EOF" part way through trying to pull or run images - this can occur if there is a security patch for Docker itself because applying this update stops Docker. These upgrades are asynchronous on Amazon Linux 2 (whereas on the older Amazon Linux the docs stated that the SSH service was not started until they complete) so your Jenkins job may have already started using Docker, causing this issue.</p> <p dir="auto">From the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html#security-updates" rel="nofollow">documentation</a> of the Amazon Linux it's stated:</p> <blockquote> <p dir="auto">Amazon Linux is configured to download and install security updates at launch time.[...] The default setting for repo_upgrade is security. That is, if you don't specify a different value in your user data, by default, Amazon Linux performs the security upgrades at launch for any packages installed at that time</p> </blockquote> <p dir="auto">You can check by looking for <code>repo_upgrade:</code> in "cloud-init" settings <code>/etc/cloud/cloud.cfg</code>.</p> <p dir="auto">This issue can be solved in different ways:</p> <ol dir="auto"> <li> <p dir="auto">Rebuild your AMI so the latest security fixes are baked in => this will mean however that the issue could eventually come back if further patches are published.</p> </li> <li> <p dir="auto">Update the Jenkins config for launching your AMI, so it disables automatic installation of security fixes (see amazon <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html#security-updates" rel="nofollow">documentation</a>) by adding the following in 'User Data' under 'Advanced' for the AMI in Jenkins Clouds config:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#cloud-config repo_upgrade: none"> <pre class="notranslate"><code>#cloud-config repo_upgrade: none </code></pre> </div> </li> <li> <p dir="auto">If you disable repo_upgrade per the previous point, you can optionally still ensure patches are applied by adding your own yum command in the 'Init script' for the AMI in Jenkins Clouds config, the advantage being that Jenkins will not start using the agent until this init script has finished</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://github.com/jenkinsci/ec2-plugin/blob/master/docs/images/init-scripts.png"><img src="https://cdn.jsdelivr.net/gh/jenkinsci/ec2-plugin@master/docs/images/init-scripts.png" alt="" style="max-width: 100%;"></a></p> </li> </ol> <div class="markdown-heading" dir="auto"> <h2 class="heading-element" dir="auto" id="plugin-content-downgrade-from-1502-1492-1463-to-a-previous-version" style="position: relative">Downgrade from 1.50.2, 1.49.2, 1.46.3 to a previous version<a href="#plugin-content-downgrade-from-1502-1492-1463-to-a-previous-version" aria-label="downgrade from 1502 1492 1463 to a previous version permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h2> </div> <p dir="auto">If you updated to 1.50.2, or 1.49.2 or 1.46.3 and you need to downgrade back to the previous version, be sure to <strong>remove</strong> the file <code>JENKINS_HOME/ec2.xml</code> before doing that. This file is created if you click on the button <em>Dismiss these messages</em> of the monitor that warns you when there are some template with a weak strategy. If you don't do that, Jenkins will start and will overwrite its config.xml file <strong>losing your cloud configuration</strong>.</p> <p dir="auto">At this moment, it seems related with a race-condition between the plugin and the <code>OldDataMonitor</code> class of Jenkins Core. See <a href="https://issues.jenkins-ci.org/browse/JENKINS-62231" rel="nofollow">https://issues.jenkins-ci.org/browse/JENKINS-62231</a></p> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" id="plugin-content-change-log" style="position: relative">Change Log<a href="#plugin-content-change-log" aria-label="change log permalink" class="anchor after"><ion-icon name="link-outline"></ion-icon></a></h1> </div> <p dir="auto">Newer changelogs are posted <a href="https://github.com/jenkinsci/ec2-plugin/releases">here</a>, 1.45 and older releases can be found <a href="https://github.com/jenkinsci/ec2-plugin/blob/master/CHANGELOG.md">here</a></p> </article> </div></div></div></div></div><div class="col-md-3 sidebar"><h5>Version: 1869.v73998b_605c4d</h5><div>Released: <time dateTime="2025-03-03T12:16:09.000Z" title="2025-03-03 12:16">about 11 hours ago</time></div><div>Requires Jenkins <!-- -->2.479.1</div><div>ID: <!-- -->ec2</div><div class="sidebarSection"><h5 title="Total: 11,217">Installed on 4.04% of controllers</h5><div class="chart"><div style="padding:0"><canvas role="img" height="90" width="300"></canvas></div></div><div class="label-link"><a href="https://old.stats.jenkins.io/pluginversions/ec2.html">View detailed version information</a></div></div><div class="sidebarSection"><h5>Links</h5><div class="label-link"><a href="https://github.com/jenkinsci/ec2-plugin">GitHub</a></div><div class="label-link"><a href="https://issues.jenkins.io/issues/?jql=resolution%20is%20EMPTY%20and%20component%3D15625">Open issues (Jira)</a></div><div class="label-link"><a href="https://www.jenkins.io/participate/report-issue/redirect/#15625/ec2">Report an issue (Jira)</a></div><div class="label-link"><a href="https://www.jenkins.io/doc/pipeline/steps/ec2">Pipeline Step Reference</a></div><div class="label-link"><a href="https://www.jenkins.io/doc/developer/extensions/ec2">Extension Points</a></div><div class="label-link"><a href="https://javadoc.jenkins.io/plugin/ec2">Javadoc</a></div></div><div class="sidebarSection"><h5>Labels</h5><div class="label-link"><a href="/ui/search/?labels=agent">Agent Management</a></div><div class="label-link"><a href="/ui/search/?labels=aws">aws</a></div><div class="label-link"><a href="/ui/search/?labels=cloud">Cloud Providers</a></div><div class="label-link"><a href="/ui/search/?labels=cluster">Cluster Management</a></div><div class="label-link"><a href="/ui/search/?labels=spotinst">spotinst</a></div></div><div class="sidebarSection"><h5>Maintainers</h5><div class="maintainer"><a href="/ui/search/?query=thoulen">FABRIZIO MANFREDI</a></div><div class="maintainer"><a href="/ui/search/?query=julienduchesne">Julien Duchesne</a></div><div class="maintainer"><a href="/ui/search/?query=fcojfernandez">Francisco Fernández</a></div><div class="maintainer"><a href="/ui/search/?query=raihaan">Raihaan Shouhell</a></div><div class="maintainer"><a href="/ui/search/?query=froblesmartin">Francisco Robles Martin</a></div></div><div class="sidebarSection"><h5>Help us improve this page!</h5>To propose a change submit a pull request to <a href="https://github.com/jenkinsci/ec2-plugin" rel="noopener noreferrer" target="_blank">the plugin page</a> on GitHub.</div><div class="sidebarSection"><div><h5>Previous Security Warnings</h5><ul class="security-warning-list"><li><h6><a href="https://jenkins.io/security/advisory/2017-12-06/">Arbitrary shell command execution vulnerability</a></h6><ul><li>Affects version 1.37 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2019-07-31/#SECURITY-673">Beginning of private key leaked in system log</a></h6><ul><li>Affects version 1.43 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2020-01-15/#SECURITY-1004">CSRF vulnerability and missing permission checks</a></h6><ul><li>Affects version 1.47 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1408">CSRF vulnerability</a></h6><ul><li>Affects version 1.50.1 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1528">Lack of SSL/TLS certificate and hostname validation</a></h6><ul><li>Affects version 1.50.1 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1844">Users with Overall/Read access can enumerate credentials IDs</a></h6><ul><li>Affects version 1.50.1 and earlier</li></ul></li><li><h6><a href="https://jenkins.io/security/advisory/2020-05-06/#SECURITY-381">Missing SSH host key validation</a></h6><ul><li>Affects version 1.50.1 and earlier</li></ul></li></ul></div></div></div></div></div><jio-footer githubRepo="" property="https://plugins.jenkins.io/" githubBranch="main" reportAProblemTemplate="4-bug.yml"></jio-footer></div></div><div id="gatsby-announcer" style="position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0" aria-live="assertive" aria-atomic="true"></div></div><script> window.dev = undefined if (window.dev === true || true) { window._paq = window._paq || []; window._paq.push(['setTrackerUrl', 'https://jenkins-matomo.do.g4v.dev/matomo.php']); window._paq.push(['setSiteId', '1']); window._paq.push(['enableHeartBeatTimer']); window.start = new Date(); (function() { var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://jenkins-matomo.do.g4v.dev/matomo.js'; s.parentNode.insertBefore(g,s); })(); if (window.dev === true) { console.debug('[Matomo] Tracking initialized') console.debug('[Matomo] matomoUrl: https://jenkins-matomo.do.g4v.dev, siteId: 1') } } </script><noscript><img src="https://jenkins-matomo.do.g4v.dev/piwik.php?idsite=1&rec=1&url=https://plugins.jenkins.io//ec2/" style="border:0" alt="tracker" /></noscript><script id="gatsby-script-loader">/*<![CDATA[*/window.pagePath="/ec2/";/*]]>*/</script><!-- slice-start id="_gatsby-scripts-1" --> <script id="gatsby-chunk-mapping" > window.___chunkMapping="{\"app\":[\"/app-b4fdd418d433e7615df4.js\"],\"component---src-pages-404-jsx\":[\"/component---src-pages-404-jsx-7e80fca415f6414faf44.js\"],\"component---src-templates-index-jsx\":[\"/component---src-templates-index-jsx-a306f41a55d1dd1ef576.js\"],\"component---src-templates-plugin-dependencies-jsx\":[\"/component---src-templates-plugin-dependencies-jsx-abac5dd31b94bc28ec58.js\"],\"component---src-templates-plugin-documentation-jsx\":[\"/component---src-templates-plugin-documentation-jsx-6781e0b1ce28c75ec828.js\"],\"component---src-templates-plugin-health-score-jsx\":[\"/component---src-templates-plugin-health-score-jsx-e305d9d25bab38ec80fd.js\"],\"component---src-templates-plugin-issues-jsx\":[\"/component---src-templates-plugin-issues-jsx-122938860f561ab2c9a9.js\"],\"component---src-templates-plugin-releases-jsx\":[\"/component---src-templates-plugin-releases-jsx-5fadd9f681f2670d8c08.js\"],\"component---src-templates-search-jsx\":[\"/component---src-templates-search-jsx-66441f05e1eae7a0a926.js\"],\"component---src-templates-tombstone-jsx\":[\"/component---src-templates-tombstone-jsx-da05f23b6dacb1c3b636.js\"]}"; </script> <script>window.___webpackCompilationHash="301c310574991dbaca3f";</script><script src="/webpack-runtime-44e7632edd83b56795f4.js" async></script><script src="/framework-e547aabdcd858de1462d.js" async></script><script src="/app-b4fdd418d433e7615df4.js" async></script><!-- slice-end id="_gatsby-scripts-1" --></body></html>