Serverless / Cloud Ecosystem

Serverless / Cloud Ecosystem

Read: Google App Engine vs Google Compute Engine?

  • Heroku is a cloud platform as a service (PaaS) supporting several programming languages. Heroku, one of the first cloud platforms. All Heroku services are hosted on Amazon’s EC2 cloud-computing platform. Heroku was acquired by Salesforce.com in 2010. Heroku calls containers Dynos.

Elastic Computing

Cloud VM Infrastructure (IaaS)

Infrastructure as a Service (IaaS)

  • at least one instance must be up all the time

There are 3 biggest cloud systems available:

  1. Amazon Elastic Compute Cloud (Amazon EC2)
  2. Microsoft Azure Virtual Machines
  3. Google Compute Engine (GCE)
  4. Others: Hetzner Cloud, DigitalOcean, Linode, etc

Scalable hosting service (PaaS)

  • no running instances if not needed. They are automatically shut down after 15 minutes of inactivity.
  • apps have an app context that survives across individual requests (Lambdas don’t support this)
  • priced on instance-hours, regardless of how many requests a particular instance serves

Platform as a Service (PaaS) Far more flexible than “lambdas”.

Main platforms available are:

  1. Google App Engine; code can be written in many languages like: (Node.js, Java, Ruby, C#, Go, Python and PHP). You can even provide your own Docker image that provides the runtime you want. You can ssh into the servers for custom code deployment. It was created way before Google entered Cloud business.

  2. Heroku Platform

  3. AWS Elastic Beanstalk

Pure Serverless Functions (Lambdas, FaaS)

FaaS (Functions as a Service)

  • priced by execution (invocation)
  • single runtime (usually node.js)
  • don’t have an app context that survives across individual requests
  1. [Google Cloud Function] only supports a single runtime environment using NodeJS. Whereas GAE supports several other popular programming languages.

  2. Netlify Functions; powered by AWS Lambda. Simplified by Netlify. Deploy AWS Lambda functions without configuring API gateways

  3. Now.sh by Zeit is also lambda platform

Comparing serversless platforms

Deconstructing Serverless Computing Part 3: Ninety-Nine Platforms but How to Choose One?

BaaS ?

AWS Cognito and Google Firebase

Roughly speaking, serverless technologies can be broken down into two categories, backend-as-a-service (BaaS) and functions-as-a-service (FaaS).

BaaS has its roots in Mobile BaaS (MBaaS), a set of technologies, such as Facebook’s Parse, that provided backend support for mobile apps. While FaaS only offers to execute users’ code, BaaS offers a complete online service. Google’s Firebase, for instance, offers a fully managed and hosted database.

Database Services

Storage & CDN

date 01. Jan 0001 | modified 10. Jun 2024
filename: Serverless _ Cloud Ecosystem