Repository files navigation Installing Jenkins on Amazon Linux AMI
Create an IAM role for EC2 instance.
Launch new EC2 instance
Select Amazon Linux AMI
Select instance size (t2.micro/t2.small should be enough)
Configure details. Select IAM role created in first step
Create Storage
Add tags. e.g. Name: jenkins
Configure Security Group
Select name for the security group, e.g. jenkins
Add rule for SSH: port 22 and HTTP: port 80
Review and launch
Choose existing key-pair or create new
When the instance is up connect with SSH (right click instance in the list and select connect for more details)
Run wget https://raw.githubusercontent.com/laardee/jenkins-installation/master/install.sh && sudo chmod 755 install.sh && sudo ./install.sh
Snippet downloads install.sh
Changes downloaded file permissions
Runs the downloaded script
After Jenkins has started, run sudo cat /var/lib/jenkins/secrets/initialAdminPassword for initial admin password
Select instance in AWS console, select description and find Public DNS (IPv4) in Description tab
Open Jenkins in browser and insert initial admin password when asked
Continue with Jenkins installation wizard
About
Jenkins installation instructions for Amazon Linux AMI
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.