AWS – Serverless
Serverless is one of those stupid names within IT that doesn’t really explain whats going on. Its led to the comical meme below
But buzzword bingo aside what is it and what can you do with it? Well, my AWS cert is due to expire shortly and I haven’t played with it for a good while. So I decided to build something to demonstrate the power of it.
I run a few services on some of my lab kit (Mail/Web/Spam filtering etc ) So I decided to deploy a Serverless status page using some of the funky AWS services. This is built using lamb status. Now they have done a huge amount of work on this and all credit goes to them. It’s very easy to deploy a public website that relies on ZERO webservers. It also has an admin page to easily edit the status pages objects etc. It also supports input via API and publishing actual monitoring data from AWS. It’s designed to be incredibly cheap to run with 30,000 hits predicted to cost less than $1
It’s built using several AWS technologies listed below if you are unfamiliar with these I would strongly suggest learning more.
- Cloudformation
- Cloudfront
- S3
- Lambda
- Cognito
- API Gateway
- DynamoDB
The finished public result is here giving public info on the services I run. I have added some demo incidents to see what they would look like.
In reality, this is total overkill but it was nice to see what some people are deploying on AWS and especially the serverless functions
I will work on getting some of the metrics from my servers into this status page and it also allows you to add your own domain rather than the CloudFront one I am using hopefully that will be my next blog post.