Skip to content

Latest commit

 

History

History
124 lines (92 loc) · 4.5 KB

workshop1.md

File metadata and controls

124 lines (92 loc) · 4.5 KB

S-DOEA - Workshop 2 - Jenkins Installation

Pre-requisites for Cloud installation

  • AWS NUS ISS account
  • AWS Region: Singapore

Step by step installation

  1. Navigate to the AWS services link top left corner beside the AWS logo


  1. Search/Select EC2 under the compute category
  2. Launch a new instance, search 'bitnami jenkins' on the marketplace


  1. Search 'bitnami jenkins' on AWS marketplace click on Select to create the instance

  1. On the next page a pricing details page will be shown. Click continue


  1. Choose an instance type which is t2 micro/small (free tier). Click Next Configure Instance details


  1. Landed on a configure instance details page and by default nothing is require to be configure on this page. Click Add Storage


  1. On the configure storage page change 10GB to 15GB. Try not add more mount point overall AWS only give 30GB per instance on free tier.


  1. Define a tag for your jenkins server click add tag on the key field specify 'name' and value as 'project_name_ubuntu_jenkins'. Click Next


  1. Configure security group as default no addition configuration is needed on this page


  1. Upon launching the instance AWS require us to create a new pair of private key to be use to access the instance.


  1. Review all the configuration and click on Launch

  2. After creating the private key, a new instance will be launch. Kindly wait for a few minutes. Upon successful creation of the instance your instance is now ready to be use



  1. Click on the instance id, the look out for instance status where it is running.


  1. Use Git Bash on your local environment to log into the newly created server. Ensure to replace the placeholder with the corresponding values enclosed in <>
$ ls -lrt <location of your pem filename>
$ chmod 400 <location of your pem filename>
$ ssh -i <location of your pem filename> bitnami@<AWS jenkins server Public IP>

  1. Upon logging into the EC2 instance, change directory to /home/bitnami
$ cd /home/bitnami 
  1. Look for the username and password under the bitnami_credentials file. View the bitnami_credentials file with the following command
more bitnami_credentials

As result the more command will show the default username and password on your terminal screen

Welcome to the Bitnami Jenkins Stack

******************************************************************************
The default username and password is 'user' and 'Dh9b6mi4AQOF'.
******************************************************************************

You can also use this password to access the databases and any other component the stack in
cludes.

Please refer to https://docs.bitnami.com/ for more details.
  1. Retrieve ip4 public IP address or the DNS name from the AWS jenkins instance console panel


  1. Launch the web browser then access the jenkins web admin app.


  1. Login to Jenkins with the username and password retrieve from the bitnami credentials flat file


  1. Screenshot the jenkins dashboard page with the URL shown on the address bar. Save the screenshot to Luminus submission folder.