The Gluster Blog

Gluster blog stories provide high-level spotlights on our users all over the world

Setup a jenkins/git build server on EC2/RHEL


First, create your AMI and make sure that you’ve set up “security groups” to allow for an open HTTP 8080 port as described here.

Now, ssh into your AMI, and do the following:

#First make sure and install javac – its probably not on the machine from the beggining.
 yum install java-1.6.0-openjdk-devel

#Resize the filesystem to be as big as possible – this is for fresh AMIs.  Sometimes, for some reason , the filesystems are small. 

#install jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo
sudo rpm –import
sudo yum install jenkins
service jenkins start

#make sure its internally accessible/running before testing the external access by wgetting the jenkins home page:
cat index.html <– you should see something here 🙂

#stop iptables so that you can see the jenkins build server pages outside of ec2.
/etc/init.d/iptables stop

Now you should be able to go to on your local browser and see the jenkins home page 🙂

Next , set up your accounts permissions so that users can create accounts for themselves (temporary for a couple of minutes, and then deselect the “allow users to sign up” checkbox).

Yay ! Now you have a jenkins build server with accounts. 


  • 06 Dec 2020
    Looking back at 2020 – with g...

    2020 has not been a year we would have been able to predict. With a worldwide pandemic and lives thrown out of gear, as we head into 2021, we are thankful that our community and project continued to receive new developers, users and make small gains. For that and a...

    Read more
  • 27 Apr 2020
    Update from the team

    It has been a while since we provided an update to the Gluster community. Across the world various nations, states and localities have put together sets of guidelines around shelter-in-place and quarantine. We request our community members to stay safe, to care for their loved ones, to continue to be...

    Read more
  • 03 Feb 2020
    Building a longer term focus for Gl...

    The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...

    Read more