let's have a look how you can configure Jenkins on AWS Ec2. If you were already installed Jenkins on your Amazon Ec2 instance follow the below step by step Guide.
And If you are not installed and do you need little bit of assistance how you can do check this video guide Jenkins Installation on Amazon Ec2.
Follow this step by step Guide and do the same.
1. After Jenkins installation on your Amazon Ec2 , we need to change security group-Inbound-edit
Add Rule
All TCP as type & Anywhere as source.
2. To connect Jenkins Server type the below URL from your favorite browser ( recommended chrome).
Example
http://your server public DNS:port number
http://ec2-15-206-124-243.ap-south-1.compute.amazonaws.com:8080/
http://ec2-15-206-124-243.ap-south-1.compute.amazonaws.com:8080/
3. Then you should go-to the directory where you have got the initial setup password for your Jenkins Server to unlock. And If you find any difficulty check this for your reference click here.
- sudo su -
- cd /var/lib/jenkins/secrets
- cat initialAdminPassword
- Copy password and enter browser for unlocking jenkins.
4. After entering the password you will get customize Jenkins by selecting Install Suggested Plugins.
5. Once you are done with plugins next screen you will get Create First Admin User with the following fields.
- Username
- Password
- Confirm password
- Full name
- E-mail address
6. Next you will get Instance Configuration ( leave as it is ) and click save and Finish.
7. Jenkins is ready and start using practicing on you own.
8. Suppose you need any additional plugins to be installed on the left hand side click Manage Jenkins and then Manage Plugins. From search bar you can search and install which is useful for you.
Conclusion:
We'll learn how to configure Jenkins server on Amazon Ec2 and for more updates keep watching this space.