What is Cloud Computing?
By Telusko
Summary
## Key takeaways - **Cloud: Network of Multiple Servers**: Cloud basically means the group of computers on a network. Cloud is a combination of multiple servers which you're not handling, someone else is doing for you. [00:10], [07:56] - **Old Way: Buy Expensive Servers**: In the earlier days you had to go to the market to build a big server with good CPU, RAM, storage costing around 100,000 to cater to millions of users, plus manage room, cooling, power, security, and admins. [03:15], [04:51] - **Scaling Nightmare Pre-Cloud**: During sales like iPhone 50% discount or pen drive for one rupee, millions hit your site crashing the server, forcing you to buy extra servers that sit idle afterward, wasting money. [05:12], [05:54] - **Cloud Providers Handle It All**: Companies like Amazon AWS, Microsoft Azure, Google Cloud say you don't buy servers, just pay per use with elastic scaling—resources expand on requirement, near 100% uptime, no management needed. [08:06], [08:58] - **Cloud Service Models Stack**: IaaS gives hardware/networking/storage, you manage OS/runtimes; PaaS adds OS/runtime; CaaS for containers like Docker/Kubernetes; SaaS like Gmail/Google Photos where you just use the software. [10:02], [12:24] - **Hybrid Cloud Balances Risks**: Public cloud shares hardware risking security for sensitive data; private cloud is safe but costly; hybrid uses public for non-sensitive, private for customer data, as most companies do. [13:08], [14:26]
Topics Covered
- Laptops Fail as Production Servers
- Self-Built Servers Demand Huge Investments
- Cloud Enables Elastic Scaling
- Cloud Service Models Reduce Management
- Hybrid Clouds Balance Cost and Security
Full Transcript
foreign [Music] and in this video we'll talk about cloud
computing and we know about Cloud right oh not that one but the cloud basically means the group of computers on a network and that sounds simple now right
now basically why we have this concept of cloud computing now think about this if you go back in the earlier days of software development and web application what we do is example let's say if you
want to make a website what you do is you use certain Technologies like HTML CSS JavaScript using which you can make a static website of course you can use JavaScript to build back-end as well but just to keep it simple let's say if you
want to make a static website you can build that with the help of HTML CSS and JavaScript and then you can run that on your machine and that's why when you run it you will see a URL on the top right
now basically if you want to make a dynamic website let's say if you want to add a backend to it it can be done with the help of JavaScript PHP Java c-sharp there are multiple apps options there
but let's say when you build a backend as well you need to run a server which we call a web server now this web server is running on your machine of course it also needs an IP address and by default
if you are running on your own machine you use something called a local host that's your own machine right and then it works on your machine but then when you're building an application or a
website you want the world to use it you're not doing it for yourself right now in this case if you want the entire world to use your machine that's not possible because the website is hosted
on your machine and you don't have a public IP address what you get from your router is a private address and if you want the world to access your website you need to get a public address and
let's say you bought a public address and now you can basically use a public IP address for your machine so let's say I have this machine here and in this machine I'll be having the web server
installed and then I also have a public address now you can give this public address to the world and they can use it oh you'll be saying okay they cannot remember your public IP address that's fine you can get a domain name let's say
you get a you got a domain name as telescope.com so instead of using a public address now you also have a domain name but the thing is the application or the web application is
hosted on your laptop and of course you want this website to be accessed 24x7 into 365 days you don't want this website to go down but unfortunately
this is a laptop and let's say if I forgot to put a charger which normally people do the laptop will shut down and then people will not be able to access your website maybe I'm using a charger
and then Windows says I want to update myself and then you know right you can't stop it so basically your website is down maybe your laptop is not working anymore maybe you spilled a water on
your keyboard and now it's damaged now basically laptop is not a good option right and also there is one more problem with laptop is the computing power let's say you got millions of users and they
are hitting your website and now this laptop is not capable to service all the customers and that's why you need to get a good Hardware now in the earlier days we used to go to the market the hardware
shop or the hardware Market where you can get all the devices to build a good server basically you need a good CPU you need a good Ram okay I'm not talking about the CPS which uses normal laptop
I'm talking about a server CPU a good amount of ram your 16 GB or 8gbi will not be enough you also need a good storage maybe you want users to create
account right and they want to update their details on the website so of course it will consume lot of memory and then you have to build a big server and let's say you invested around 1 million
that's a big amount so let's say invested around 100 000 to build a big server which can cater to the millions of users and now everything is working now since this is the this that's not a
laptop so it will have a good computing power and you have to make sure that you install a good OS which will not go on update frequently and also you have to provide security now in the earlier days
you have to do everything by yourself get a room set up the machines and make sure that it is up and running you need a good internet speed you need a electricity power continuously you need a cooling system to cool the entire
environment because I'm talking about the server not a laptop even if you play a small game on your laptop you know what I'm talking about right it will create a lot of heat so you have to manage everything and also you need a
admin to manage that machine that's right a human is also involved to maintain the entire server and that particular human need to be properly skilled in terms of configuration in
terms of security as well because your user data is there in that machine so that's one thing this is a huge investment to start with imagine your startup now and then to start a company
you need to invest lot of money just to set up the system and you don't want to do that right now what's a solution here in fact before going for solution we have few more problems let's say you
have this system ready and you have your e-commerce website and now everything is working well because you're getting around thousand two thousand or ten thousand users every day but but let's
say tomorrow there's a sale so a lot of new products will be going on sale maybe you are selling an iPhone for 50 discount okay I want to buy that but the thing is a lot of users will be coming to that
website imagine let's say you're selling a pen drive at 8 AM for one rupee imagine the number of users coming to their website at this point your server will go down so before going down what
you will do is you will go to the market you will buy a new server with the same cost and the thing is everything is working now and then the sale is over now you
don't have that much of users and we have extra server lying there doing nothing so you've wasted your money there right now to solve this problem what you can do is you can instead of
doing everything by yourself buying a computer maintaining it getting a person who can manage everything basically in admin and also person for the security you can say okay I don't want to do this
let me just hand it hand these things to some experts now this is where there are companies who provide you this service they say okay you don't have to buy server by yourself you don't have to manage you give us the money we will buy
the servers we will buy everything and we will manage it still you have to do the initial investment you have to buy those servers which is not with you they are managing
it so that was one solution but then again that was not optimized uh in fact these people they buy the server and they create multiple virtual machines on the same server and they cater to
different clients maybe you can say multi-tenant type of stuff where we have we don't have one customer we have multiple customers the same server but still you are investing and still they still have only one machine what if
something goes wrong what if there is a network issue what if there's a power failure the entire website goes down and this is where we thought okay let's not use one machine let's use multiple
machine at multiple locations because your users are not from one region they are from India us Europe Middle East they are coming from everywhere and if you want to cater to all the customers
you need servers in each location that will reduce the latency right now this is where we are instead of going for one server what if you can go for multiple servers then are connected and provide
you the solution example let's say even if you want to add let's say five numbers so you can send that request to one server hey I want to add five numbers one server can do it or multiple
servers come together to solve that problem and that's what happens when you search something on Google when you search it's not like only one server is involved there are multiple servers working together to give you that result
in instantly so basically you need multiple servers and when you connect multiple servers that's where the new term arrives which is cloud so Cloud what is cloud basically cloud is a combination of multiple servers which
are there which is which you're not handling someone else is doing for you now who is doing it we have multiple service provider you might have heard about Amazon AWS we got Microsoft Azure
we got Google Cloud we have red hat also in this market we also have IBM everyone is now in the cloud market and they say
you don't have to buy the servers we have servers you just pay per use that's right you don't have to do any investment let's say you're a startup and you don't have that much of money
you don't even have customers now and every day you get new customers what you can do is you can say hey Amazon I have let's say 1000 users per day give me US
computing power only for those users and the moment I get more users just scale it give me two instance give me a bigger instance that is elastic scaling which we call in fact they also they also have
something called elastic cloud computing which is the resources expands on your requirement That's The Power of cloud one of the best thing is you're not managing it and they give you uptime
which is almost 100 not exactly 100 but they give you almost 100 percent uptime and you're not managing anything now the question arise have we used any cloud
service yet if you are using internet you are basically using Cloud by default if you use Gmail that's a cloud service if you use Google Docs that's a cloud
service if you play game online that's a cloud service everything nowadays is a cloud service and by default we are using them right now in the cloud as well depend upon different users we have different types if we have we have
different service models example let's say initially you had everything with you that's on premise where you have the hardware so basically you have to get the hardware basically you have to get
the networking you have to get the storage you have to also install some OS you have to also install the runtimes and containers let's say if you talk about software development we use something called containers now so you
have to install the runtime you have to install the containers and on top of that you have to install your application which will have certain methods certain classes you have to manage everything that's on premise now
let's say you want to use some cloud service where you say I am okay to manage these software layers and Os but I don't want to manage the hard ways now this is where iaas comes into picture in
which basically they give you the hardware networking and storage everything else is yours so which operating system you have to you have to install is is depend upon you you can decide I want to go with this OS I want to go with this one time I want to go
with this containers that's my application that's my function everything done by you except the data centers or the network or the hardware or the networking stuff but let's say
you don't want to even manage the OS what you want to manage is the containers example let's say if you want to work with Docker or kubernetes now in this case you can say I have the application I have the
runtime I also have the containers I want you to give me the operating systems which will support containers that is your cars which is container as a service
but let's say you want to go one level up you don't even want to manage the nine times in this case they also offer you something called a pass which is platform as a service what you can do is you get everything basically you get the
hardware you get the networking you get the OS you also get the runtime you just have to build the application and deploy it so it basically provides you a runtime where you can build the application now we can go one step
forward uh there is a concept of serverless computing now it sounds like serverless but there is servers of course we cannot achieve something without servers right so serverless they
have servers it's just that you don't have to worry about any server you say I have this function or I have this particular module I just want to run it now if you can get into a subset of it
there's something called function as a service where you get you can you create a function and you say I just want on this function I don't care where it is running I just want to run this also what if you want to scale your function
let's say you have 10 functions out of which you have two functions which you think will need more compute shooting power you can scale them that particular two functions that is function as a service and then we have the next layer
which we use as a normal user which is SAS which is software as a service example let's say you want to store the photos you don't have to build your own photo library on the cloud you get
Google photos what if you want to type on a editor or maybe you want to type code you don't have to install software on your machine or on the cloud service you get online editors where you can
build the application right so those are your SAS platform even Gmail Google Docs everything which you use on cloud is SAS which is software service now as a developer we normally focus more on the
pass which is platform as a service or cash which is contain as a service and it looks cool right the cloud services looks cool and you will be thinking okay this is good every company should be
using Cloud they are using clouds and most of the companies are actually moving from on-premise to cloud services but the problem is if you talk about Cloud let's say AWS now it's a public
Cloud which simply means if you host your application on a public Cloud Amazon is managing it right and they are basically sharing the hardware with the other tenants as well other people as
well now in this case there are some issues in terms of security of course in terms of cost it is less because you are using a public cloud and it is shared by different people but what about security
the data which you get from your customers are getting stored on this servers normal data that's fine but what if there's some financial data what if there's a personal data what if so there are some data which no one should know
but let's as a company you're storing your customer data on a cloud services third party this is a kind of risk here now by default all the servers are public clouds right so these are accessible for anyone it's not like they
can hack your data but it is hackable right how can you trust it also there are some regulations which you have to follow from the government and that's where we have some issues with the public clouds what's the solution you
can create something called a private Cloud inside your company's wall so basically early you have a cloud which is a private Cloud for your own company so you'll be having multiple data centers someone will be managing it but
you have a control on your private cloud and all your customer data will be stored on private Cloud Advantage safety drawbacks cost because now you have to manage everything so what if you can get
a solution between these two and that's where we have something called a hybrid Cloud so what you do here is every company will have data from the customer some data is private you have to
maintain the Privacy there and some data is okay to shift to public clouds so you will be using some services or public cloud and some from private Cloud this is the hybrid cloud and most of the companies are using it in fact you might
have seen this companies are moving from on-premise to the cloud but there are few companies they are coming back they're coming from Cloud to on-premise because they thought cloud is great but
looking at the cost now sometimes if you don't build your application properly or there are some cloud services which are not that optimal you might get surprised by the billing they charge you for a particular for that particular service
so yeah that's about that's about own server you can give the give the power to some third party some Cloud providers you simply build an application deployed in the cloud and
they will do the Computing for you you just have to pay on the goal so that's it from this video I hope you enjoyed let me in the comment section and do subscribe for further videos bye
Loading video analysis...