Cloud computing  :
Tags: cloud, aws, azure, googlecloud
Published: 2020-12-14 11:36:48

# __Before cloud computing :__

What happened in the deployment phase .

* Buy a stack of servers or we could do it on our computer .
* Keeping the peak traffic in mind, buy more servers .
* Monitoring our infrastructure 24/7 .

# __Disadvantages of on-site architecture :__

* This setup is expensive .
* Troubleshooting problems can be tedious and may conflict with your business goals .
* The main disadvantage is suppose we have to keep a peak traffic and bases upon that we need to configure our hardware and our system should be up and running 24/7 . But when we monitor our application we get to know that our resources are not optimized in the night which is loss of money  .


# __What is cloud computing :__
* It is the set of remote servers on the internet to store , manage, and process data rather than a local server .

![Gcp](https://dev-to-uploads.s3.amazonaws.com/i/4vte7i7e64rhnfn0kq9w.png)

# __Cloud Model :__

### __Service Model :__

* __Iass__ (infrastructure as a service) :
- You have the complete access of the infrastructure .
- Provides virtualized computing resources over the internet .
- No worries about the underling physical machine .
- Abstract the user from the physical machine .
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/80uhuqxywi06cyswtz3r.png)

* __Pass :__
- You have a platform where you can deploy your applications and you don't have the access .
![Heroku](https://miro.medium.com/max/1200/0*vu5pZbwHCCKbkAPh.png)

* __Sass :__
- we have a access only in a form of a software .
![sass](https://i.ytimg.com/vi/bE31y5HbukA/maxresdefault.jpg)
 
### __Deployment Model :__

* There are three different ways to deploy cloud services: on a public cloud, private cloud or hybrid cloud. Which deployment method depends on your business needs.

### There are mainly three types deployment model :
- Public  cloud 
- Private cloud 
- Hybrid  cloud 
- Multi   cloud

### __Public cloud :__ 
This is the most common type of deployment model where the cloud resources like servers and the storage are completely stores on a third party cloud provider and delivers over the network . 

__Features :__
* Lower costs : 
Because they run on a pay as you go model .
* No maintenance : 
The cloud provider manages and checks the status of the server . 
* Highly available : 
Access any time and anywhere with zero downtime .

### __Private cloud :__
* This type of model is used by business or organizations which do some confidential work and they want their data to be compromised.
* Resources (like servers and storage) are stored on a on-site datacenter .
* If it is stored on a third party cloud provider then it is stored on a private network .  

__Features :__
* __More flexible :__ organization can customise according to their need .
* __More secure :__ Because it is inside a private network .

### __Hybrid cloud :__
* It is the combination of public and private cloud which allow our application to move between public and private cloud .

* The hybrid cloud is evolving to include edge workloads as well. Edge computing brings the computing power of the cloud to IoT devices closer to where the data resides. By moving workloads to the edge, devices spend less time communicating with the cloud, reducing latency and they are even able to operate reliably in extended offline periods.

* A hybrid cloud platform gives organizations many advantages—such as greater flexibility, more deployment options, security, compliance and getting more value from their existing infrastructure. 

__Features :__
* __Control :__  
Organization can maintain a private cloud to store it's sensitive data .
* __Flexibility :__
You can take additional resources from the public cloud when you needed .
* __Cost effective :__
With the ability you get to scale to public cloud you can maintain a pay as you go model .

### __Multi Cloud :__
* As like we have replicas running of the software same way we can configure multiple cloud providers to run the application .
* As the name suggest you can configure multiple cloud providers to run the application .
* You can check the availability zones and the regions provided by cloud providers .
* If you want to setup a edge server in multiple counties then go ahead with which cloud has the maximum reach in that country . 

__Features :__
* __Avoid Single point of failure :__
Running multiple replicas in multiple instances in multiple regions in multiple cloud providers of your application can save you from single point of failure .

* __High performance :__
Planning to set up edge servers then go ahead with multi cloud .

# __Thanks for Reading__ 🤖🤖🤖