1/69
5th Slide Set: SaaS
18.1
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
2/79
Current Situation
Software as a Service (SaaS) Provider runs web applications Customers only need a browser
Platform as a Service (PaaS)
Provider run scalable runtime environment(s) Customers run their own web applications in the infrastructure of the service provider
Infrastructure as a Service (IaaS)
Provider runs physical servers Customers run VMs with (almost) any operating systems and unmodified applications
Customers have administrator privileges in their VMs and define the firewall rules themselves
18.2
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Software Service Examples
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
3/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
(Free) solutions for building software services exist since > 10 years
Web server: Apache HTTP server, nginx,. . .
Application server for web applications: Apache Tomcat (Java), JBoss (Java), Zope (Python)
Scripting language for dynamic web pages: PHP
Software services exist longer than the term „Cloud Computing“
18.3
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
4/79
Opportunities and Risks
Current Situation
Principle of crowdsourcing
Human creativity is offered for low cost or donated from volunteers Interesting for. . .
Low-skilled jobs
Activities, which a computer cannot to, or requires an unreasonably high development time
Possible applications are among others:
Image recognition
Personal Perspective (subjective) reviews for products Translations
(Product) assignments to (product) categories
Examples of public Cloud HuaaS
Investigation of the British expenses scandal by The Guardian in 2009 GutenPlag, VroniPlag
Marketplace for HuaaS: Amazon Mechanical Turk
In the private Cloud area: HuaaS does not take place
18.4
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
5/79
Current Situation
Christian Papsdorf. Wie Surfen zu Arbeit wird. Campus (2009)
Consumer Write reviews, develop ideas, create logos,. . .
These value-adding activities are of high economic significance
Companies use the internet culture (participation, engagement,
self-realization,. . . ) to let the users mostly work for free
Why do the consumers accept this and work for free?
18.5
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
6/79
Opportunities and Risks
Current Situation
On April 1st 2011, Henkel launched a crowdsourcing campaign
Despite the date, it was no joke!
Everyone was able to crate a new design proposal for the 600ml bottle at http://mein.pril.de
There were material prizes to win
The two best designs should go on sale for a short time Users of Facebook were able to vote their favorite Huge feedback: > 30,000 proposals were submitted
18.6
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
7/79
Opportunities and Risks
Current Situation
Not all proposals matched Henkel’s expectation
After a short time, 2 proposals of Peter Breuer (a professional advertising copywriter) became favorites
The chicken proposal was ranked 1st place with several thousand votes ahead 2nd place
Reaction of Henkel: They changed the rules
Now, proposals needed to be previously evaluated and release by a jury
Only after the jury evaluation, the users were allowed to vote for the proposal
Result: Wave of anger
18.7
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Pril Competition – Manipulation of the Outcome
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
8/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Things got even worse
Henkel erased comments of angry users Henkel massively reduced the number of votes of several designs
Henkel stated they just „cleaned up“ the results
From this time, the affair went through the press
=⇒ Bad public relations work
Source: Jörg Breithut. Virale Werbefallen – Pril schmeckt nach Hähnchen. 12.4.2011
http://www.spiegel.de/netzwelt/web/0,1518,756532,00.html
Things do not necessarily need to end like this. . .
18.8
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
9/79
Opportunities and Risks
Current Situation
Otto organized a „model montest“ in 2010
The winner with the most votes was planned to become the new face of the Facebook fan page
Winner against 48,488 other participants: „Der Brigitte“ (Sascha Mörs)
A 22 years old business administration student from FH Koblenz
Otto was not unhappy about the result
Approximately 1.2 million votes were submitted
=⇒ Great public relations work
18.9
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Amazon’s Mechanical Turk – Cloud Marketplace
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
10/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
March 8th, 2006 – Sam Williams
Pennies for Web Jobs
Speaking to a room filled with Internet developers at the O’Reilly Emerging Technology Conference in San Diego this week, Luis Felipe Cabrera, Amazon’s vice president of software development, outlined a project to harness human intelligence for tasks that computers can’t handle well, such as recognizing objects in images.
The backbone of the plan is a Web-services platform called Mechanical Turk. It uses an auction-style system to farm out complex tasks – complex for a computer, that is – such as recognizing the difference between a human face and a nearby bush, or accurately transcribing an audio recording. Cabrera likes to call the platform „artificial artificial intelligence“ – it’s computers asking humans to do tasks, rather than the other way around.
Image source: Google image search
18.10
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Another Crowdsourcing Marketplace – Samasource
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
11/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Founded in 2008
Nonprofit project, which gives digital work to people in developing countries
Workers are in Haiti, India, Kenya, Pakistan, South Africa and Uganda
In these countries, school education includes for historical reasons a good basic education in the English language
But these countries don’t have enough jobs
Infrastructure is financed from donations
Donors are among others the Rockefeller Foundation and Google
Wages of about $300 are low from a European perspective, but in developing countries this is a desirable monthly income
Example for a customer: Ask.com
Up to 50,000 requests from Ask.com are processed per month
18.11
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Google Cloud Print Image source: Google
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
12/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Provides printing via the Cloud
Internet enabled devices such as netbooks, touchpads and mobile phones get more and more popular
Connection of local printers is difficult
Printer drivers are missing
Some devices lack enough resources Several operating systems (iOS, Android, Windows Phone, Blackberry. . . ) exist
Solution: Google Cloud Print (https://developers.google.com/cloud-print/) HP and Samsung offer compatible printers
Via an e-mail address, the devices can be identified and added as a Cloud printer inside Chrome OS
The user sends his document to be print to the service, sets the printer settings and receives a feedback about the successful job execution
18.12
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Google Cloud Print (2 Types of Printers)
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
13/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Google Cloud Print compatible network printer
The printer is registered at the Service Print jobs are sent to a service
The service prepares the print job and forwards it to the printer
Legacy printer (not compatible with Google Cloud Print)
Locally attached printer (USB) or network printer A proxy is installed on a local PC
The proxy registers the printer and sends print jobs to the service
Prepared print jobs are sent via the proxy to the printer
Drawback: The proxy computer must be switched on for printing
18.13
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Cloud Gaming (1/4)
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
14/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Cloud gaming services make high-end video games available on low-end devices (older PCs, TVs, mobile phones)
The video games run at the servers of the provider The users’ devices are only used to display the games
The video output is transmitted as a compressed video stream User input is sent to the provider and processed there
18.14
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Cloud Gaming (2/4)
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
15/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Drawback: The required compression reduces the optical quality
Problem: The network latency must be low because the user input is transmitted to a remote server and processed there
Period between the user input and results on the local display must be small in order not to disrupt the game flow
Positive side effect for the providers: Pirate copies are impossible
18.15
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Cloud Gaming (3/4) – Providers
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
16/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Available in the U.S. between June 17th 2010 and April 30th 2015
Requirements:
Network link with low latency and < 1000 km distance to the OnLive data center used
The service itself is no longer available
Available since February 27th 2011
July 2012: Sony buys Gaikai for $380 million
Is used to stream PS3 games to the PS4 and PC The service itself is no longer available
18.16
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Cloud Gaming (4/4) – Nvidia Shield Image source: NVIDIA
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
17/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
http://shield.nvidia.com/ Announced at CES January 2013 Available since Q2 2013
Android based
Set top box for TV
Offers 4K TV shows and movies Also as tablet and portable version
18.17
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
18/79
Current Situation
18.18
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Cloud Operating Systems
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
19/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks Current Situation
Web desktops are also called Cloud operating systems
Most popular product: eyeOS
Last free software version: v2.5 (2011) https://en.wikipedia.org/wiki/EyeOS GNU Affero General Public License https://github.com/jonrandoem/eyeos Since 2014 a part of Telefónica
The operating system, all installed applications and the user data are located on the servers of the provider
The users only need a browser and internet access
The term Cloud operating system is misleading here
For using a Cloud operating system, a computer with a browser and therefore with an operating system too is required
The native operating system is not replaced
Only the applications and user data are outsourced
18.19
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Prof. Dr. Christian Baun – 3rd Slide Set Cloud Computing – Frankfurt University of Applied Sciences – SS2019
20/79
Cloud Computing SaaS, PaaS and IaaS Opportunities and Risks
Current Situation
Cloud Cooking – the Future ?!
Image source: Heise Zeitschriften Verlag
18.20
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Snowflake SaaS Data Cloud
18.21
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Snowflake Architecture Overview
18.22
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Compute–Storage Separation
18.23
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Data Flow in Snowflake
18.24
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Virtual Warehouses
18.25
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Semi‑Structured Data
18.26
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Security & Governance
18.27
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Performance Optimization
18.28
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Common Use Cases
18.29
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Learning Path
18.30
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Snowflake on AWS – Enterprise Overview
18.31
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
AWS Data Pipeline Integration
18.32
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
AWS Security Architecture
18.33
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Enterprise Best Practices
18.34
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Mastering the Snowflake CLI
Modern Developer Workflows for the Data Cloud
Content:
18.35
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
What is Snowflake CLI?
18.36
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Installation and Setup
Bash
snow --version snow –help
Ini, TOML
[connections.my_conn] account = "orgname-accountname" user = "username" password = "password" role = "ACCOUNTADMIN" warehouse = "COMPUTE_WH"
18.37
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Project Definition (snowflake.yml)
18.38
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Developing Snowpark & Streamlit
18.39
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Advanced Features & Automation
18.40
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Use case
Netflix
Industry Challenge
Snowflake Use Case
Business Impact
18.41
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Pfizer
Industry Challenge
Snowflake Use Case
Business Impact
18.42
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
Pattern | Snowflake Advantage |
Large Data Volumes | Elastic storage & compute separation |
Global Access | Cloud-native architecture |
Data Sharing | Secure cross-org sharing |
Real-Time Analytics | Scalable virtual warehouses |
Governance | Built-in RBAC & encryption |
Common Patterns Across Industries
Business Impact
18.43
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition