https://wiki.jenkins.io/display/JENKINS/Distributed+builds describes the alternatives available and the reasons for those alternatives.
If your local machine is not directly accessible to your EC2 master or if it is a Windows computer, then you are likely unable to initiate the connection from the master to the agent. That means you can't use the ssh-slaves connection technique. You'll likely need to use the JNLP based technique that allows you to initiate a connection from the agent to the master. On Fri, Oct 11, 2019 at 6:14 AM gopi dasari <[email protected]> wrote: > HI All, > > I am very new to Jenkins, > > I want to create my local machine as a slave for aws ec2 cloud Jenkins to > run the jobs. anyone please help me how to create a slave machine to ec2 > jenkins-master. > > > > [image: jenkins master-slave.png] > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/69d8b34e-959e-4ec2-848e-12a46fdbd829%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/69d8b34e-959e-4ec2-848e-12a46fdbd829%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFTeTVUN4FMCRPxsi4nEfsmWwgdVMcDk99bJ4Y8mfcZhQ%40mail.gmail.com.
