Some of the best Serverless runtime platforms to host your serverless applications.
Serverless architecture doesn’t mean you don’t need servers. Instead, you need less server to manage. In a traditional application, you manage the entire application logic execution on a VM, physical or cloud server. However, the trend is changing.
By going serverless architecture, you offload the application code execution task to a serverless computing platform. It got many benefits.
- You don’t need to worry about hosting runtime (Node.js, Python, Go, etc.)
- Pay what your application consume (cost-effective)
- Don’t worry about application grown demand (scalable)
- Let provider manage the security, software updates
- Easy integration with other services offering by the provider
- Fast time to application deployment and changes
Its a great deal for a developer and business owner where you focus on your code and expert handle the execution. If you are new to Serverless, then you may refer to this introductory course.
Let’s explore the following FaaS (Functions as a Service) platform.
AWS Lambda is one the first to offer a platform where you run your code and administration is managed (behind the scene) by AWS.
Initially, it was supporting only Node.js, but today, you can run Python, Go, Java, C#.
As you can see the illustration, you need to upload your application code, and Lambda will take care of the execution. You can either do it manually or automate it by triggering through AWS services or web application.
AWS Lambda can be helpful in many real-time scenarios like file processing, streaming, data validation, data transformations, handling API requests, etc.
Some of the features:
- Seamless integration with other AWS products
- Stateless Lambda functions
- High-available and fault-tolerant infrastructure
- Extensive logging and monitoring
- Automatic scaling
- and many more…
Good news if you want to play around, AWS offer 1 million requests and 400,000 GB-seconds compute time at no cost under free tier.
Free tier would be sufficient for hobby or small project. If you are interested in learning, then you can check this hands-on online course by Stephane Maarek.
And if you are worried about the regulation, then AWS Lambda is HIPPA, PCI, ISO and SOC compliant.
You heard it right.
Cloudflare is not just a CDN and security company; they offer a lot more than that.
You can integrate workers with the Serverless framework for faster deployment. You can get it started from as low as $5 per month.
They got a few scripts (recipes) for you to take a look and play around to get familiar with.
Event-Driven computing which supports a large number of programming languages.
Azure Functions take care of infrastructure demand by your application and scale up or down as and when required. You don’t have to worry about capacity planning.
You can trigger a function from a web application, HTTP API from a mobile application, blob storage, streaming, webhooks and a lot more.
Pricing is based on the total time it takes to run your code. There is no upfront cost, and Azure offer 1 million executions in FREE every month.
Go ahead and leverage Azure Functions to build your serverless application for SaaS product, API, etc.
Google Cloud offers a bunch of serverless computing solutions.
App Engine – a fully managed platform for web and mobile applications. You can deploy your application built in PHP, Python, C#, Node.js, Ruby, Go, etc. You pay for what resources your application consume and scale based on the demand.
Cloud Functions – an event-driven platform to run Node.js and Python application in the cloud. You can use Functions to build IoT backends, API processing, chatbots, sentiment analysis, stream processing and more.
There are more – Storage, Firestore, BigQuery, Dataflow, Pub/Sub, ML engine. Probably, everything you need to build an enterprise-ready serverless application architecture.
IBM Cloud Functions
IBM Cloud Functions is based on Apache OpenWhisk to develop application action which executes on an event trigger quickly.
There are some great tutorials to build a serverless application, API, mobile backend, searchable video, etc. to give you an idea of how it works.
Alibaba Function Compute
An excellent option for China and the International market. Lately, Alibaba announced serverless compute offering which let you upload and run code without managing the servers and core infrastructure.
An illustration of real-time IoT message processing serverless flow.
Alibaba offers 1 million requests in FREE per month. Good for trying out.
The serverless concept is not just FaaS (functions as a service) but a lot more. I hope the above platform helps you to build a robust application without worrying about server administration and maintenance. And most importantly, at the lower cost.
You may also be interested in checking out OpenShift interactive learning portal to learn some basic Serverless scenario.