Professional Documents
Culture Documents
ITECH 2201 Cloud Computing - Week 4 - Tutorials
ITECH 2201 Cloud Computing - Week 4 - Tutorials
Week 4 Tutorials
In this week you will install the web server in the created instance. Step-by-step instructions are given
below to install the web server. As you walk through the steps you are required to answer few questions that
follow the step, which test your understanding about Nectar cloud. If you need help ask your tutor.
Instance Details
1. Before installing the web server, it is important to know the intricacies about the instance you have
created.
You get to see the “Instance Overview” of your instance – based on the displayed details answer the
following questions.
b. What is the maximum size Flavor you can have as your instance and how many?
ANS:
c. What is ephemeral disk? What is the size of your ephemeral disk? – You can get your
answer from http://support.rc.nectar.org.au/docs/storage
ANS: Data on the secondary drive does not get saved in a snapshot, and requires other
techniques to make a backup. Other forms of storage can be used such as the Object Store
within the Research Cloud or external locations.
d. What is the name of your image? What is the CPU used in your image? – You can get your
answer from https://wiki.rc.nectar.org.au/wiki/Image_Catalog
ANS: name: NeCTAR Ubuntu 12.04.4 (Precise)
Cpu: amd64
e. What information you see under “Security Groups”? What does it mean?
ANS: default means no rules find
Instance Console
It takes some time (few minutes) to see the console – it is similar to booting/starting a PC.
Therefore, wait until you see the following screed shot:
If it takes longer than expected – you can force reboot by clicking “Send CtrlAltDel”.
a. What is the username for your image? – See your answer for question “d” in step 1 in this
tutorial you can also get the username from the same link.
Ans: : NeCTAR Ubuntu 12.04.4 (Precise)
Once you see the above screen type the username as given in
https://wiki.rc.nectar.org.au/wiki/Image_Catalog for your image.
The above command is used to update the image with any latest updates – whenever you are
prompted with “Y or n” just type “Y” and proceed. Once finished the cursor will be in the
command prompt again.
The above command will install the apache webserver – whenever you are prompted with “Y
or n” just type “Y” and proceed. Once finished the cursor will be in the command prompt
again.
We have to check whether the install web server is running successfully, to do that type the
following command:
The above command installs curl – a powerful tool to transfer data from or to a server.
curl http://127.0.0.1
The above command validates whether the server is running by sending http request to the
IP address 127.0.0.1.
If you see the following output – it means your server is running and certainly you have installed a
web server successfully. The displayed output is a simple html file from the web server.
Now, we have to check whether we can access the same web page from the web server through our
browser. Open any browser and type the IP address of your instance. Please note all the domain
names (gmail.com, yahoo.com etc.) simply represent the IP address of the web server. So, by typing
IP address of the instance in the browser you should be able see the web page it serves.
b. Do you able to see any web page? If not, what could be the issue? Explain.
Hint: What protocol we need to use in order to browse the web page? And also, check the
“Security Groups” from “Instance Overview” (check your answer for “e” in step 1). You
should be able to fix this easily.
Complete the above questions and upload your work on Moodle. Please note your lecture quiz and
the final exam will have questions from the tutorials well. You are encouraged to discuss your
answer with your Tutor before uploading your work.