Hi, I am Abhishek and welcome to my website. Here are 5 recent posts I have written. If you want to see a list of all posts I have written, I have got an archive. You can also start from a tag of choice. Apart from being a tech geek, I am also a hobbyist photographer. Here are some photos and my Instagram profile. Enjoy!


June 15, 2018

Aws Lambda Integration With Api Gateway Without Proxy Integration

I was looking into using AWS API Gateway with a AWS Lambda without proxy integration today and I couldn’t find enough resources on how to configure the integration response for throwing non-200 status codes on failures. Turns out, its not that complicated. So here we go. I had a simple JAVA based lambda that for our very limited purposes just throws an exception. I tried returning a well-formed JSON response but that doesn’t seem to work. Read more

May 26, 2018

Invalidating Cache for Static Website With S3 and Cloudfront - Part 2

In an earlier post, I talked about a python based lambda to invalidate the static website cache. In this post I am going to talk about a JAVA based lambda. The underlying logic remains the same, so I am going to concentrate more on the code. The handler The lambda handler is the ingress point for the S3 event. When it receives an event, it parses through the list of updated/added objects, prepends ‘/’ to it and calls CloudFront for invalidation. Read more

May 2, 2018

Maven Archetype for Aws Lambda

I recently started playing with AWS Lambda and migrated a couple of my projects that suited the model to it. While re-writing some of those things, the one thing I missed the most was an automatic way to generate all the boilerplate code I need for every Lambda. Thus, I ended up writing an archetype for creating AWS Lambdas in JAVA. The code for it is on Github and it comes with a README on how to use it. Read more

April 8, 2018

Getting a Tags Page

I wanted to get a page with all the tags in it sorted by the number of posts referencing each. The goal was to provide visitors to pick a tag of choice and be able to read posts in it. As I have talked about in previous posts, I am using Hugo for my site, so this post will be focussed on how I got it done on Hugo. Read more

March 25, 2018

Cleaning Up My Facebook Account

The Facebook and Cambridge Analytica fiasco brought up a very fundamental question: what more is required on part of the end-user to ensure that their accounts are secure. If you aren’t aware of the aforementioned fiasco, a company called Cambridge Analytica retrieved a bunch of data from Facebook using Facebook apps and other means, to draw up profiles and influence voters for Brexit and the recent US Presidential election. If you want to read more about the fiasco, here’s a nice article on it. Read more

© All copyrights reserved by Abhishek Dey Das. All opinions are personal and does not reflect that of my employer or organizations I am associated with.