DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Developing Serverless Web Applications on the IBM Cloud

Developing Serverless Web Applications on the IBM Cloud

In this introduction to a miniseries about IBM cloud, we take a look at a diagram with information on the flow of IBM Cloud.

Niklas Heidloff user avatar by
Niklas Heidloff
CORE ·
Jan. 16, 19 · Tutorial
Like (3)
Save
Tweet
Share
3.80K Views

Join the DZone community and get the full member experience.

Join For Free

with serverless platforms like ibm cloud functions , different types of scenarios can be built. very common scenarios are apis and web applications. i’ve open sourced some code that shows how to build and deploy a completely serverless web application on the ibm cloud in less than 10 minutes.

check out my repo .

the sample contains not only serverless functions for the server side business logic of web applications but also 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.

watch this 10 seconds video to see the authentication flow.

image title


this diagram describes the main components:

serverless-web-app

i’ve written several scripts to make the deployment of the sample application very simple. a new ibm cloud user should be able to set up the sample in less than 10 minutes . if you want to give it a try, get a lite account (free, no credit card required), install the prerequisites and run the scripts as described in the repo.

the scripts create instances of cloudant, app id and object storage. lite account users are limited to one instance per service which is why i’ve also documented how to use existing service instances.

i’ll blog more about how i’ve implemented the different parts over the next days. for now you can read the readme.md and look at the screenshots in the documentation folder.

to find out more about the used ibm services, follow these links:

  • ibm cloud functions powered by apache openwhisk
  • ibm cloud functions api management
  • ibm cloud object storage
  • ibm app id
  • ibm cloudant

thanks to andrea frittoli for helping me with the app id setup.

IBM Cloud Cloud application Web Service

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Top 10 Secure Coding Practices Every Developer Should Know
  • 5 Factors When Selecting a Database
  • Load Balancing Pattern
  • Better Performance and Security by Monitoring Logs, Metrics, and More

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: