This blog has explained a few Serverless concepts with code samples: Serverless FaaS with AWS Lambda and Java AWS IoT Button, Lambda and Couchbase Microservice using AWS API Gateway, AWS Lambda and Couchbase Microservice using AWS Serverless Application Model and Couchbase This particular blog entry will show how to use AWS Lambda to store tweets of a tweeter […]

Read more

This blog has explained the following concepts for serverless applications so far: Serverless FaaS with AWS Lambda and Java AWS IoT Button, Lambda and Couchbase The third blog in serverless series will explain how to create a simple microservice using Amazon API Gateway, AWS Lambda and Couchbase. Read previous blogs for more context on AWS Lambda. Amazon API Gateway […]

Read more

Amazon Web Services introduced Serverless Application Model, or SAM, a couple of months ago. It defines simplified syntax for expressing serverless resources. SAM extends AWS CloudFormation to add support for API Gateway, AWS Lambda and Amazon DynamoDB. This blog will show how to create a simple microservice using SAM. Of course, we’ll use Couchbase instead of DynamoDB! This […]

Read more

Getting Started with Serverless FaaS and AWS Lambda shows how to use a simple Java function to store a JSON document to Couchbase using AWS Lambda. This blog builds upon that and shows how an AWS IoT Button can be used as a trigger for that Lambda function. By end of this blog, you’ll learn: How to configure the AWS […]

Read more

What is Serverless Architecture? Serverless architecture runs custom code in ephemeral containers that are fully managed by a 3rd party. The custom code is typically a small part of a complete application. It is also called as function. This gives another name for serverless architecture as Function as a Service (FaaS). The container is ephemeral because it may only last for […]

Read more

Apache Mesos is an open source cluster manager developed at UC Berkeley. It provides resource isolation and sharing across distributed applications. Mesos consists of a master daemon that manages slave daemons running on each cluster node. Mesos frameworks are applications that run on Mesos and run tasks on these slaves. Marathon is a container orchestration platform running on […]

Read more

One of the new features in Docker 1.12 is a health check for a container that can be baked into the image definition. This can be overridden at the command line. Just like the CMD instruction, there can be multiple HEALTHCHECK instructions in a Dockerfile, but only the last one is effective. Why do we need it? […]

Read more

Getting Started with Kubernetes 1.4 using Spring Boot and Couchbase explains how to get started with Kubernetes  1.4 on Amazon Web Services. A Couchbase service is created in the cluster and a Spring Boot application stores a JSON document in the database. It uses kube-up.sh script from the Kubernetes binary download at github.com/kubernetes/kubernetes/releases/download/v1.4.0/kubernetes.tar.gz  to start the cluster. This script is […]

Read more

Want to create a highly-available Docker cluster on Amazon Web Services? Run multi-container applications on it using Docker Services? Docker for AWS allows you to exactly do that! This video shows: Create a highly-available Docker cluster on Amazon Web Services (0:00) Check configuration (5:43) Use Docker services to create a Couchbase cluster (8:23) Enjoy! Futher resources couchbase.com/containers provide more details […]

Read more

This blog will explain 10 containers anti-patterns that I’ve seen over the past few months: Data or logs in containers – Containers are ideal for stateless applications and are meant to be ephemeral. This means no data or logs should be stored in the container otherwise they’ll be lost when the container terminates. Instead use volume mapping to […]

Read more