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:
You can read more on this blog post.
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.
- Download the Nimbella CLI.
- Run
nim login
to login or sign-up if you don't have an account (it's free and convenient). - 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!