AWS – Serverless
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. Its a very easy to deploy public website that relies on ZERO webservers. It also has an admin page to easily edit the status pages and objects etc. It also supports input via API and publishing actual monitoring data from AWS. Its designed to be incredibly cheap to run with 30,000 hits predicted to cost less than $1
Its built using a number of AWS technologies listed below if you unfamiliar with these I would strongly suggest learning more.
- API Gateway
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
The demo admin page is here . The deployment is incredibly straight forward and all done with Cloudformation so i haven’t gone into any detail here.
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 by my next blog post.