Compare Serverless Products

Estimates based on serverless:talent research team. Source: Product's Website

Topic
About Product

AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back end services that operate at AWS scale, performance, and security

You can use AWS Lambda to build mobile back-ends that retrieve and transform data from Amazon DynamoDB, handlers that compress or transform objects as they are uploaded to Amazon S3, auditing and reporting of API calls made to any Amazon Web Service, and server-less processing of streaming data using Amazon Kinesis. While execution environment reuse is useful, you should not depend on this for performance optimization. Lambda is a high availability service that manages execution across multiple Availability Zones in an AWS Region. Depending upon aggregate customer traffic, the service may load balance a function at any time.


Google Cloud Functions is a serverless execution environment for building and connecting cloud services. With Cloud Functions, you write simple, single-purpose functions that are attached to events emitted from your cloud infrastructure and services. Your function is triggered when an event being watched is fired. Your code executes in a fully managed environment. There is no need to provision any infrastructure or worry about managing any servers.

Pricing

Free Plan

The AWS Lambda free usage tier includes 1M free requests per month and 400,000 GB-seconds of compute time per month.

Paid Plans

Requests: $0.20 per 1M requests
Duration: $0.0000166667 for every GB-second
Data Transfer: Lambda@Edge request pricing is $0.60 per 1 million requests. (This is run functions on all the data center edges)

Example pricing:

AWS Lambda is very cheap, and 1 million invocations with the average time of 500ms and 128 MB of available memory distributed from edges would only cost approximately $1.79 USD

Free Plan

Google Cloud Free Usage includes:

  • 2 million invocations
  • 400,000 GB-seconds
  • 200,000 GHz-seconds of compute time
  • 5GB of Internet egress traffic per month

Paid Plans

Requests: $0.20 per 1M requests

Duration: $0.0000025 per GB-second 

Data Transfer: $0.12 per Outbound Data GB

Example Pricing:

1 million invocations with an average time of 500ms and 128 MB of available memory would only cost approximately $1.57 USD

Performance

Onboarding
AWS is famous for its detailed documentation, working code examples, videos, guides, tutorials and training plans. Onboarding will be easier and it will not take time be up and running. 

Scalability
AWS Lambda is designed to use replication and redundancy to provide high availability for both the service itself and for the Lambda functions it operates. There are no maintenance windows or scheduled downtimes for either. AWS Lambda is designed to run many instances of your functions in parallel. When you update a Lambda function, there will be a brief window of time, typically less than a minute, when requests could be served by either the old or the new version of your function.

Regions
The AWS global infrastructure is built around AWS Regions and Availability Zones. AWS Regions provide multiple physically separated and isolated Availability Zones, which are connected with low-latency, high-throughput, and highly redundant networking. With Availability Zones, you can design and operate applications and databases that automatically fail over between Availability Zones without interruption. Availability Zones are more highly available, fault tolerant, and scalable than traditional single or multiple data center infrastructures.

Security

Cloud security at AWS is the highest priority. As an AWS customer, you benefit from a data center and network architecture that is built to meet the requirements of the most security-sensitive organizations.

Onboarding

Start building a database in production in 5 minutes.

Scalability

Automatically done through serverless technology.

Regions

Google Cloud Regions are available on all continents. 

Backups

​Backups help you restore lost data to your Cloud SQL instance. Additionally, if an instance is having a problem, you can restore it to a previous state by using the backup to overwrite it. Enable automated backups for any instance that contains necessary data. Backups protect your data from loss or damage.

Enabling automated backups, along with transaction logging, is also required for some operations, such as clone and replica creation.

Security

Cloud SQL is integrated with Identity and Access Management (IAM) to help you better manage login access for users and service accounts to databases. This feature is called IAM database authentication.

Authentication is the process of verifying the identity of a user who is attempting to access an instance.

Technical Details

Lambda runs your code on high-availability compute infrastructure and performs all the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code and security patch deployment, and code monitoring and logging. All you need to do is supply the code.

  • No servers to manage.
  • Continuous scaling
  • Cost optimized with millisecond metering
  • Consistent performance at any scale

AWS Lambda is a serverless compute service that lets you run your code without worrying about provisioning or managing any server.


Connects and extends services to build complex applications

Cloud Functions lets you treat all Google and third-party cloud services as building blocks. Connect and extend them with code, and rapidly move from concept to production with end-to-end solutions and complex workflows. Further, integrate with third-party services that offer webhook integrations to quickly extend your application with powerful capabilities.

End-to-end development and diagnosability

Go from code to deploy, with integrated monitoring. Get full observability and diagnosability for your application with Cloud Trace and Cloud Debugger. Additionally, get support for local and disconnected development/debugging using open-sourced functions framework.

Scales automatically

Serve users from zero to planet-scale without even thinking about any infrastructure. Cloud Functions automatically manages and scales underlying infrastructure with the size of workload.

No server management 

Deploy your code and let Google run and scale it for you. Cloud Functions abstracts away all the underlying infrastructure so that you can focus on your code and build applications faster than ever before.

Runs code in response to events

Cloud Functions allows you to trigger your code from Google Cloud, Firebase, and Google Assistant, or call it directly from any web, mobile, or backend application via HTTP.

Pay only for what you use

You are only billed for your function’s execution time, metered to the nearest 100 milliseconds. You pay nothing when your function is idle. Cloud Functions automatically spins up and back down in response to events.

Avoid lock-in with open technology

Use an open-source FaaS (function as a service) framework to run functions across multiple environments and prevent lock-in. Supported environments include Cloud Functions, local development environment, on-premises, Cloud Run, Cloud Run for Anthos, and other Knative-based serverless environments.

Supported Languages
Javascript,Python,PHP,Java,Rust,TypeScript,Go,Ruby on Rails
Javascript,Python,Go,PHP,Ruby on Rails,Rust,TypeScript