Blue Cloud Mirror Architecture Diagrams
For the visual learners, take a look at these diagrams of the serverless technologies behind the user and score's services in the Blue Cloud Mirror game.
Join the DZone community and get the full member experience.Join For Free
blue cloud mirror is a game where players need to show specific emotions and do specific poses. in this article, i describe briefly the technologies used.
you can play the game online . all you need is a webcam and a chrome browser.
the game uses key technologies of the ibm cloud and has three main parts:
- core game: implemented as a serverless web application since it is primarily used during conferences only
- user's service: implemented via ibm cloud private to avoid storing the personal data in a public cloud
- score's service: implemented via cloud foundry enterprise edition to highlight easy changes via the "cf push experience" (for example, theme adoptions for different conferences).
thomas, harald and i have planned to write more articles about the different parts of the application. this article gives a high-level overview.
the first diagram gives an overview of the key components.
note that there are two different versions per diagram. one version describes what we use in the github project. that version uses minikube for the user's service and cloud foundry public applications for the score's service so that even ibm cloud users with a free lite account can run it. the other version uses the enterprise technologies ibm cloud private and cloud foundry enterprise environment.
the next diagrams add more details about the three main parts.
the core game is a serverless application hosted on the ibm cloud via cloud object storage and ibm cloud functions. the users, scores, and twitter apis are invoked via lite api management. with lite api management and app id user authentication and authorization can be implemented.
the score's service has been implemented via the cloud foundry node.js buildpack. a second buildpack is used to host the web resources of the web application which displays the highscore list.
the user's service has been implemented via node.js running in kubernetes. the data is stored in apache couchdb. the service can be invoked from the public cloud via secure gateway.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.