Home » Tag Archives: Couchbase

Tag Archives: Couchbase

Microservice using AWS Serverless Application Model and Couchbase

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 blog will also use the ...

Read More »

Microservice using AWS API Gateway, AWS Lambda and Couchbase

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 is a fully managed service ...

Read More »

AWS IoT Button, Lambda and Couchbase

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 AWS IoT Button Use IoT Button as trigger ...

Read More »

Couchbase Cluster on Mesos with DC/OS

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 runs on Mesos and run tasks on these slaves. Marathon is a container orchestration platform running on Mesos.Multiple container formats are supported ...

Read More »

Persisting Couchbase Data Across Container Restarts

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 provide some recommendations for running it as 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 Per-Container Storage If a Couchbase container is ...

Read More »

Kubernetes Cluster on Azure and Expose Couchbase Service

This blog is part of a multi-part blog series that shows how to run your applications on Kubernetes. It will use the Couchbase, an open source NoSQL distributed document database, as the  Docker container. Part 1 explained how to start Kubernetes cluster using Vagrant – Kubernetes on Vagrant Part 2 did the same for Amazon Web Services – Kubernetes on Amazon Web Services Part 3 did the same for ...

Read More »

Couchbase XDCR using Docker Swarm, Machine and Compose

Cross Datacenter Replication (XDCR) in Couchbase provides an easy way to replicate data from one cluster to another. The clusters are typically set in geographically diverse data centers. This enables for disaster recovery or to bring data closer to users for faster data access. This blog will show: Setup two data centers using Docker Swarm Run Couchbase containers on each node of Docker Swarm ...

Read More »

Scaling and Rebalancing a Couchbase Cluster using CLI

Couchbase provides high availability and disaster recovery in several ways: Homogenous cluster Replication Intra-cluster replication Cross-data center replication (XDCR) Backup and restore Rack zone awareness This blog will show how to create a Couchbase cluster using Couchbase Command Line Interface (CLI). In addition, these steps can also be performed using the Couchbase REST API and the Couchbase Web Console. Couchbase nodes in ...

Read More »

Couchbase Cluster on Docker Swarm using Docker Compose and Docker Machine

This blog post will explain how to create and scale a Couchbase Cluster using full armor of Docker – Docker Machine, Docker Swarm and Docker Compose. Here is what we’ll do: Create a 3-node Docker Swarm Cluster using Docker Machine Run a Couchbase instance on two nodes Create a cluster Rebalance the cluster Scale and rebalance the cluster again Docker Swarm Cluster ...

Read More »

Couchbase on Kubernetes

This blog is possible because of this tweet! Had a great #Couchbase #Kubernetes hacking session with @saturnism, learned a lot, look forward to some nice blogs. — Arun Gupta (@arungupta) February 27, 2016 Kubernetes is an open source orchestration system by Google for Docker containers.  It manages containerized applications across multiple hosts and provides basic mechanisms for deployment, maintenance, and scaling of applications. It allows the ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns