Building Jenkins on AWS

Installation Steps :
1. Please launch an Amazon Linux instance using Amazon Linux AMI.
2. Login to your Amazon Linux instance.
3. Become root using “sudo su -” command.
4. Update your repositories
# yum update


Get Jenkins repository using below command
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo


Get Jenkins repository key
rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key

Install jenkins package
# yum install Jenkins
 

 
Start jenkins and make sure it starts automatically at system startup
# service jenkins start

# chkconfig jenkins on
 

 
# Edit AWS instance security group and allow your public IP to reach Jenkins server.
 

 
Open your browser and navigate to http://<Elastic-IP>:8080. You will see jenkins dashboard.
 
 
That’s it. You have your jenkins setup up and running. Now, you can create jobs to build the code.


Comments

Popular posts from this blog

AWS RDS STOP & START

Double-Take Move For Windows

Scheduling Elastic Block Storage (EBS) Snapshots with AWS Lambda