Automate database backups with AWS Fargate, S3 and CDK
I love how Serverless enables simple solutions to common DevOps tasks: in this article I describe one simple way to automate MongoDB database backups using AWS Fargate, S3, and CDK.
I love how Serverless enables simple solutions to common DevOps tasks: in this article I describe one simple way to automate MongoDB database backups using AWS Fargate, S3, and CDK.
A few days ago I forgot to renew one of my registered Internet domains which I believed was set to auto-renew and received a few alerts when affected services started to fail. I hence took the chance to setup a simple and free monitoring solution to avoid incurring again in this same problem once and for all. Powered by AWS CDK, Python and WhoisXML
Google's Lighthouse is a powerful free resource that helps developers build performant, accessible and SEO friendly websites. Here I show one way to make use of Lighthouse to add performance monitoring for web pages using Serverless components on AWS.
For my reading habits in the recent years I've been using p2k.co service to send Pocket articles to my Kindle. I decided to fix some of p2k shortcomings replacing it with an event-driven serverless application built with AWS Lambda, Fargate and CDK
Moving from a previous CDK article I expand the publish-to-social code base to add a nice report functionality. In this article I show you how easy it is to introduce Lambda Destinations in your CDK project and make use of them for this particular use case. For the frontend part I use Svelte web framework to present the Lambda report JSON output as web page content.
With CDK is easy to organize AWS resources and share them between Stacks when needed. In this article I show you how I split an `api` Lambda in two, one for handling the API Gateway requests and the other for sending messages to an external notifications service.
After successfully replacing Terraform with CDK in a real life project I take the chance to wrap up the new knowledge along with some Terraform vs. CDK kind of considerations. I also synthesize the acquired know-how in a mini tutorial based on the actual code used in the production scenario.