Some of the best 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 the 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.
I like the name – Now.
Now by Zeit is perfect for developers. You build and push the code and rest is managed by Now. Don’t worry about hosting optimization or managing the configuration.
It supports Node.js, PHP, Go, React and many more. The great time-saving advantage is it re-builds only the changes instead of the whole application repository. Once you push the code changes, deployment is visible in seconds. You can get it started in FREE and scale as your application grows.
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 on building 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.
EdgeEngine by StackPath deploy serverless functions written in JS, Perl, Rust, Go, C++, PHP, etc. near to your audience’s network edge for faster response time. The latency of EdgeEngine is as low as 50ms.
Pricing starts from $10 per month which includes 15 million requests and unlimited scripts. And, without doubt, you can scale up.
Executing functions at the edge network got many advantages such as user’s personalization content, application performance improvement, quicker deployment, etc.
Going serverless is a great way to save the hosting and infrastructure management cost. Moving legacy application can be challenging; I get that. But, if you are building a modern new app, you should consider serverless in your architect. Here are some of the useful resources to learn Serverless.
- OpenShift interactive learning portal
- Serverless Architecture on AWS
- Learn to build apps with Serverless