AWS

auto-create CloudWatch Alarms for APIs with Lambda

In a pre­vi­ous post we dis­cussed how to auto-sub­­scribe a Cloud­Watch Log Group to a Lamb­da func­tion using Cloud­Watch Events. So that we don’t need a man­u­al process to ensure all Lamb­da logs would go to our log aggre­ga­tion ser­vice. Whilst this is use­ful in its own right, it only scratch­es the sur­face of what …

auto-cre­ate Cloud­Watch Alarms for APIs with Lamb­daRead More »

You need to sample debug logs in production

It’s com­mon prac­tice to set log lev­el to WARNING for pro­duc­tion due to traf­fic vol­ume. This is because we have to con­sid­er var­i­ous cost fac­tors: cost of log­ging : Cloud­Watch Logs charges $0.50 per GB ingest­ed. In my expe­ri­ence, this is often much high­er than the Lamb­da invo­ca­tion costs cost of stor­age : Cloud­Watch Logs charges $0.03 …

You need to sam­ple debug logs in pro­duc­tionRead More »

Serverless observability, what can you use out of the box?

part 1 : new chal­lenges to observ­abil­i­ty part 2 : 1st par­ty observ­abil­i­ty tools from AWS <- you are here part 3 : 3rd par­ty observ­abil­i­ty tools part 4: the future of Server­less observ­abil­i­ty In part 1 we talked about the chal­lenges server­less brings to the table. In this post, let’s look at 1st par­ty tools from AWS …

Server­less observ­abil­i­ty, what can you use out of the box?Read More »

how to do fan-out and fan-in with AWS Lambda

In the last post, we look at how you can imple­ment pub-sub with AWS Lamb­da. We com­pared sev­er­al event sources you can use, SNS, Kine­sis streams and DynamoDB streams, and the trade­offs avail­able to you. Let’s look at anoth­er mes­sag­ing pat­tern today, push-pull, which is often referred to as fan-out­/­fan-in. It’s real­ly two sep­a­rate pat­terns …

how to do fan-out and fan-in with AWS Lamb­daRead More »

My top picks from JeffConf Hamburg 2018

All the videos from Jef­f­Conf Ham­burg is now avail­able on YouTube. You can also find slides and sketch­notes from the agen­da page on their web­site. There were a lot of good talks to pick from, but here are my top 3. Simon Ward­ley : Why the Fuss about Server­less? (slides) Admit­ted­ly I have seen var­i­ous …

My top picks from Jef­f­Conf Ham­burg 2018Read More »

What is the best event source for doing pub-sub with AWS Lambda?

AWS offers a wealth of options for imple­ment­ing mes­sag­ing pat­terns such as pub-sub with Lamb­da, let’s com­pare and con­trast some of these options. The pub-sub pat­tern Pub­lish-Sub­scribe (often short­ened to pub-sub) is a mes­sag­ing pat­tern where pub­lish­ers and sub­scribers are decou­pled through an inter­me­di­ary bro­ker (ZeroMQ, Rab­bit­MQ, SNS, etc.). SNS + Lamb­da In the AWS ecosys­tem, the obvi­ous …

What is the best event source for doing pub-sub with AWS Lamb­da?Read More »

This blog is now serverless!

I have been think­ing about dif­fer­ent host­ing options for this blog for some time, even just to stop my friends from jok­ing about the fact that I have been so vocal about Server­less tech­nolo­gies and yet, my per­son­al blog runs on Word­Press! How­ev­er, as some­one who enjoys writ­ing and have lit­tle inter­est in fid­dling with …

This blog is now server­less!Read More »

Guys, we’re doing pagination wrong…

These are the words that I had to mut­ter quite a few times in my career, at the dis­sat­is­fac­tion of how pag­i­na­tion had been imple­ment­ed on sev­er­al projects. Still, that dis­sat­is­fac­tion is noth­ing com­pared to how I feel when I occa­sion­al­ly had to ask “why is this API not pag­i­nat­ed..?” So, tak­ing a break from my …

Guys, we’re doing pag­i­na­tion wrong…Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close