- AWS NUS ISS account
- AWS Region: Singapore
- Navigate to the AWS services link top left corner beside the AWS logo
- Search/Select EC2 under the compute category
- Launch a new instance, search 'bitnami jenkins' on the marketplace
- Search 'bitnami jenkins' on AWS marketplace click on Select to create the instance
- On the next page a pricing details page will be shown. Click continue
- Choose an instance type which is t2 micro/small (free tier). Click Next Configure Instance details
- Landed on a configure instance details page and by default nothing is require to be configure on this page. Click Add Storage
- 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.
- 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
- Configure security group as default no addition configuration is needed on this page
- Upon launching the instance AWS require us to create a new pair of private key to be use to access the instance.
-
Review all the configuration and click on Launch
-
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
- Click on the instance id, the look out for instance status where it is running.
- 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>
- Upon logging into the EC2 instance, change directory to /home/bitnami
$ cd /home/bitnami
- 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.
- Retrieve ip4 public IP address or the DNS name from the AWS jenkins instance console panel
- Launch the web browser then access the jenkins web admin app.
- Login to Jenkins with the username and password retrieve from the bitnami credentials flat file
- Screenshot the jenkins dashboard page with the URL shown on the address bar. Save the screenshot to Luminus submission folder.