Docsity
Top Seller

Cloud Computing: Evolution, Models, and Benefits - Prof. Accetta, Appunti di Informatica gestionale

Toggle sidebar
bg1
Introduction to Cloud Computing !
Apps are everywhere, the quantity and usefulness of web and mobile apps has led to an
app revolution among consumers and business alike; costumer and employees now
expect a delightful and seamless experiences across al interaction with a business. Apps
today can be stitched together quickly with pre-built assets. Cloud makes the API
economy possible. !
The world of business undergoing rapid digital transformation, by digitalisation we can try
to automatise some processes, it’s a huge deal the automation of flows or process
managed by the infrastructure. The 95% of surveyed enterprises are using some form of
cloud. An example could be Fin-Tech: in the previous decades in order to be a bank you
had to have a huge investments in order to manage all the complexity of infrastructures;
in the last years we have seen a lot of small start-ups trying to deliver auxiliary services
that the bank couldn’t afford. To stay ahead of competitors, leader are rethinking business
as usual in three fundamental ways: !
There’re some analogies about the adoption of electricity and the adoption of cloud. 1880
we discovered with the alternator to generate some electricity and with the transformer to
carry this new tools from the place where we generate it to where we need it. It’s the
same that happen with cloud! These technologies allows us to use some resources that
are generated some place else, it’s no longer necessary to be co-located in the same
place where the resources are generated. A common problem that we face is that the
new phones created can take amazing pictures, but it comes of the price that the size of
the image it’s really important so after few months of usage I’ve no more free space on
my phone; typically we use some backup services that helps me have my data
somewhere else. !
This comparison it’s at all wrong, but it
is useful to understand a concept: now
the big it company see the majority of
their revenue coming from cloud
computing, they shifted from selling
hardware on selling services. !
There’s a kind of changing as in electric
power and in railways! !
There’re some needs to be addressed in
cloud computing: it was invented that
has to be solved. There’s a demand on
the market of something and the current
di 1 23
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Anteprima parziale del testo

Scarica Cloud Computing: Evolution, Models, and Benefits - Prof. Accetta e più Appunti in PDF di Informatica gestionale solo su Docsity!

Introduction to Cloud Computing

Apps are everywhere, the quantity and usefulness of web and mobile apps has led to an app revolution among consumers and business alike; costumer and employees now expect a delightful and seamless experiences across al interaction with a business. Apps today can be stitched together quickly with pre-built assets. Cloud makes the API economy possible. The world of business undergoing rapid digital transformation, by digitalisation we can try to automatise some processes, it’s a huge deal the automation of flows or process managed by the infrastructure. The 95% of surveyed enterprises are using some form of cloud. An example could be Fin-Tech: in the previous decades in order to be a bank you had to have a huge investments in order to manage all the complexity of infrastructures; in the last years we have seen a lot of small start-ups trying to deliver auxiliary services that the bank couldn’t afford. To stay ahead of competitors, leader are rethinking business as usual in three fundamental ways: There’re some analogies about the adoption of electricity and the adoption of cloud. 1880 we discovered with the alternator to generate some electricity and with the transformer to carry this new tools from the place where we generate it to where we need it. It’s the same that happen with cloud! These technologies allows us to use some resources that are generated some place else, it’s no longer necessary to be co-located in the same place where the resources are generated. A common problem that we face is that the new phones created can take amazing pictures, but it comes of the price that the size of the image it’s really important so after few months of usage I’ve no more free space on my phone; typically we use some backup services that helps me have my data somewhere else. This comparison it’s at all wrong, but it is useful to understand a concept: now the big it company see the majority of their revenue coming from cloud computing, they shifted from selling hardware on selling services. There’s a kind of changing as in electric power and in railways! There’re some needs to be addressed in cloud computing: it was invented that has to be solved. There’s a demand on the market of something and the current

situation it’s not able to serve it, so we need to find a new way to deliver a solution to my costumer. In the past if there was the need to new physical computational power you had to buy a new data center, machine, heat reducer… Maybe you have also to reduce the cost on the single user, so you are able to make it more affordable or to improve production in an efficient way. The same effects may be prices reduction, the increase adoption of technology and standardisation of the service, the last one is a sort of drawback, there’s no way to avoid it; in order to be able to improve you have to try to make the service as similar as possible for each one of your user or you are going to do a sort of change of your business model.

Brief History

The earliest kind of server used for business, every operation that we do in our bank is hosted on a mainframe, it’s the most secure kit of equipment. All the bank have mainframe application to sustain and manage the various transactions. It’s very old, the first was available in 1950s, the components changed in the years, now they are big as a wardrobe; the idea is that they introduced the concept of timesharing: you have an application that more users want to run it; they had the idea of create application that all the users could use at the same time. One application for one user: you have to allocate a set of resources dedicated for that user, if the user is not using the application all the resources are wasted; if you create an application that all the users can run, there’s a kind of concurrency, on average they will experience a good use. That’s the idea behind the cloud: try to make the best out of the hardware that you have, the technology behind is it’s called virtualisation. If you have an application that serves only users in the daylight time after that you have my machine keep going but nobody using it, so you want to try to expand the system and work with different time-zone; I have to make sure that in the opposite part of the word users can access to my application. In 1969 ARPANET was initially a governative network of computer able to exchange info in the geography, father of Internet. In late 1970s new words, for example client-server, many different users (Client) that submit request to the Server (local area network at the start). In 1995 they start Clouds, typically we don’t care where there’s the storage, we use some computational power but we don’t care about when it resides. There’re problems for industries and companies about it: some type of data can’t leave the boundaries of the country, can’t be abroad by law; so I have to be sure of what kind of provider is. Some providers are transparent, others don’t. The endusers doesn’t care, like me. In 1999 salesforce.com become the first company to make enterprise application available via website, you don’t had to install in the local machine the tools, but they could access the same functionality via web, without installation. 2006 amazon web services launches, it’s the real first economic introduction of cloud computing, someone was starting making money by proposing a new business model in some way. The idea is that Amazon was doing a kind of e-commerce, aside from being an e-commerce, it’s a cloud provider that gives help to company and enterprises to use some IT functionalities as a sort of rental; it came from one problem that amazon was facing, related to the Black Friday: as an e-commerce it’s not taken for granted that every moment it has the same number of users, it’s not constant, they had a pick around

A blade center is another piece of equipment built in order to host a large number of computational unit, or RAM and something, because you can’t link two computer to make them go in a better way. It’s born to contain huge amount of CPU and RAM, much more power. We use it to manage the entire e-commerce of our website, not for using simply excel.

Cloud Computing Defined

Cloud computing is a consumption and delivery model inspired by consumer internet services (from National Institute of Standards and Technology); the essential characteristics are:

  1. On-demand self-service
  2. Broad network access
  3. Location independent/resource pooling
  4. Rapid elasticity
  5. Measured Service/pay as you go The first one: you are like dealing with a catalogue from which you can select the kind of resources that we need, but typically you need more computational power there’s a catalogue about it; I’m independent on what I selected on it. The second one: you connect to these services typically via internet connectivity, so if enable access all over the world and the drawback is that it needs internet connectivity to work. (Think about GooglePhoto) The third one: location independent you don’t care where it is, it has some legal problems. The fourth one: imagine I’m managing a company of transportation, I have to transport 32 people, but I have only one bus for 20 people; to avoid different turns of the journey I decided to increase the number of my vehicles. The option that I have are: I can buy bigger buses or I can buy many smaller buses. This is vertical scaling (1 bigger) or horizontal scaling (2 smaller); if I need to serve more costumers I can chose between them: one server but much powerful otherwise I can scale, I buy other services as the one I have, same stuck spread. This scaling can be done also in applications. Which one is better? For a cloud computing point of view it’s better the horizontal choice (on the left). The fifth one: I pay for what I use, for example if I select a virtual machine I pay for the time I carry on it. It’s measured in sense that a cloud provide knows and checks what is used, the user have to understand what he has to pay.

Technologies that Enable Cloud Computing

In order to be able to reach these information there’re some technologies used to understand. at the bottom we have the physical resources (compute, network, storage) on the top of those physical stuck there’re some software tools and they can give us some capabilities that at the end of the journey helps us to transfer resources to the users. There’s a meaning on the position of the tools.

VIRTUALISATION

The main idea behind virtualisation is to create some logical copies of the hardware so that for example I have some different physical resources and I want to introduce this layer that more or less creates some digital copy of the hardware so I can assign that to the user; the user think they are using one computer completely dedicated on them, but actually there’s a bigger computer that is being spliced up in two different logical partition that is assigned to a specific user. Why is this important? Use only what you need; when you need it Increase or decrease compute, network or storage resources as the application needs dictate. You can split the computational power to those users; what really happen is that typically the processors works in terms of clock (execution time) given to a specific user; for a certain period of time the processors serve the first user (for simplicity half a second), then gives it to the second user and what the users are experience is a slightly less performing processor. Overall on average it’s ok. The users are not requesting the 100% of the computational power.

What is Virtualization?

Security^ Lifecycle Management Compute Orchestration Provisioning Virtualization Hypervisor Network Storage

Virtualization

Definition: A layer of abstraction Between computer hardware systems and the software running on them That logically divides resources (like compute, network, and storage) among the applications that need them. Not a new concept: IBM did virtualization in the 1960’s. Why is this important? Use only what you need; when you need it Increase or decrease compute, network or storag resources as the application needs dictate. 33 What is Virtualization? Server Storage Network Technologies that enable cloud computing Lifecycle Management (^) – (^) for all layers in the cloud Security (^) – (^) for all layers in the cloud Compute Network Storage Orchestration Provisioning Virtualization - provides a layer of abstraction between computer hardware systems and the software running on them as a way of logically dividing resources (like compute, network, and storage) among the applications that need them. Hypervisor Hypervisor - provides the ability to divide physical system resources into isolated logical partitions. Each logical partition operates like an independent system running its own operating environment. Common hypervisors include Xen, VMware ESX, Hyper-V, KVM and Power VM. Provisioning – enables computing resources to be available to users Orchestration - automates the coordination and management of IT resources. It includes aligning the business request with the applications, data and infrastructure; defining policies and service levels; and centralized management of the resource pool including billing, metering, and chargeback.

PROVISIONING AND ORCHESTRATION Of the resources; they enable the characteristics for Cloud Computing; with the hypervisor I reach the sharing of the resources, the location independence; all the others (capability to scale, metering, self-service bit…) are all enable by the provisioning and orchestration path. They are more like the ones that give the order to the components. Provisioning make resources available to users, it’s the one that actually collects the bundle of the environment and ask the hypervisor to make the resources available. The orchestration is a layer on top of it, it has three main task: collect and make sense of all the business request within the application, the data and infrastructure; define policies and services levels and centralising management. The orchestration puts all together in a single work flow. All the dashboard that the user is accessing, the capability to understand which are the things actually provided by the cloud are all provided by the orchestration. They are also monitored, in some country also with the army, so only the authorised person can access to a certain level. Every bit company or institution has these infrastructure, the department of defence, the banks has its own data centres; our society is build upon this scheme. Lifecycle management is more related to the everyday work and how to manage these components, because they have a lot of complexity in terms of management. Typically the hypervisor is Type 1, in terms of performance.

Service Models

The kind of functionality that different cloud providers give to their users; at a certain point the orchestration level interacts with the user with a catalogue. Based on what the cloud provider gives to the user we have three kind of services (challenging sometimes to understand which one is):

  1. Infrastructure as a service (IaaS): they provide us services, software functionality, tools that I can directly use… an example: cloud providers gives to users really basic functionality; if I have to manage all the infrastructure, for ex. Create an application for a specific server, I ask to a cloud provider to give me a certain machine with a certain amount of computational power and resources. If I ask only a virtual machine in that scenario the model that the cloud provider is adopting is the IaaS: it’s giving to the user only the infrastructure layer, physical resources more or less visualised. When a user select a virtual machine the user has an IP address and the user can login to the machine, access with its credential and from there it can install in the computer; otherwise there’re other options, but more or less the cloud providers gives me the credentials. For example I might have to install on it some specific tools in order to run the machine. Each cloud providers developed different offers.
  2. Platform as a service (PaaS): it’s more like a world of developer, all the websites, the applications etc are developed by somebody; these have to be installed somewhere to run, typically the grey area is which it needs some software and infrastructure.
  3. Software as a service (SaaS) which includes BPaaS (Business Process-as-a-Service): office 365 in the last years Microsoft has switched from installing directly on the machine to give the same functionality by accessing to the internet, I can open a browser and work on my world without having it installed on my machine. You have functionalities shared on a different environment (not installed on the computer) and I can access it on the browser. It might also be G-Mail a sort of SaaS, functionality not installed on the computer, we access it via browser. We use the functionality. Like Netflix. In the scenario without cloud is the one on the left: there’re many stocks that compose our entire infrastructure: the initial one is the hardware (servers, storage, networking), virtualisation and OS, middleware (can be installed on the OS), runtime (typically programs that enables you to run some codes), the data and on top some application. There’re other three pillar that are the service products and make you understand who is responsible of what. On the right you find the cheapest one, already available and developed. The one on the left is more expensive, you need all the tools and time for having my final application.

Compute Models vs Level of responsibility

This is more or less the same picture, with the information on top; some of the different flavours of things that we can obtain with cloud: some instances are more related to IaS (Bare metal and virtual server (you have the option to select the serve that you need: virtual server but there’s also the possibility to have the bare metal, you don’t work with hypervisor, virtualisation and so on, but you have access to the server). Bare metal is like naked hardware, you buy a server, you just don’t pay for the cooling system and so on but you directly access to it from another data centre, you need it for high intensity scenarios or applications, something extreme, the other three options, generic classes for developments are containers, cloud foundry and open whisk. Open whisk it’s everything that goes in server less computation. You pay the execution time. Examples of how cloud provider give you the favour of servers.

Runtimes

A set of resources that is used to run an application. They can be composed of binaries that need to be installed in order to execute the code written by the developer. You create an algorithm to achieve a specific goal, you have to know how to write these instructions in a standard way (programming languages); runtimes are usually PaaS, so there’s a collection of runtimes made available by the providers. Based on where the runtime is running we have four scenario: I have to install it on a virtual machine; or I have some runtimes already pre-built for me; or server less computing, when you are providing the code and somebody else will execute it. When you are working on cloud you have this option: the fastest way is working in the PasS scenario, container cloud (for start ups), they don’t have to care what is going on the machine, the drawback is that they lose inflexibility. On the left we have big enterprise world, more likely to use computation cloud models with virtual servers and bare metal, the runtime has to be completely installed. Different option, is important to be able to understand where to put. More or less container, cloud boundary and function PaaS, while the first two IaaS. On top of that you’ll have different restriction with the runtime (on the left, great flexibility with the choice of runtime), on the right you have fewer runtime, but almost ready to be used. You can deploy your application on a private o public cloud, for example IBM, Google and Microsoft have an offering concerning public cloud, environment accessible through the internet, you just need to create an account and you can start developing; typically is a

computing power, storage…); it’s possible to develop application without caring about where they are, so platform level. The last situation was the one where users only need to use leverage at specific level developed by others (for example office 365). We have categorised IaaS, PaaS and SaaS.

Deployment models

They are completely disjointed, independent from the service models. So you can have Iaas, Pass and Saas on public but also on private cloud. Where these services are? In general public cloud, that is also the first example of what happen, is whenever you have all of these services made available for anyone over the internet. It’s not off course anyone but who has registered to the cloud provider. The private cloud is set between the boundaries of an enterprise; typically there’s the data centre of a huge organisation and they want to deliver some services (typically the hand user are the employees), with the same benefits. In this terms a private cloud is a set of services over a proprietary or limited network or within a data centre that supplies hosted services to a limited number of people within the same company. A hybrid cloud is a situation which there is the co-presence of some services/ infrastructure provided thought a private cloud and other used with a public cloud. (The one on the core are usually on the private one), the non-mission critical application are maybe on the public one. For example a common scenario is when a service provider uses public cloud resources to create their private cloud, the result is called a virtual private cloud. The final goal of cloud computing is to provide easy, scalable access to computing resources and IT services.

WHAT IS CLOUD COMPUTING

We have some users (internal users), all the IT resources are contained within the on premises Data Centre. In this situation there’s no content of cloud computing. It’s possible that some companies are able to adopt different services that are made available by different cloud providers. We have a distinction of two worlds: on the left we have the on-premises, so managed by the company itself. You may have the external world that can grants you some capabilities in form of what you select (use a new infrastructure, software as a services). In this scenario all the resources are managed by somebody else, typically available in some place else. The idea is that they can access some IaaS services (on the bottom), so they can access virtual machines not in the boundaries of the infrastructure. When we are in the right side

of the slide we are dealing with public cloud. sometimes it’s possible to set up within the data centre managed by the IT company itself, to create a sort of stuck of resources that creates a private cloud. What are the differences among a company that has only virtualisation put in place and an organisation that has private cloud. Here we have a user that has to access a new virtual machine, if there’s only virtualisation, a new virtual machine is created for this user and if we take a look at how this process takes place, there’s an initial request (from user or manager), they need to validate the request of course, they’ll perform a new virtual machine and after that they’ll share the info with the IT user. This is really common if you don’t put in place some cloud computing within boundaries.

service what happen when you access some service of the cloud provider but available also for other users? There’s this distinction that depend on the kind of service: you have the same SaaS option, as a singe-tenant instance or multi-tenant instance. Around them you have completely different fee: the single one is much higher then the multi-tenant. Typically the single tenant costumer has access at a specific instance of application that is isolated by the other different costumers. if I offer the same at another costumer I will deploy this provision on a different server for another costumer; this approach needs to be put in place when the costumer has some limitation in terms of the policy of the data (maybe can’t stay on the same hardware where there’s some data for other companies, for example banks). On the other hand for costumer that doesn’t have specific requirements in terms of performances or data… they can work in a multi-tenant environment and share some functionality. Three years ago there was a backdoor on a cloud SaaS option, if you had different user on the same linux machine you could obtain the information of all the users available on the specific machine. So the multi-tenant is subjected to more risks. Evaluating SaaS from user perspective:

The benefits of PaaS: faster, cheaper and lower risk. Less work for developers to do, they can immediately start developing the application; they don’t waste the first weeks in configuring the environments; it’s also cheap, less administrative time to take in consideration, less management and maintenance time; the lowers risk because the platform has yet some functionality, for example monitoring and security aspect. There’re also drawbacks of PaaS: it’s less familiar to developers, gives developers less control, isn’t identical to existing on-premises environments and supports fewer useful scenarios than IaaS. Se non hai capito riascoltati la lezione del 12.02 part 1 (riassume) Hybrid cloud is a more realistic situation: an It department manages resources available on premise and one on private cloud, the important thing is that they have a unify dashboard to see what is going on the public and private part of the infrastructure. They have a single point from where they can check everything. The idea is that by adopting an hybrid cloud approach you can pick and put the applications, servers… on the deployment model that better suits this specific scenario. So public cloud for small companies, start up etc. Private cloud for industries that need to be really serious about the data they are handling or had already had some serious investments and want to use those machine within the data centre in a different way. They try to bring the benefits available in the public cloud within the boundaries of enterprise.

Turing Test

The idea is simple: you have one terminal in which you can type some question and aspect to receive some answer in a fixed amount of time. After this time reviewing the question you have to determine if the one who answer is an AI machine or human being. This tester is not able, the machine has passed the tuning test. This is an example of what we are trying to achieve. If you are able to create this kind of machine you are able to create the virtual assistant and replace the human on a specific task. At the moment we can create system that perform very well specific tasks, not general behaviour of child or old…

Systems that act like humans

There’re some cognitive task that we want to replicate:

  • (^) natural language processions __ for communication with human
  • (^) Knowledge representation __ to store information effectively and efficiently (confusional databases, organise them automatically)
  • (^) Automated reasoning __ to retrieve and answer question using the stored information
  • (^) Machine learning __ to adapt to new circumstances On its own the Turning Test is related to analyse the human language; there’re some advanced in technology that try to includes two more issues: -computer vision (perceive objects) -robotics (move objects) Systems that think like human tries to understand the missing information that we have in our brain; try to observe the way we generate new idea, our thoughts and try to understand how can we generate new content by a machine, as we do, the critical thinking, capability to create new stuff… In the rational part, thinking rationally, is important because sometimes we don’t want a system that replicates exactly human being. We have prejudice, sometimes we are driven by them, our bias… we are not able to analyse a situation in a proper way. if you provide the wrong data in the training phase we could have very serious problems. If we create a machine learning model that has to understand the best candidates of the CEO of a company and we fit there the data of the other CEOs in the world, see who is the more similar between the employee; if you don’t pay attention on what we do it would have a strong of bias in terms of gender. It’s not a problem of the machine learning, but the data that we give. In another scenario we may want a system able to do the right thing, it’s important to insert some bias in the things that we are seeing; study made by MIT rational machine, questioner in which you are presented a set of different scenario of a self driving car, you have to decide whether you are going to kill one specific group of people or another. It gives an example of what we think it’s the right thing all over the owlrd and in each country there were different trends. It’s difficult to understand what is the right thing to do. On this system there’ll be a component of logic (think rationally), but you have to add human knowledge, bias in that specific model.

Possible definitions

Some possible definition of AI: produced by human art or effort, rather than originating naturally; the intelligence, ability to acquire knowledge and use it. So AI was defined as:

  • (^) AI is the study of ideas that enable computers to be intelligent;
  • (^) AI is the part of computer science concerned with design of computer systems that exhibit human intelligence AI is anything that makes machine act more intelligently. The goals of AI: To make more computers more useful by letting them take over danger or tedious tasks from human, component in terms of practical engineering, the most powerful supercomputer is component on many different servers, lot of power consumption in order to perform complex calculation… if we consider our brain as a computer, find a way of having the same computational power of our brain. Some of the main topics are: search, representing knowledge and reasoning, planning, learning, natural language processing, expert systems and interacting with the environment… We aspect to this system to do is to accept some inputs (vision, sounds…) interacting with human (understand language, recognise speech, generate text, speech and graphics…) and modify the environment (robotics). How do we train the system? Similar to humans. First step is tot teach the system to recognise the objects;

Machine learning

When we talk about AI we tend to identify it with machine learning and deep learning but it’s an approximation; machine learning is a subset, not every system is actually based on machine learning. This is one way to approach the problem. AI is intelligence demonstrated by machine, can reason about the world and give rise to intelligent behaviour to achieve a certain goal; mimic cognitive functions of the human mind, such as learning and problem solving. Machine learning is a set of algorithm in which we can develop system that can perform specific task without specific instructions. Is a subset of AI. Finding patterns in massive amounts of data and using learning algorithms to build models that can make a determination or prediction about something. Machine learning comes from math, it comes from some problems where we try to approximate the best function that approximate a series of points, then it was inheritance by computer science. It’s really an old concept but it has found new renaissance. Deep learning is a subset of machine learning, a class of algorithm inspired by neural networks, it’s a reference to the fact that really complex networks and architecture used to process really difficult tasks. The computer on its own if you only take a look to 0 and 1