You may heard of many cloud services like - AWS, Google Cloud, Digital Ocean, Heroku. But today if you want to host a website there are two main options left.
- App / Server less Compute
In this option you store your web app as a function, function then can be host any other server, number of server will be increased as demand grows, so there is no server error, fast loading.
web services for server less compute are
Google Cloud Functions / Firebase Hosting, AWS App Runner
- These services provide server less compute, so that you can focus on your code without tensions of server uptime.
- If you're familiar with docker and concept of containerization, it's just the same thing that goes with your app.
- Cloud Services offers generous pricing, such that you have to pay only the price, the compute power you have used.
- These services generally comes with a lot of security like SSL.
-
Virtual Machine Compute
- Create a instance of a machine with some OS like ubuntu in it with specific amount of ram, storage, CPU and other resources given to a machine.
- It's a simple computer somewhere in there data center, which is assigned to you.
- It can't scales with demand, no security provided.
- Advantage, price is fixed.
Cloud services providing this type of service are.
Google Compute, Amazon EC2, Digital Ocean Droplet
- most famous amazon EC2 instances, can be used for some computation demanding task, like solving a sudoku, editing or resizing photos, sending mails or notification at regular time interval.
- you can use this compute instances, other than web hosting, APIs. used for analyzing data, logs and many more thing, rendering videos, training machine learning models.
At last you can consider a difference between server less compute and a compute service is similar to Containerization and Virtualization.
This is not sponsored by anyone.
Top comments (0)