Connecting non-VPC EC2 nodes as executors to the PSE cluster in VPC

Issue

  • Connect existing EC2 nodes that are not in any VPC to the Jenkins masters within the PSE infrastructure which is in VPC.

Environment

  • CloudBees Jenkins Enterprise (CJE)

Resolution

Customization of the VPC settings does not currently suppurted beyond what you can enter in the initial configuration
file that it explaned in AWS-Specific Configuration Attributes.

You need to use JNLP slaves for the connection of external nodes to PSE that it will connect them to the Jenkins master
or declare them as shared JNLP slaves in CJOC.

In order to be able to use JNLP slaves, you have to open JNLP ports on the workers to those EC2 slaves.
If you can not open the JNPL ports for each IP address, then you can either recreate the cluster or put those JNLP slaves within the VCP.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.