Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 3.31 KB

Lab01.md

File metadata and controls

58 lines (49 loc) · 3.31 KB

Lab 1:

Basic "Knowledge Toolbox" to getting started in the Cloud

In this Lab session you will be asked to put in practice the basic knowledge required for Labs of this course.

Pre-lab homework 0

Have a look of these following hands-on to check if you have the basics to follow this course. If not do it.

Pre-lab homework 1 (optional)

Create an AWS account following the following hands-on:

Tasks of Lab 1

Task 1.1:

Install Python in your local laptop.

Task 1.2:

Create a python code that uses the “random” library. We will value positively if you build a creative program in python. The minimum example accepted will be a code that generates a random number between 1 and 20. Then let the player guess the number introduced, displaying if the number is to low or high. The game ends either when the number is guessed correctly. The suggested program name is Lab1.guessnumber.py.

Task 1.3:

Create a private repository CLOUD-COMPUTING-COURSE-2017 in your github account (use you student email (".upc.edu") for creating your github account in order to have private repositories or benefits as student pack).

Task 1.4:

Update your remote repository from your local repository on your laptop:

echo "# CLOUD-COMPUTING-COURSE-2017" >> README.md
git init
git add README.md
git add Lab1.guessnumber.py
git commit -m "first commit"
git remote add origin https://github.com/jorditorresBCN/CLOUD-COMPUTING-COURSE-2017.git
git push -u origin master

change jorditorresBCN with your github account

Task 1.5:

Update the README.md file including all the information of your group (member's name and emails).

Task 1.6:

Invite JordiTorresBCN to your remote private repository as a collaborator using settings button (for evaluation purpose).

Task 1.7: (optional)

Create a AWS instance EC2. Pull down all the contents of your github repository making an exact clone using git clone command.

Task 1.8: (optional)

Execute the program Lab1.guessnumber.py in your AWS instance. Take an screenshot of the xterm that are you using as a proof. Include this screenshot in your local repository on your laptop with the name Lab1.AWSterminal.png.

Task 1.9: (optional)

Update your remote github repository with the updated README.mdand the new file Lab1.AWSterminal.png using the gitcommands add, commit and push.

How to Submit this Assignment:  

Submit before the deadline to the RACO Practicals section a "Lab1.txt" file including:

  1. Group number
  2. name and email of the members of this group
  3. github url that contains your lab answers
  4. indicate if you did or not the optional task and why
  5. add any comment that you consider necessary.