Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56443

EC2 plugin doesn't take into account 'shutdown mode' of Jenkins

    Details

    • Similar Issues:

      Description

      EC2 plugin didn't noticed that Jenkins is in Shutdown mode and continued started instances (because jobs were in queue) and stopping instances (because jobs weren't started again) and starting, and stopping them again, and on, and on...

       

      This caused $500 bill in Amazon over ~18 hours, because the instances were Windows (m5.xlarge), you pay for full hour and the timeout of inactive instances was set to 1 minute.

       

      Implementation suggestion: If Jenkins is in shutdown mode, don't start new instances.

        Attachments

          Activity

          prewriter prewriter created issue -
          prewriter prewriter made changes -
          Field Original Value New Value
          Description EC2 plugin didn't noticed that Jenkins is in _Shutdown mode_ and continued started instances (because jobs were in queue) and stopping instances (because jobs weren't started again) and starting, and stopping them again, and on, and on...

           

          This caused $500 bill in Amazon over ~18 hours, because the instances were Windows, you pay for full hour and the timeout of inactive instances was set to 1 minute.

           

          Implementation suggestion: If Jenkins is in shutdown mode, don't start new instances.
          EC2 plugin didn't noticed that Jenkins is in _Shutdown mode_ and continued started instances (because jobs were in queue) and stopping instances (because jobs weren't started again) and starting, and stopping them again, and on, and on...

           

          This caused $500 bill in Amazon over ~18 hours, because the instances were Windows (m5.xlarge), you pay for full hour and the timeout of inactive instances was set to 1 minute.

           

          Implementation suggestion: If Jenkins is in shutdown mode, don't start new instances.
          thoulen FABRIZIO MANFREDI made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          thoulen FABRIZIO MANFREDI made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              thoulen FABRIZIO MANFREDI
              Reporter:
              prewriter prewriter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: