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

Jenkins EC2 plugin is not able to launch Windows Slaves in AWS

XMLWordPrintable

      https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin

      I followed the guidelines for setting up Windows AMI. While I can see that the EC2 is launched in AWS, the instance is not able to connect to master as slave. logs show something like

      'waiting for Windows RM ... going to sleep ..'

      Notes for Windows AMI:
      EC2 Windows slaves are accessed with CIFS (to send the initial Jenkins slave.jar) and WinRM to launch and connect to the slave afterward. This windows AMI must be configured with:

      a security group allowing SMB over TCP (incoming TCP port 445) and WinRM (incoming TCP port 5985)
      windows firewall should allow incoming SMB over TCP
      java should be installed and available in the %PATH%
      WinRM should be enabled with the following commands (for more information see: Microsoft article 555966):
      winrm quickconfig
      winrm set winrm/config/service/Auth @

      {Basic="true"}

      winrm set winrm/config/service @

      {AllowUnencrypted="true"}

      winrm set winrm/config/winrs @

      {MaxMemoryPerShellMB="1024"}

            francisu Francis Upton
            arazasplunk Ali Raza
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: