Today i’m going to answer a question from sasha the co-founder of a b2b marketplace his question is what’s the difference between a server and a cloud hosting and before answering this question let’s add a bit of context.
Sasha and his co-founder already developed the first version of a product they are now undertaking the version 2 of their development and they are considering moving to amazon web services as a cloud hosting solution moving an application to the cloud is usually a very good option.
Read also : Best SEO Tools 2020
Because we are not renting a server anymore but we are buying a delivered service instead and let’s make a quick explanation when we use a classical server basically you are in a data center.
Let’s this is a data center then you will rent one server and in this server this one b will belong to you you will put some data base some files for your application as well as your application let’s say that we put everything in a zip file up that’s it file that’s everything that will be on your server.
The point is if something goes wrong like if for some reason this server crashes you lose everything and that’s really a shame because in that case what you need to do you need to get another server.
Maybe on the same data center or somewhere else and you need to hopefully, you have some backups so you might have some backups for your application.
Read also : Best Cloud Hosting 2020
Your files and your database maybe that’s going to be some old version of the backups and you will have to reinstall everything on the new server and then move the domain name on the new server ip.
That can take something between one hour to 24 hours to solve everything if you already have the skillset to manage it so that’s basically complex now, let’s see how cloud services work for example amazon.
Web services will data center all over the worlds with thousands of computers when you use their services you basically do not have one server attributed to your service, but the service you buy will be dispatched across dozens of servers and even across several data centres.
Let’s see how it works so basically on this data centre you will have several services you will have services for applications you will have services for our drive or storage then you will have services for maybe ai artificial intelligence or backup services etc.
That’s not one server that will be dedicated to one service but that’s a group of servers that will be dedicated to one service and the beauty of a real cloud service is that you just need to worry about developing your application and if something goes wrong and if everything is set up correctly the cloud handles everything.
You don’t even have a downtime, the downtime is a time where when the server crash maybe our website is going to be down and not working it doesn’t happen anymore when you are on a real cloud server.
The cloud provider use what we call a load balancer which switch clients requests from one server to another automatically basically here is how it looks like this is a load balancer.
The load balancer will get to client requests when you have someone in front of his computer he gonna ask for something this request will be automatically dispatched to one server and if this server crash at the exact same time.
It’s not a big deal because the load balancer will automatically dispatch the request to another server etc and even if you have thousands of requests or the requests will be entered automatically by a bigger amount of servers.
So i think you get the point you don’t need to have an engineer 24/7 available no need to spend days and weeks setting up manual architecture manually we can build on a cloud provider similar architecture.
To large companies which are very high reliability with still being a start-up so basically any technical issues are under the responsibility of the e cloud provider which make the solution more reliable.
With automatic failover and with database as services which enable you to handle on all your data with a single service and you don’t need to be worried about if your server crashed or not and that.
Also allows you to build a high availability electric architecture which means that it’s going to switch from one server to another if there is any issue so to conclude sascha’s question’s, answer with the cloud solutions any technical issues are under the responsibilities of the cloud provider which make things easier and more reliable or with automatic failover database services.
Which is a lot easier to manage backup and restore and also with a ready-to-use high availability architecture with almost no downtime so the last question you might ask is what are the drawbacks of the cloud architecture and i can see three small drawbacks.
First the technology dependencies secondly the costs and third the application need to be adapted for it and this last point is especially what i’m going to talk about in my next content what changes need to be made on an application to be cloud compatible and now if like sasha you have a specific question for your project just go ahead and ask on pastiin.com slash ask and i will do my best to answer your question by a content or to redirect you to existing content that will answer it and also be sure to go through other content at pastiin.com to learn from more from growth startup waiting for your question.