Cloud Computing Tutorial for Beginners | Cloud Computing | Intellipaat



hello everyone welcome to this session on introduction to cloud computing during this session I'll teach you guys cloud in to end so let's get started the first topic that we'll be discussing is what is cloud computing and then we want to discuss the different cloud providers that you have in the market that everybody is using these days after that I will tell you where is the different cloud models that companies follow in terms of its services and then we are going to conclude this session okay so I hope this agenda is clear to you let's go ahead and start off with the first topic which is what is cloud computing so what is cloud computing exactly let's understand that as we move along so guys cloud computing is nothing but the use of remote servers on the Internet to do a particular task right now you would ask like why do we need to connect to remote computers when I can do everything on my personal computer now imagine if you have an application which requires a lot of processing right so what will you do will you buy a server which has a lot of processing power put your application over there and then see how your application is functioning or if I give you one more option that you can rent a server from a cloud provider and basically do a RDP or an SSH into that put your application over there and see the working of that application how it runs and I also tell you that the moment you are done with the server you can just give it back to me and I will charge you only for the time that you used it on top of that what if I tell you that it's as she past point zero zero zero five dollars per hour isn't that amazing and that is exactly what cloud computing is all about guys so cloud computing for a beginner it's nothing but the use of remote servers for a personal needs right and rather than using our own computers or rather than buying servers of our own I just want to rent a server on a cloud and I will pay them accordingly to the time that I have used and the prices are as low as the figure that I just told you right so this is what cloud computing is guys now you would wonder how it actually came into the picture right so let's go ahead and all right guys so let's take an example to understand this imagine you're a developer and you created your first app which you think is going to be a hit right so how do you make this app available to the world right or how do you make this app or website available to the world so what do you do you buy some servers and you put that application over there right and just putting your application on the servers or not do it you'll have to connect it to the Internet and once you connect it to the Internet that is when people start to come on your application come on a website and start to use it all right so this is how typically work used to be done now I want to take a focus on two certain things that I just said when I was explaining you this example first of all I will have to buy these servers right and guys servers are not cheap they are very expensive and buying a stack of servers will already cost you a lot of money and you're not even sure whether your app will be a hit or not right you just created your app and you want to try it out and you put it on some sirs and because you know you want to make it production grade obviously I'll have to buy a stack of sauce which is going to cost you a lot right second thing is you will have to configure everything manually if these servers have to be connected to the Internet you will have to do the connections you know to this servers manually you'll have to set up a static IP address so you'll have to contact your ISP and say that you know I need a static IP address for my servers so that people can just go to one particular address and they can visit it after that you again have to buy a domain let's say if you go to in telepods com you see the website right so what is happening in telepods calm in the backend the domain is getting converted into an IP address by a DNS server and then that IP address is basically pointing to these servers right so you will have to buy a domain you will have to point that domain to these servers and that's how it used to work right and obviously if you have these servers you'll have to hire a team also who's gonna manage these servers in case they're the number of users increase you'll have to increase the number of servers etc etcetera there are a lot of things that you'll have to do and because of these things there were some problems and because we wanted to over these problems we use cloud computing right now let it like I said you were using this kind of an architecture before now let's see if we don't use this kind of an architecture and I just use cloud computing what is going to be the difference the difference will be that I created my application next thing is I'll go to AWS I'll launch a stack of service I'll put my application over there AWS automatically gives me a static IP address it has a service to basically give me a domain name as well I would just configure my domain name to connect to this IP address and I'm done right it's so much is that I don't have to hire a team to manage my service because AWS says whatever serves you want to launch I'm gonna handle it for you not either Bluest it it's in fact any cloud provider for that matter all the servers are managed by them all the hardware upgrade Asians are managed by them everything is managed by the cloud provider and that is like cloud computing model itself is such a big hit right so what are the advantages so first thing is that there is little or no investment so I don't have to buy a stack of servers to get my application up and ready I can just arrange them right and the cost is minimal for launching the stack of servers and basically getting them up and ready right I don't have to invest much even though I'm starting fresh I have just launched my application I don't need seed money for setting up in our infrastructure this is going to be huge for the whole world to see right the whole world can access your application but you don't have to worry about it because AWS is backing you up right so there is little or no investment second thing is more focus on app development so you can focus more and app development than worrying about whether my infrastructure is fine or not how is the traffic coming onto my app is my infrastructure scalable enough that it can handle all the traffic which is coming on to it everything is managed by AWS once you configure it correctly right third thing is it requires less work force so like I said if you are buying your own servers you obviously have to have a team which is going to manage your servers for you right any hardware upgrade ian's any security patch that you have to do all of that is done by a team correct but if you are launching your infrastructure or if you're creating your infrastructure on any cloud provider the cloud providers headache is to manage the it's their headache to do these security patches it's their headache to improve or upgrade the hardware once you know the processors becomes sure so all of that is managed by your cloud provider and all you will do is focus on your app focus on your business goals and then succeed towards the goals that you have right so this is an advantage that you get when you use cloud computing and that is why most of the companies today so I guess only the companies who started out earlier that it before cloud computing came into the picture are still working on their own servers hosting their own applications but companies were very young who have just started out for example startups particularly they prefer cloud computing or they prefer their servers to be on the cloud because obviously when you are starting off with a new company you have very limited amount of money that you can invest in things right so it's always a good idea to invest on the things which are required and rest you know if it works in a certain way that they're not costing you much it works that way right so for startups specially cloud computing is a huge thing it's a huge bonus and that is why you can see a lot of new business ideas are coming in a lot of new people are trying out their own app or their own websites to provide a particular service reason being the major part of starting up a business was setting up the infrastructure that is handled by cloud computing these days right and another you can see more and more young companies are coming up and they are trying out an app if they fail you know there was little investment involved in it so it doesn't matter and that is what is encouraging the young entrepreneurs of this age so guys these are the advantages of cloud computing moving forward now because cloud computing is so huge there are a lot of products which are available in cloud these days right and you won't even know whether they exist in cloud or not for example Netflix is the biggest example that everyone is probably using every day in their life the popular service Netflix which is a movie streaming service it's entire infrastructure is on AWS everything from A to Z this scaling part the content delivery Network the networking path the security but everything is handled by AWS now don't worry you guys if you don't understand the jargon that I just used like contain delivery network security everything I'll explain in this video for now I just want to tell you guys that because of the advantages that cloud computing has to offer and because of the kind of services that you get from cloud companies such big such as Netflix a B&B Amazon itself I relying on the infrastructure of the cloud providers so that they never go down now how did it come to these companies minds to you know switch to cloud so I'll give you a very small example Netflix suffered a huge blackout on the internet I think in somewhere around 2008 or 2009 wherein all the services were down you know why because the more more number of users came up to use the service and that's when the server is crashed right the whole application went down and it caused a huge loss to the Netflix company itself right and that is when they decided dude I cannot manage all my servers I can either do the app development or I can manage the servers there's only one thing that I can do so then Netflix started to migrate itself on the AWS infrastructure which is highly scalable which is highly available right and now seldom do you see that you know net fixed services down in my experience I've never seen Netflix down since I've been using it in from the past two three years I've never seen Netflix down or I have never seen an error that you know the server is out or there's a problem with the infrastructure I've never seen that right and that is because of the high availability that is provided by the cloud providers these is Netflix is just one example other businesses that we are all aware of is the Amazon ecommerce website right the Amazon ecommerce website is also hosted on the AWS infrastructure right now a company an e-commerce website whose bread and butter comes from a website from online being online right imagine they are relying on the EWS infrastructure that all of you guys also have you know access to right so imagine yourself you are sharing the same infrastructure which the biggest e-commerce company in the world is using so you can be rest assured that your application is in safe hands right another great example of cloud computing is Google Drive so Google Drive is a cloud product the Google Documents the Google Drive where you can upload all your files and folders that are all hosted on the Google cloud right and that is again a fantastic cloud product then we have Airbnb which is actually a website which is hosted on AWS and it's fully hosted on AWS for all its functionality scale abilities and availability trying video which is video streaming service for Amazon that is also hosted on AWS and if anything is Netflix which is its biggest competitor is also hosted on the same infrastructure as Amazon Prime video right awesome isn't it so these were all the products that you see in a day to day life that are actually cloud products and you wouldn't even know whether they were on cloud or not so now you know moving for the rise now let's talk about the cloud computing models what are the different kind of models are there in cloud that are there in cloud computing and what our models exactly so there's cloud computing is basically divided into two kind of models the first model is the deployment model and the second model is the service model so how do we get these two categories the way you can deploy in cloud has three ways to it and the way you can access services on cloud has again three ways to it right so one is about putting your application out there so if you're putting your application out there you have three options either to use public cloud private cloud or hybrid cloud if you're using the service from cloudy again have three options which is infrastructure as a service platform as a service software as a service let's understand all these things one by one don't get carried away with all the big words used here we'll understand each and everything one by one and then as you move along if you have any questions you can put it right so so far guys have not got any questions I guess everything is crystal clear to everyone so moving forward in the next slide I'm going to start with the deployment model so if you have any questions now is the time guys you can ask me all out and I'll be happy to answer it for you all right so shambhavi has question and she says that Netflix is using AWS so that means all the videos that we see are also hosted on AWS eh a movie all the videos that you see the software itself the website exists on AWS ok so she has one more question but when I install the Netflix app it's available on my mobile how is that on cloud ok so asami there are two sides to it Netflix application it's basically a client application the video is that you get they don't exist on your phone they're actually streamed from the internet right so your Netflix application is just a client application but it interacts with the AWS servers on which the Netflix servers have been different deployed all the videos that you see there's a service called Amazon s3 all those videos they exist over there they are stored over there and they are basically provided to you using a content delivery network which is basically nothing but a caching system that is I'll give you a very simple example that if you if you are residing let's say in India and you are watching let's say a US television show so obviously that US television show is would be existing on these servers of the you Netflix us right but if you are viewing in India it doesn't make sense to stream all the way from us your video right so the server has to be connected through the internet from the u.s. to the Indian client app which is existing on your phone that's a long way all right and that that's when the concept of latency comes in where in you know how does an application respond to your queries also depends on how far is the server from your application right so there's a service called content delivery network which basically what it does is it caches all the videos that you have to see or you're watching on to an Indian server if you are in India right and that's when you know a server which is nearer to you has all the content which exists on the u.s. server and this is all on demand right so this is how this is just very simple a very small thing that Netflix does to improve its service using the infrastructure and this this concept that I just told you is content delivery network don't worry if you don't understand what I just told you as we move along I'm gonna explain this in detail all right any more questions guys all right so everybody is giving me a go all right guys so if everything is crystal clear let's go ahead and discuss the models one by one so the first model that we're gonna discuss is the deployment model so what a deployment models so guys deployment models are nothing but the various ways using which we can deploy our application all right now there are various ways let's look at those ways one by one this is the first way of deploying your application on the cloud infrastructure is called public cloud now what is public cloud public cloud is are these servers which are offered by your cloud provider in which each server can have multiple companies hosting their application all right it could be your Netflix and it could be that you are you know its competitor that is prime video if you have offered for public cloud your application would share the same server as some other application it could be prime video as well right so but why is there a segregation although there is no problem when there are multiple application on the same server but what happens is some companies are still skeptic some companies have data policies that they say that you know we have confidential data and we cannot take any risk we're you know some other companies also on our server and there's a risk of our data being hacked into right so that's why because of these data policies they were different deployment models that were created so like I said public cloud is when you know the data that you're providing to the cloud is not that sensitive is not that confidential and hence you are okay when you know AWS tells you although there will be no problem when a separate application is also deployed on the same server there will be no harm to your data and they say like okay anyways we don't have any data policies like that right so public cloud is when you are using all the cloud computing Zoar the cloud providers servers and you allow them to host more applications on the same server you're okay with that fact all right so that is public cloud Nexis private cloud versus private cloud private cloud can be tooth the first thing is like I said if you want a separate server all for yourself where you say no matter how much space is empty no matter how much of the server is free I don't want any other company's data on my server I have worn my data to be isolated I want it to be isolated on this particular server that you have in your infrastructure so that becomes a private cloud the second way of creating a private cloud is you buy your own servers and you create your own cloud in your data center all right that is you buy all the SAP of servers required and you host your application as if you're roasting on a cloud provider it's just that it's your own cloud that you have created you right you have bought your own servers and you're putting your data on your own servers so that is private cloud ok so the third thing is hybrid cloud now what is hybrid cloud guys when you want to have the kind of infrastructure within you are using some of the public cloud and some of the servers from the private cloud in that case it becomes a hybrid cloud so let me give you an example let's say there is a research company so that research company the marketing website for that research company exists on the public cloud but on that marketing website also people have the access to log in and when they log in they can see their research materials that they're working on ok but this research material it does not exist on the server of the public cloud it exists on some of our other server which is private cloud so from a user's perspective I'll say that it seems that everything is on the same website but actually the infrastructure is like this that the private cloud is or your sensitive or your research files are basically on some other server or let's say the private cloud right and the website that you're hosting which doesn't have that much of confidential data is actually hosted on the public cloud right so this is a fine example of how a hybrid kind of architecture is created one more example that can that I can think on top of my head is that let's say there is a company where in it's been there since the past 15 years right so they have some legacy systems that they don't want to touch which they have bought and on which the application is working but what they have decided now is that any of the servers that we are going to launch from now on any of the new applications that we are going to launch from now on we are going to launch it on a cloud provider server right so in that case what happens is these servers which were there in your data center they they have to be on the same network as the cloud providers servers right that is a public cloud and hence that also that kind of a mixture that kind of arrangement again becomes a hybrid cloud so guys these are all the cases you know wherein you can all these are all the ways you can deploy your application on cloud so first we discussed public cloud which was basically when the servers they are basically they can be shared between multiple clients of the cloud provider right and basically those servers are owned by the cloud Rider second is private cloud wherein there are two cases the first case could be that you own or you ask your plow operator to give you a separate server stack where no other data will be available only your data will be available that is one kind of private cloud second kind of private cloud is when you buy your own servers and you set up a datacenter and that becomes your own private cloud that is also a way of creating a private cloud or using a private cloud third kind of deployment is a hybrid deployment wherein you use some servers from the public cloud and you use some servers from the private cloud and hence it's called hybrid alright so guys any doubt and whatever we discussed so far if yes please comment in the chat box or put your question in the chat box and I'll be happy to answer it for you any doubts guys if there are no doubts we'll move forward but if any doubts now it's time that you can mention it and I'll clear it for you all right so Shubham is saying can you explain private cloud once more Shoreham so private cloud is nothing but using using a server which is not shared by anyone else right so how does AWS work how does any cloud provider work for that matter they buy a very big machine or very big server with a lot of RAM and with a lot of processing part right and what they do is they launch multiple instances of virtual machines on it right so it could be that you know you imagine your laptop you can probably if it's a i3 or it's a i-5 with around 8gb of RAM you can launch it on three operating systems on the same server at the same time using a virtual machine right you can do that now similarly what cloud providers do is they have they buy stack of servers and what they do is they launch multiple machine virtual machines on that so right and those virtual machines are all owned by people who basically launch it through the AWS console oh there's your console the GCP console right they launch it from there now when your application or when your when your instance is up and ready it is actually a part or it's actually a virtual machine which is a part of a server but it could be that that same server is hosting seven or eight more virtual machines which are owned by other people who have created their as your GCP accounts okay so if that is the case then there are some companies like let's take the example of government agencies you know secretly government secret agencies which are intelligence agencies like CIA or in CIA in us like homeland department in the u.s. all all of them they have very confidential data which have to be accessed by their internal employees in respect to the fact where they are sitting in the where they are sitting in what part of the world they're sitting right now in those kind of cases what happens is although they can buy their own servers they can set up everything by themselves also but then like I said they'll have to hire a team also that will manage the servers so what cloud providers do is they give you an option of having your own server stack which is isolated from the rest of the infrastructure of your cloud provider right that server stack is exclusively for you it will be a little higher the price be a little higher but it'll again be enough pay-as-you-go model that is you can say that for how much ever time you'll be using it for that much time only you'll have to pay the cloud provider so that is what private troubles that you get a separate isolated server for yourself on which you will be working you will be putting your applications on it right and those applications will nowhere be connected to or no will nowhere really sharing the infrastructure which the other clients of that cloud provide are using so that is private cloud other way of saying what a private cloud is that you buy your own servers and you set up in a datacenter right so although in that case you're not getting the benefits of cloud computing but yes that also is called a private cloud because you buy the same kind of infrastructure you buy the same kind of infrastructure at scale at the same scale that a cloud provider does you buy it at the same scale right when I say scale in the same quantity you setup a datacenter according to it and it becomes your own private mini cloud right that is also water private cloud so all right I guess Shubham now you're clear with it out all right thanks home so others if there is any doubt in whatever you explained so far please let me know I'll clear it out and if not I will move forward to our next topic all right so everybody is giving me a go guys so great let's move on to a next topic which are service model so we have discussed deployment models that is how what are the various ways in which I can deploy my application on a cloud provider now let's discuss the various kind of services that I can get from a cloud provider okay so let's discuss that so what has service models now when there are three kind of service models that we get in cloud computing the first one is infrastructure as a service now what is infrastructure service basically the cloud provider will give you an access to the server that is you will get an access to the operating system of the server and you can install anything you want on that server and that will become it can either become a database server it can become a website server you know become anything so basically when we say infrastructure-as-a-service you're getting the whole infrastructure you're getting the whole system is getting the whole virtual machine as a service delivered to you all right so that is infrastructure as a service second is platform as a service so in contrary to what we got in infrastructure as a service we're in I got a machine that I could use in platform as a service I do not get the access to the operating system okay what I do it and access to is kind of like a dashboard wherein in that dashboard I can upload any files that I want and those files would automatically be put on the server by AWS and I can see those files hosted on the server if it's confusing let me give you an example let's say if I want to set up a website and what I get is infrastructure as a service so in that case what I'll have to do is I'll get a fresh operating system on that operating system I'll have to install a web hosting software like Apache or Tomcat or anything once I have installed it I will have to do an FTP or I will have to transfer my files from a local computer on that AWS server using FTP once I have done that I have to put those files in a specific folder on that particular server and only then I will be able to access it when I go to the IP address of that particular server this is the case of infrastructure service where I have done everything that I had to do right in case of platform-as-a-service what happens is that I will not get the access to the operating system all the software's all the settings that are required to be done is done by AWS what I do get an access to is a dashboard where and I have a button called upload I click on that upload button and what it will do is it will upload my website automatically it will directly upload it to the location where it has to be it will give it given the required permission so that my website is hosted so as a user I don't have to get into the nitty gritties of what kind of software has to be installed what version of software has to be there everything is managed by enoughness I just upload my website and my website gets up and ready or a particular IP address okay so this is platform as a service and so basically an automated version of infrastructure-as-a-service when you get specific access on the server that you can just upload your files there is nothing else that you can control on that so that is platform-as-a-service the third kind of service that you get is software as a service right what happens in software services that in contrary to what you got in infrastructure service I didn't I did not get access to the server or where I got access to the operating system of the server I could install anything I could make that server anything right second thing was platform a service where I go to dashboard where I can still upload my files and those files would be hosted for me rest everything else should be managed by a lab Louis or the cloud provider on which I'm taking this service from third kind of services software as a service now what is software service you do not get access to our dashboard where you can upload your file so you do not get access to the server where you can do whatever you want on the operating system what you do get is a soft food which has already been hosted on the cloud and that software you can use the straightaway example for this would be Netflix and Netflix is a software correct it doesn't matter which server it is on it doesn't matter whether you can upload your files you know it but you can use the software which is hosted on the cloud that is software as a service software has been provided to you by the cloud provider to use as a service and that services a pay-as-you-go service where and you'll have to do a monthly subscription okay another example for this could be the Google Docs that you use you use Google Excel or you use Google a word right all of those are software's which are hosted on the cloud provider and you can use those often it doesn't matter which server it exists on it doesn't matter what kind of interface and install on that server I just have one software that I can use and it has been hosted on the cloud so that is software as a service all right so this is all about the different cloud models which exist which are offered to the customers right moving forward now let's talk about cloud providers now whatever you discussed so far is in general or is general to cloud computing right now these kind of models or these business models that we just discussed have been adopted by various companies which are they're right so companies like AWS is there this is this is the most prominent one second is Microsoft Azure and then you have Google cloud and there are a hundred plus most of more companies which give you the same kind of services like another famous cloud provider which comes on the top of my mind is digitalocean which is there right which offers the same services just add the jargons that it uses for giving you that service is different the terminologies would be different but at the back end it's doing exactly the same thing right so digitalocean is the joint is their Telemark is their IBM cloud is there a lot of cloud providers but why are we or why I just showed you these three o'clock provider because these are the three top cloud providers in the industry right now which give the cloud services all right guys so I hope this video it was useful to you so if you want more such videos please subscribe to the in telepath channel and if you have any queries please comment down below thank you

6 Comments

  1. Intellipaat said:

    Guys, which technology you want to learn from Intellipaat? Comment down below and let us know so we can create in depth video tutorials for you.:)

    June 27, 2019
    Reply
  2. Prasanth Balendran said:

    Guys, you are vids are simple and awesome…, It would be great if you could make a vid for statistics.. tq

    June 27, 2019
    Reply
  3. raj kumar said:

    Hi Team ,
    Please make a course on Oracle cloud . Migrating Oracle database to Oracle cloud .

    June 27, 2019
    Reply
  4. dhani ram sahu said:

    Pls upload videos related to networking

    June 27, 2019
    Reply
  5. Simbhu shans said:

    Can you please post video on performance testing and engineering, trouble shooting the root cause

    June 27, 2019
    Reply
  6. Intellipaat said:

    Following topics are covered in this video:

    00:38 – what is cloud computing

    05:18 – cloud computing advantages

    08:24 – cloud products

    12:13 – cloud computing models

    15:50 – cloud computing deployment models

    25:50 – cloud computing service models

    June 27, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *