• SparkJava Maven Archetype with .war generation

    Spark Java is a Java 8 based lightweight framework which I highly recommend for writing APIs. It is so simple that it comes with an embedded jetty. However, in real world production you’d want to run it in an external container like Tomcat, JBoss, or Jetty (external), etc. I found a SparkJava Hello World archetype, however, it uses the embedded jetty. I was able to fork the repo and add .war support to it.

    The fork is here

    This post walks through the usage.

    Read on →

  • AWS Lambda with Serverless Framework and Java/Maven - Part 1

    Serverless is a node.js based framework that makes creating, deploying, and managing serverless functions a breeze. We will use AWS as our FaaS (Function-as-a-Service) provider, although Serverless supports IBM OpenWhisk and Microsoft Azure as well.

    In this tutorial, we will create and deploy a java-maven based AWS Lambda function. In Part-1 we will not modify any code, or even look at the generated code. We will focus on the deployment and the command line interface to manage lambda, provided out of the box by serverless framework.

    Read on →

  • Notes from AWS Lambda Deep Dive Webinar

    I’ve put together my notes from the AWS webinar, which can be seen here.

    Lambda is the key enabler and a core AWS component for serverless computing. Lets you run the code you want, without worrying about the underlying infrastructure and provisioning. It is also cost efficient, as there are no instances that are in running state but idle. Lambda handles scaling up and scaling down as needed, transparently to the customer.

    Read on →

  • AWS Training at Marqeta : SQS Lab

    This post is the handout for the SQS Lab I ran as a part of hands-on AWS training to the Engineering + DevOps team at Marqeta.

    Read on →

  • AWS Primer and Quickstart Presentation

    Slides from my introductory talk on AWS at Marqeta.

    Read on →