This is a continuation of CI CD process.

Please refer Part One and Part Two , before proceed this steps

Navigate to the Jenkins URL, and click on the Setup an agent


 



 

 

Create a node name as build-server, and select the Permanent Agent and click Ok

 

 


 

 

Navigate to the created Node , and set

Number of executor : for now assign 1

Remote root directory :               /home/ec2-user

Labels : beanstalk

Usage : Use this node as much possible

Launch method : Launch via ssh agent

Host : the IPv4 DNS of the build server

There will be no credential by default, click on Add and select Jenkins to create a new user

 


  







 Fill the details as given in the screen






To enter the private key , click on the add button

 

 


 

Open the build-server.pem file which we created in the earlier steps. Copy the content from that .pem file and paste here

 


 

Now select the credential , as we created one

Select Host key Verification strategy, and press Save.

 

 


 

 

You can see a new node with name build-server., has been created.

 

 


 

 

 Refer next step : Part Four