/serverless-chess

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Serverless and Portal Chess

This is serverless-chess, the game of chess implemented as a portable serverless cloud application. This single project may be deployed, as is, to multiple serverless clouds. It is an example of the power of a true, portable, multicloud serverless platform.

Here is a list of deployments in the various cloud:

And here you can see it also running in a custom built AWS EKS Cluster:

Serverless Chess in AWS EKS

You can read more on this blog post.

Deployment

You can deploy your own serverless chess app to the Nimbella serverless cloud in three steps. Skip 1 & 2 if you already have an account setup locally on your machine.

  1. Download the Nimbella CLI.
  2. Run nim login to login or sign-up if you don't have an account (it's free and convenient).
  3. Run the Nimbella deploy command.
nim project deploy github:rabbah/serverless-chess

You will see output that looks like this:

Deploying project 'github:rabbah/serverless-chess'
  to namespace 'your-example-domain'
  on host 'https://apigcp.nimbella.io'
Started  running ./build.sh in github:rabbah/serverless-chess/packages/default/chess
Finished running ./build.sh in github:rabbah/serverless-chess/packages/default/chess

Deployed 1 web content items to
  https://your-example-domain-apigcp.nimbella.io
Deployed actions:
  - chess

You can open your browser to the shown web URL to start playing chess. Enjoy!