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

Allow more than one cloud definition per region, to support multiple accounts using the same region.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • ec2-plugin
    • None

    Description

      Currently "... At most one EC2 cloud can be defined per region, as the region serves as the identifier for the cloud.". This restriction prevents one from defining multiple slaves spread across EC2 accounts, such as development and production for example, when both accounts are deploying instances in the same region.

      The API key is what identifies the cloud account on the EC2 side, so I'm curious why this restriction exists and am hopeful it can be removed? Thanks!

      Attachments

        Activity

          mattjamison Matt Jamison created issue -
          rsabitov Renat Sabitov added a comment - Should be fixed by https://github.com/jenkinsci/ec2-plugin/pull/132
          grayaii Alex Gray added a comment -

          Can this guy be merged in? We have a separate account for each environment (all us-east-1), so we would benefit from this fix tremendously! Thanks for fixing this!

          grayaii Alex Gray added a comment - Can this guy be merged in? We have a separate account for each environment (all us-east-1), so we would benefit from this fix tremendously! Thanks for fixing this!

          Code changed in jenkins
          User: Francis Upton
          Path:
          src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java
          src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly
          src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly
          src/main/resources/hudson/plugins/ec2/Messages.properties
          src/test/java/hudson/plugins/ec2/AmazonEC2CloudTest.java
          src/test/java/hudson/plugins/ec2/SlaveTemplateTest.java
          src/test/java/hudson/plugins/ec2/TemplateLabelsTest.java
          http://jenkins-ci.org/commit/ec2-plugin/cbe044e737c169ab2fc322000916d91853a5789a
          Log:
          Merge pull request #132 from sirca/feature/multiple-clouds-per-region

          JENKINS-24359: Overcoming limit of one cloud per region.

          Compare: https://github.com/jenkinsci/ec2-plugin/compare/1ba2206f4345...cbe044e737c1

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton Path: src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly src/main/resources/hudson/plugins/ec2/Messages.properties src/test/java/hudson/plugins/ec2/AmazonEC2CloudTest.java src/test/java/hudson/plugins/ec2/SlaveTemplateTest.java src/test/java/hudson/plugins/ec2/TemplateLabelsTest.java http://jenkins-ci.org/commit/ec2-plugin/cbe044e737c169ab2fc322000916d91853a5789a Log: Merge pull request #132 from sirca/feature/multiple-clouds-per-region JENKINS-24359 : Overcoming limit of one cloud per region. Compare: https://github.com/jenkinsci/ec2-plugin/compare/1ba2206f4345...cbe044e737c1
          francisu Francis Upton made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157280 ] JNJira + In-Review [ 207984 ]

          People

            francisu Francis Upton
            mattjamison Matt Jamison
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: