Falken
2020-10-28
Falken is a lightweight serverless application that can serve as a scoreboard for wargames exercises for DevOps (or other) teams.
Using the serverless framework makes deploying this simple React application, associated lambdas and infrastructure quick and easy. The React application (bundled with Parcel) is deployed to an S3 bucket with web hosting enabled. An AWS Lambda function accessable over API Gateway and running an Express JavaScript application provides endpoints for reading and updating score data from a DynamoDB table.
Updates to the scores are done from a second lambda that receives updates via an SQS queue. This means that if you can run Falken from somewhere that has access to the infrastructure you are running exercises on you can automate evaluation and scoring activities. Even if that isn't a possibility for your team you can do limited external testing (such as in the "traffic" example lambda) to provide some automation and suppliment it with manual score changes administered by Game Masters over the API.
"Falken" is the reference to the 1983 movie "WarGames". In the movie Dr Falken created the Artificial Intelligence that will inadvertently cause a thermonuclear war.