-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Deploy a Serverless Web Application
Build and deploy a completely serverless web application on the IBM Cloud in less than 10 minutes
Serverless platforms, like IBM Cloud Functions powered by Apache OpenWhisk, provide a runtime that scales up or down automatically in response to demand. This results in overall lower cloud resource consumption and a better match between business value gained and the cost of the resources that are used. One of the key use cases for Cloud Functions is to deploy a web application without the need for a web server.
- IBM Cloud Functions
- IBM Cloud Storage
- IBM App ID
- Cloudant
Quite often, hosting a web application means running server software that always up, waiting for requests whether it is serving up content or not. A more streamlined approach would be to only consume resources when users are looking to utilize a particular application. This project shows how serverless, event-driven architectures execute code to host resources for web applications.
This pattern contains IBM Cloud Functions for the server side business logic of web applications, as well as other components and functionality that you typically need like databases and API management. The static resources are also stored in the cloud without having to deploy servers. Additionally the authentication of users is done completely serverless as well.
Scripts are provided prepare your application, or if you prefer you can set through the instructions to:
- Create a new or reuse an existing App ID service instance
- Create a new or resue an existing Cloudant service instance
- Setup a Cloud Function for login
- Setup a Cloud Function for protected API access
- Setup web application
- Create a new or reuse an existing Object Storage service instance
- Setup a Cloud Function to access static resources
- Setup a custom domain
-
The business case for serverless - There is one extraordinarily compelling reason above all others to adopt a serverless-first approach: it is the best way to achieve maximum development velocity over time.
-
What makes serverless architectures so attractive? - Serverless architectures are one of the hottest trends in cloud computing this year, and for good reason. There are several technical capabilities and business factors coming together to make this approach very compelling from both an application development and deployment cost perspective.
-
Build a cloud-native app with Apache OpenWhisk - At this live coding event, Daniel Krook provides an overview of serverless architectures, introduces the OpenWhisk programming model, and then deploys an OpenWhisk application on IBM Cloud, while you watch, step-by-step.