🌱Aadam's Garden

Search

Search IconIcon to open search

Cloud Hosting

Last updated Aug 14, 2022

Source:: The Software Architecture Handbook (freecodecamp.org)


Companies like Amazon Google, and Microsoft have huge data centers, i.e. computing power. They provide services like AWS, Google Cloud, and Azure to allow others to use their compute, thus commercializing that excess unused resources.

There are different ways we can use this compute:

# Traditional

You can use them like Traditional Server Providers. You can select the kind of hardware you want and pay exactly for that based on recurring basis.

# Elastic

“Elastic” means that the hardware capacity of your application will automatically grow or shrink depending on the usage your app has. Based on your needs, the system can automatically perform Vertical Scaling or Horizontal Scaling.

This can be configured beforehand. As the servers scale up and down automatically, you pay only for the resources you consume.

# Serverless

**Source**:: [The Software Architecture Handbook (freecodecamp.org)](https://www.freecodecamp.org/news/an-introduction-to-software-architecture-patterns/)

Instead of a server that receives and responds to requests, in Serverless Computing, you have individual functions mapped to an access point (similar to an API endpoint). These functions execute when they receive a request and perform whatever you programmed them for (connecting to database, performing CRUD, etc.).

Pros

  • There’s no need for server maintenance and scaling.
    • Each function is scaled up and down automatically as needed.
  • You pay only for the amount of times the function gets executed, and the amount of processing time each execution lasts.

# Resources

# Common Providers