grid and cloud computing dr. guy tel-zur. /larry-ellison-cloud-computing/ ...
TRANSCRIPT
![Page 1: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/1.jpg)
Grid and Cloud Computing
Dr. Guy Tel-Zur
![Page 2: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/2.jpg)
http://techcrunch.com/2012/05/30/larry-ellison-cloud-computing/
![Page 3: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/3.jpg)
Today’s agenda
• Administration:– Home assignment– Midterm exam– Final Projects– AWS, next week lab.
![Page 4: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/4.jpg)
Today’s agenda
• New material:– Globus Provision– Cloud Foundry– OpenStack – StackOps– StackIQ– More clouds….
![Page 5: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/5.jpg)
![Page 6: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/6.jpg)
![Page 7: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/7.jpg)
![Page 8: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/8.jpg)
cloud.call(…)
cloud.status()
Status Meaning
queued Job is in a queue on the server waiting to be run.
processing Job is running.
waiting Job is waiting until its dependencies are satisfied.
done Job completed successfully.
error Job errored (typically due to an uncaught exception).
killed Job was aborted by the user.
stalled Job will not run due to a dependency erroring.
![Page 9: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/9.jpg)
cloud.map() mimics the built-in python map function. The basic built-in map function is:added2 = map(lambda x: x+2, an_iterator) Which is equivalent to:added2 = [x+2 for x in an_iterator]
![Page 10: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/10.jpg)
The cloud.files interface is quite simple:cloud.files.put(): Store a file on PiCloud’s S3 store.cloud.files.get(): Retrieve a file stored on PiCloud’s S3 store.cloud.files.delete(): Delete a file stored on PiCloud’s S3 store.Example:#This code below can run both locally or in a job running on Picloud cloud.files.put('names.txt') #put names on the Cloud cloud.files.get('names.txt','names2.txt') #retrieve names.txt from the Cloud and store it as names2.txt cloud.files.delete('names.txt') #remove file
Files…
![Page 11: Grid and Cloud Computing Dr. Guy Tel-Zur. /larry-ellison-cloud-computing/ /larry-ellison-cloud-computing](https://reader036.vdocuments.net/reader036/viewer/2022082820/56649f4c5503460f94c6d0c3/html5/thumbnails/11.jpg)
Calculating π
http://docs.picloud.com/basic_examples.html#basic-examples