Home » AWS lambda

Tag Archives: AWS lambda

KivaKit and AWS Lambda

java-interview-questions-answers

KivaKit 1.2 adds seamless support for AWS Lambda. Lambdas for REST and GRPC can be added to a KivaKit Microservice without alteration (which will make this a short article). Creating a Lambda We have already seen a KivaKit request handler for REST in the Microservices article. We will simply reuse this code as our Lambda request handler. As a reminder ...

Read More »

How to create AWS Lambda function with Java

java-interview-questions-answers

In this tutorial, we will see how we can create AWS Lambda function in Java and I tell you, it is quite easy to do so… Basically, there are three ways in which we can create AWS Lambda function : – By implementing RequestHandler interface– By implementing RequestStreamHandler interface– Custom implementation, which does not require us to implement any AWS ...

Read More »

Dynamic Content Caching with AWS Lambda, S3 and AWS CloudFront

java-interview-questions-answers

Serving content quickly is essential for any website or application to have better customer experience. If you have hosted your website or application in AWS Cloud, then it’s very easy to serve the content quickly with lower latency irrespective of where your application is being accessed from. AWS offers CloudFront service for caching the content in edge locations local to ...

Read More »

Build a RESTful API in Go using AWS Lambda

java-interview-questions-answers

In this post we will learn to design, build, and deploy a RESTful API in Go using AWS Lambda. Before starting, let me give you a brief introduction about AWS Lambda. What is AWS Lambda? AWS Lambda is a serverless compute service that runs our code in response to events and automatically manages the underlying compute resources for us. We can use AWS Lambda ...

Read More »

API Gateway & AWS Lambda for Authentication

java-interview-questions-answers

When Foreach initially stepped on the microservices wagon, we didn’t really build microservices. We thought we did, but there was always some logic present in all of our services. Of course, every service should really only focus on its own tasks and not on things that belong to another microservice. The most obvious thorn in our side was authentication and authorization logic. At a certain point, we had a couple of “micro”-services that verified the Authorization headers of ...

Read More »

CloudWatch Event Notifications Using AWS Lambda

java-interview-questions-answers

A primary use case for CloudWatchEvents is to keep track of changes across an AWS infrastructure. It currently supports events emitted across Auto Scaling groups, EC2, EBS, and various others. To do anything meaningful with these events, we need a way to consume them. AWS uses the term targets to refer to anything that wants to consume the events and ...

Read More »

My bots are now placeless. Homeless. Serverless.

java-interview-questions-answers

I usually keep an eye on various websites – for latest publications, hot new offers, limited-time games and contests, and the like. Most of these do not offer a “clean” notification system, such as an RSS feed. So I often have to scrape their HTML to get to what I need. Which means I often need to run some custom ...

Read More »

Serverless: a no-brainer!

java-interview-questions-answers

Few years ago, containers swept through the dev and devops lands like a category-6 hurricane. Docker. Rkt. others. Docker Swarm. K8s. OpenShift. Right now we are literally at the epicenter, but when we glimpse at the horizon we see another one coming! Serverless. The funny thing is, “serverless” itself is a misnomer. Of course there are servers. There are always ...

Read More »