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

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

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

Best Practices for Virtualized Platforms provide best practices for running Couchbase on a virtualized platform like Amazon Web Services and Azure. In addition, it also provides some recommendations for running it as a Docker container. One of the recommendations is to map Couchbase node specific data to a local folder. Let’s understand that in more detail. Implicit […]

Read more

One of the attendees from Kubernetes for Java Developers training suggested that I try minikube for simplified Kubernetes development and testing. This blog will show you how to get started with minikube using a simple Java application. Minikube starts a single node Kubernetes cluster on your local machine for rapid development and testing. Requirements lists the exact set of requirements for different operating systems. This […]

Read more