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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ec2-plugin
    • Jenkins 2.150.2

      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.

          [JENKINS-56443] EC2 plugin doesn't take into account 'shutdown mode' of Jenkins

          prewriter created issue -
          prewriter made changes -
          Description Original: 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.
          New: 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.
          FABRIZIO MANFREDI made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          FABRIZIO MANFREDI made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: