Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-3101

Use AWS Spot Instances for ci.jenkins.io EC2 agents

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:

      Description

      Why

      Read the EPIC (AWS cost decrease)

      What

      As per a reminder from Jesse Glick (:hearth:)in the parent EPIC, we could decrease the cost of agent by using Spot instances on AWS EC2.

      How

        Attachments

          Activity

          Hide
          dduportal Damien Duportal added a comment -
          Show
          dduportal Damien Duportal added a comment - Ensure that ci.jenkins.io's AWS credential are allowed to bid Spot instances: https://github.com/jenkins-infra/aws/pull/36 (tl;dr; use a new user, rotate AWS credentials and apply the correct IAM policy)
          Hide
          dduportal Damien Duportal added a comment - - edited
          • First manual test is successfull on high mem \o/
          • https://github.com/jenkins-infra/aws/pull/38
          • EC2 plugin contribution to do:
            • Add the missing Spot IAM authroization
            • Warning that Spot blocks are deprecated in the UI
            • Update doc for telling that JNLP is managed out of the box
            • Ability to fallback to on-demand instance
          Show
          dduportal Damien Duportal added a comment - - edited First manual test is successfull on high mem \o/ https://github.com/jenkins-infra/aws/pull/38 EC2 plugin contribution to do: Add the missing Spot IAM authroization Warning that Spot blocks are deprecated in the UI Update doc for telling that JNLP is managed out of the box Ability to fallback to on-demand instance
          Show
          dduportal Damien Duportal added a comment - https://github.com/jenkins-infra/jenkins-infra/pull/1956 to enable spot on all EC2 https://github.com/jenkins-infra/jenkins-infra/pull/1957 to use the new credential

            People

            Assignee:
            dduportal Damien Duportal
            Reporter:
            dduportal Damien Duportal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: