1. Homepage
  2. Exam
  3. [2021] COMP5349 Cloud Computing - Main Exam S1- Q2 Virtualization and Containerization

[2021] COMP5349 Cloud Computing - Main Exam S1- Q2 Virtualization and Containerization

This question has been solved
Engage in a Conversation

Question 2. Virtualization and Containerization (20 points) CourseNana.COM

Assume you want to set up two isolated Jupyter notebook environments and you are going to use container technology to implement that. The images you will use are: jupyter/r-notebook and jupyter/pyspark-notebook. You have designated directory on host file system for each container and would like to save notebooks developed inside containers on those directories. You should make assumptions on the actual directory you want to use for each container. Assume all required images have been pulled and stored locally. The basic command to run a container with bind mount option is as follows: CourseNana.COM

docker run --rm -p 10000:8888 -v "$PWD":/home/jovyan/work jupyter/r- notebook CourseNana.COM

You can use the –-name option to give a name to your container. You can also replace the "$PWD" option with an absolute path in your file system such as "/home/xyz123/c1". CourseNana.COM

1.     [2 points] Show the command to run a container based on jupyter/r-notebook, you should give the container a name and bind mounts a local directory into the container. CourseNana.COM

2.     [2 points] Describe how you can access the jupyter notebook server running on this container. CourseNana.COM

3.     [2 points] Show the command to list all processes running in this container. CourseNana.COM

4.     [4 points] Assume the first container is running, show the command to run a second container based on jupyter/pyspark-notebook. You should give the second container a different name and bind mounts a different local directory into the container. CourseNana.COM

5.     [2 points] Describe how you can access the jupyter notebook server on the second container. CourseNana.COM

6.     [2 points] Assume you create a new folder called "project" under "/home/jovyan" and develope a few notebooks in this folder inside this container, where can you locate those notebooks on your local file system? CourseNana.COM

7.     [6 points] Describe how you may achieve the isolated environment using virtualization techniques and highlight the difference between the two techniques using your own words. CourseNana.COM

  CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
The University of Sydney代写,COMP5349代写,Cloud Computing代写,The University of Sydney代编,COMP5349代编,Cloud Computing代编,The University of Sydney代考,COMP5349代考,Cloud Computing代考,The University of Sydneyhelp,COMP5349help,Cloud Computinghelp,The University of Sydney作业代写,COMP5349作业代写,Cloud Computing作业代写,The University of Sydney编程代写,COMP5349编程代写,Cloud Computing编程代写,The University of Sydneyprogramming help,COMP5349programming help,Cloud Computingprogramming help,The University of Sydneyassignment help,COMP5349assignment help,Cloud Computingassignment help,The University of Sydneysolution,COMP5349solution,Cloud Computingsolution,