There are two types of models in the cloud
1. Service models
2. Deployment models
1. Service models
The service models and deployment models so service models basically mean the kind of service that cloud offers this service can be divided into further modules and then you have the deployment models how can it deploy your application to them when I say deploy your application how you can upload your application in what ways you can upload your application on the cloud.
service models
first, let's discuss the service models what are service models right so you basically have three kinds of service models in cloud computing you have infrastructure as a service when I say infrastructure as a service imagine it like this you get a server. one cloud right so you choose an operating system and you get that server on the cloud.
for example
you want a Linux system on the cloud right so you say you request your cloud provider for the Linux system and they give you a fresh system to work on so they'll give you the IP address they'll give you the password you can Remote Desktop into that server and now that server is fresh you can install anything on that server and you can make that so anything and you can make that's about to be a web server you can make that server to be a database so it's all yours you can do anything with it.
so that is infrastructure as a service because you have the access to the operating system of the of your so it provides virtualized computing resources over the Internet no worries about the underlying physical machine. After all, you don't have to manage the physical machine that all of that is managed by the cloud provider and it abstracts the user from the physical machine all right so these are the points.
about infrastructure member then comes platform-as-a-service so in comparison to infrastructure a service where you were getting the access to the operating system and you can do anything but the system when you are using platform as a service you don't get the access to the operating system all you get to an access to is user interface you want to host a website right so you take a service from AWS or Azure and you say I want a platform I don't want the whole infrastructure.
what they are doing is that they launch a server and that they don't offer you the IP address and password thereto so you do not get access to the OS.
you don't have to install any software to manage the files over there you don't have to do anything you just have to upload your files it is you don't have to manage the operating system, basically means you don't get the server and you don't get a user interface you basically just get a software right
Sales force clouds that is the most common example you might that you guys might know and for those of you who don't know sales was imagined it like this so if you launch a server on the cloud you are getting Windows operating system as well right now as you guys know Windows operating system is licensed right but if you are renting the server on the cloud you are basing basically using Windows as a software as a service as well right because you have rented the windows operate a software as well right so that that is the easiest way you can understand it and that you take software as a service rather as a service from a cloud provider you have to manage only the operating system middleware runtime data and applications right so this is what in French oxidizer services if you take platform as a service where and you just can upload your application you get the applications and data which you can manage the rest everything is managed by the cloud provider and if you take software as a service you don't get the X you don't get to manage anything you just can use the software as you want and when you're done with it and just delete it from your subscription right so you don't have to manage the underlying computer you don't have to manage the underlying operating system not anything.
Software that you simply get buy the software that you use and you're through with it right so these were the service models then comes the deployment models so what are deployment models so deployment models are basically of three kinds you have the public cloud you have the hybrid cloud and then you have the private cloud right so what is the difference between these three public cloud is basically when you are sharing your server with a host of different people right for example you launch your server on AWS right so if you're launching your server on AWS you are basically getting a server on the AWS infrastructure now you don't know whether the server on which your operating system is hosted is also giving operating system.
to somebody else or not because on one server you would possibly have many operating systems which are virtualized alright so if you say employing a Linux system on AWS and you haven't specified that you need a standalone so or you haven't specified that you need a private server your server can be shared with a lot of consumers right so if you'd wish to choose a standalone system that standalone system.
could be a private cloud because they give you the server privately that this is your server and we have deployed only your operating system own to it and you can use it you'll be stressed short you'll be safe together with your data but I said it isn't like if you're employing a public cloud server your data isn't safe but some companies have this policy that the info is confidential and it can't be hosted on public cloud so therein case you employ a private cloud the opposite side of personal cloud is that you simply host your own servers right you purchase it servers and you found out your own flower right and you deploy applications thereon that is also termed as a personal cloud now hybrid cloud is really a mix of both public cloud and personal cloud.
so if you've got an application wherein you're using public cloud and personal cloud both you term it as hybrid cloud for instance if you're during a data science company right and you would like to host an internet site so hosting an internet site are often done on the general public cloud but you've got at an equivalent time you've got some confidential data also that you simply don't need to show to the web right so you'll do this on public cloud also but due to company's policies you can host it on your own servers right so this type of architecture then comes bent be a hybrid cloud architecture.
2. Deployment models
The deployment models guys moving along now you've learned the basic concepts about cloud you know why do we need cloud you know what is flower exactly you know the various models of the cloud and you understand that okay so this is often what the cloud world is all about but how does one start how to get your own server within the cloud so for using cloud computing you initially need to contact a cloud provider and if you would like to settle on bitch Club cloud provider to settle on there are literally many cloud providers out there right so which one to settle on so let me list out a couple of of the cloud providers you have Rackspace you have digital ocean your vibe,iam c, loud Microsoft Azure Google cloud platform joint thermic VMware and of course AWS right so AWS and Microsoft Azure.
the top two cloud providers in the industry right and today in this session I'll be telling you guys about AWS and Microsoft Azure both right so let's go ahead and launch the first server in AWS and Microsoft reservoir right so let's move on to the demo section let me quickly switch to my browser where you can learn servers so hold on a sec all.
this is how my this is my browser so first I'll be going on to the AWS console so let me go to the AWS console alright so the first thing that you need to actually be on AWS is creating an account so I'm assuming you guys have an account on AWS but if you don't once you have that just go to your console and this is how it will look like right so these are all the services that AWS has to offer us so we are image to launch our first server within the cloud right, therefore, the infrastructure as a service part that I used to be telling.
you that service in AWS is called ec2 right so you'll be clicking on ec2 and you will see this console right so we are interested in launching an instance right so I click on launch instance then I buy to settle on the OS that I would like right so for now let's launch an app onto the server so I'll select the Ubuntu server I'll choose the processing that I want processing path that I want now remember guys for those of you who are practicing in AWS once you create an AWS account there is something called a free tier.
free tier under the feed here you can launch AWS services free for one year up to a certain limit all right so remember the only free Theory eligible processor and this in these selections is 2 T 2 dot micro so ensure that you're selecting theta dot micro every time you're launching or so right for practice next you will click on next and you don't have to worry about all these settings since this is a basic session we are just interested in launching of browser in a server you can straightaway go ahead and click on review and everything is by default set so you can review all the settings which you have done and now click on launch once you click on launch you will be prompted with this screen where you have to create a key pair what is the key pair a key pair is a basically how to authenticate yourself to the servers of AWS right so you basically have a public key and a personal key so whenever you're trying to connect to your server you've got to match your private key with the general public key which is there on AWS so to urge they provide you the private key and every time you try to connect you have to feed in the private key to connect to the server.
let's create a replacement key pair immediately let's click on create a replacement key pair and let's provides it the name as payment underscore alright and now let's click on download' key pair alright so my keeper has been downloaded let's copy this key pair to our desktop right let me paste it here.
alright so my key pair has been pasted here and now let's click on launch instances alright so my servers are now being launched I can check the status of my servers by happening to the AWS management console and clicking on ec2 so I can attend this particular link and as you'll see there'll be a server which can be deployed so it says it's within the pending state that basically means it's being deployed immediately ok so while this is often being deployed let me quickly show you how you can deploy a server in the Azure cloud service as well right so for going to the Azure service let me type in the URL that is portal dot-com and again you have to have an account to actually work in Azure.
so once you create an account you will be prompted with this screen which is basically the console wherein you can work with Microsoft Azure.
so what we want to do is we want launched server in Azure so let's do the same thing let's launch an Ubuntu server in as well so like in AWS the infrastructure-as-a-service was known as ec2 service right so if you talk about this that same exact service in Azure that service is known as virtual machine so we'll go to virtual machines I'll click on virtual machines and we'll be prompted with the screen so we've to feature a replacement server click on add then we'll get this screen wherein we've to settle on our choice of OS so let's launch and a12 server then with what sort of Windows overdue I won't let choose the 16.04 one and let's click on create right thereupon you will get this screen wherein you've got to fill all the knowledge so let's name our server as Eddie Rica demo - 1 then the user name so user name is basically the login name that you simply want your server to possess so let's provides it the name as Eddie Rekha the authentication type.
It supports both it you'll either have our syndication sort of the general public key that I came AWS or I can just prefer to have a password right in order that is pretty simple let's choose a password here and let's confirm the password all right and then you are prompted to choose create a resource group so basically a resource group is something where is a group of resources right so it is basically is there to make your life easier you can manage all your resources under one group right so we are creating a new instance let's create a new resource group for it let's call it ad rake a demo and we'll click on OK alright so next screen they will ask me the configuration that I want for my server so let's choose the least configuration and click on select all right so leave all these settings at blank don't need to touch them just click on okay and then you will get this page pay then you will have to we will have to review everything and click on purchase so this page usually takes time to return on okay its game so we just need to comply with the permissions and click on on on purchase and you'll set your server will start getting deployed on Azure right so while this is often being deployed let's check if our ec2 server is prepared so yes it's in the green state which suggests it's now ready let's attempt to hook up with the server will click thereon server and once you click thereon server you'll get the public IP of that server up here right so this is often the IP you would like to attach to at an equivalent time I trapped M file remembers this Pam file to attach to my very own two server after I usually connect it through my put piece off so there is a software called putty using which you'll connect to your remote servers on AWS or any cloud provider now these this produce offer can only accept PP gif format of key pairs or your private keys right so first we have to convert a PEM file into PPK and the way to do that is using putty generator right so we will launch the petition software.
See Also:- what is cloud computing
Post A Comment:
0 comments: