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

Option to set Zone as well as region for instance creation

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Instances in the same zone have much better performance when communicating between each other. It would be useful to be able to set the zone you wish an instance to start in as well as the region. At least they end up on the right side of the world at the moment but same server farm would be even more useful.

      region: eu-west
      zone: eu-west-1b

      for instance

        Attachments

          Activity

          Hide
          francisu Francis Upton added a comment -

          This is actually critically important if you want to attach an EBS volume to the EC2 instance. Since you can't control the zone in starting the instance, you will likely have a situation were the instance is not in the same zone as the EBS volume you want to attach to it.

          Show
          francisu Francis Upton added a comment - This is actually critically important if you want to attach an EBS volume to the EC2 instance. Since you can't control the zone in starting the instance, you will likely have a situation were the instance is not in the same zone as the EBS volume you want to attach to it.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Francis Upton IV
          Path:
          src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java
          src/main/java/hudson/plugins/ec2/AwsRegion.java
          src/main/java/hudson/plugins/ec2/EC2Cloud.java
          src/main/java/hudson/plugins/ec2/EC2Computer.java
          src/main/java/hudson/plugins/ec2/EC2Slave.java
          src/main/java/hudson/plugins/ec2/PluginImpl.java
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly
          src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly
          src/main/resources/hudson/plugins/ec2/EC2Slave/help-zone.html
          src/main/resources/hudson/plugins/ec2/Messages.properties
          src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
          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/f0e542fa9b2c6e4f112294b92145afd4e04eadd9
          Log:
          [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation [FIXED JENKINS-11953] Dynamically local AWS regions

          Compare: https://github.com/jenkinsci/ec2-plugin/compare/19c419b...f0e542f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton IV Path: src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java src/main/java/hudson/plugins/ec2/AwsRegion.java src/main/java/hudson/plugins/ec2/EC2Cloud.java src/main/java/hudson/plugins/ec2/EC2Computer.java src/main/java/hudson/plugins/ec2/EC2Slave.java src/main/java/hudson/plugins/ec2/PluginImpl.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly src/main/resources/hudson/plugins/ec2/EC2Slave/help-zone.html src/main/resources/hudson/plugins/ec2/Messages.properties src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly 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/f0e542fa9b2c6e4f112294b92145afd4e04eadd9 Log: [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation [FIXED JENKINS-11953] Dynamically local AWS regions Compare: https://github.com/jenkinsci/ec2-plugin/compare/19c419b...f0e542f
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_ec2 #60
          [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation [FIXED JENKINS-11953] Dynamically local AWS regions (Revision f0e542fa9b2c6e4f112294b92145afd4e04eadd9)

          Result = SUCCESS
          francis :
          Files :

          • src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java
          • src/main/java/hudson/plugins/ec2/EC2Slave.java
          • src/test/java/hudson/plugins/ec2/SlaveTemplateTest.java
          • src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          • src/main/resources/hudson/plugins/ec2/EC2Slave/help-zone.html
          • src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly
          • src/main/java/hudson/plugins/ec2/AwsRegion.java
          • src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
          • src/main/java/hudson/plugins/ec2/EC2Computer.java
          • src/main/resources/hudson/plugins/ec2/Messages.properties
          • src/test/java/hudson/plugins/ec2/TemplateLabelsTest.java
          • src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly
          • src/test/java/hudson/plugins/ec2/AmazonEC2CloudTest.java
          • src/main/java/hudson/plugins/ec2/EC2Cloud.java
          • src/main/java/hudson/plugins/ec2/PluginImpl.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_ec2 #60 [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation [FIXED JENKINS-11953] Dynamically local AWS regions (Revision f0e542fa9b2c6e4f112294b92145afd4e04eadd9) Result = SUCCESS francis : Files : src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java src/main/java/hudson/plugins/ec2/EC2Slave.java src/test/java/hudson/plugins/ec2/SlaveTemplateTest.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/EC2Slave/help-zone.html src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly src/main/java/hudson/plugins/ec2/AwsRegion.java src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly src/main/java/hudson/plugins/ec2/EC2Computer.java src/main/resources/hudson/plugins/ec2/Messages.properties src/test/java/hudson/plugins/ec2/TemplateLabelsTest.java src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly src/test/java/hudson/plugins/ec2/AmazonEC2CloudTest.java src/main/java/hudson/plugins/ec2/EC2Cloud.java src/main/java/hudson/plugins/ec2/PluginImpl.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Francis Upton IV
          Path:
          src/main/java/hudson/plugins/ec2/EC2Slave.java
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly
          http://jenkins-ci.org/commit/ec2-plugin/9e89c6c1914253693be02f5feb3f1e9228863a71
          Log:
          [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation (removed zone from slave instance)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton IV Path: src/main/java/hudson/plugins/ec2/EC2Slave.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly http://jenkins-ci.org/commit/ec2-plugin/9e89c6c1914253693be02f5feb3f1e9228863a71 Log: [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation (removed zone from slave instance)
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_ec2 #61
          [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation (removed zone from slave instance) (Revision 9e89c6c1914253693be02f5feb3f1e9228863a71)

          Result = SUCCESS
          francis :
          Files :

          • src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly
          • src/main/java/hudson/plugins/ec2/EC2Slave.java
          • src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_ec2 #61 [FIXED JENKINS-8946] Option to set Zone as well as region for instance creation (removed zone from slave instance) (Revision 9e89c6c1914253693be02f5feb3f1e9228863a71) Result = SUCCESS francis : Files : src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly src/main/java/hudson/plugins/ec2/EC2Slave.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              wselwood william selwood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: