Spring Boot Microservices , Docker and Kubernetes workshop – part1

In this series of workshop we will build few micro services using spring boot, docker and then deploy them into kubernetes.
So, Lets get started.

First we need to define a problem statement to begin with. Let’s say we want to build an order management system.

Identifying domains

First step would be to understand what domains are required, for simplicity lets assume we need the following domains:

Read More »

2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 7,400 times in 2014. If it were a NYC subway train, it would take about 6 trips to carry that many people.

Click here to see the complete report.

Implement single click deployment using Jenkins and DeployIt

Problem statement : Implement single click deployment using Jenkins and DeployIt
Tools used: Jenkins CI Server, DeplyIt Plugin for Jenkins, Github plugin for jenkins, Maven for building artifact.

Detailed use case :
Lets suppose we have our code in github in a public repository and we want that every fix which goes to “deployment” branch should get propagated to a dev environment automatically.

In order to get this set up working we would need to do:
1.) Configure Jenkins with gitHub and deployIt Plugin.
2.) Configure application placeholder and environment (including infrastructure) in which deployment would take place in DeployIt.
Read More »

chef-solo with vagrant

To learn the concepts of chef, we can start by using chef-solo with Vagrant.
See my previous post on Vagrant to install vagrant and know more about it.

Next, lets install chef-solo on our machine.
We will install chef-solo using ruby gem,(for both Linux and Mac) make sure you have ruby installed.

root@intro:~# cd ~
root@intro:~# sudo gem install chef
Thank you for installing Chef!

So, now we have installed chef-solo and vagrant on our machine.
In this exercise, we will try and install apache2 on an ubuntu virtual machine (virtual box)
using chef-solo and vagrant.
To begin we would first need to understand few concepts; which would be required to run chef-solo in Vagrant.
Read More »