Compute Infrastructure

Use Virtual Servers to build highly available and scalable web app

Share this post:

IBM Cloud infrastructure services offer a collection of infrastructure services like compute, storage, network, security, VMware and more. With this in place, let’s explore what it takes to build a highly available and scalable web application on IBM Cloud.

To do that we added a new tutorial to our collection with a step by step guide. In this tutorial, you will learn how to:

  • Create and configure a load balancer
  • Create and configure two application servers running on Ubuntu with NGINX and PHP installed
  • Create and configure a MySQL database server
  • Configure a durable file storage service to store application files and backups.

The tutorial uses the following IBM Cloud products:

 

  1. The user connects to the application.
  2. The Load Balancer selects one of the healthy servers to handle the request.
  3. The elected server accesses the application files stored on a shared file storage.
  4. The server also pulls information from the database and finally renders the page to the user.
  5. At a regular interval, the database content is backed up. A standby database is the server is available in case the master fails.

Try it today

There is more to discover in this IBM Cloud Infrastructure tutorial. We encourage you to go through the tutorial. It will guide you how to provision multiple servers, set up a load balancer, install and configure MySQL server, configure file storage for backups and more. 

View the tutorial

The tutorials section has a feedback form on the side where you can comment on the content. So if you have suggestions on the existing tutorials or ideas for future additions, please submit your feedback.

Full-Stack Software Developer & Developer Advocate at IBM Cloud

More Compute Infrastructure stories
April 29, 2019

Transforming Customer Experiences with AI Services (Part 1)

This is an experience from a recent customer engagement on transcribing customer conversations using IBM Watson AI services.

Continue reading

April 26, 2019

Analyze Logs and Monitor the Health of a Kubernetes Application with LogDNA and Sysdig

This post is an excerpt from a tutorial that shows how the IBM Log Analysis with LogDNA service can be used to configure and access logs of a Kubernetes application that is deployed on IBM Cloud.

Continue reading

April 26, 2019

Updated Tutorial: Database-Driven Chatbot

The tutorial on how to build a database-driven chatbot has been updated. It's now simpler to deploy and and offers more options—Slack, Facebook Messenger, Wordpress, and more.

Continue reading