Home » DevOps


Get Started Quickly with Docker and Sidekiq

In the past, I had tried to set up Docker during a few different programming competitions without ever having used it before. During the crunch time, I was unsuccessful in both setting it up and learning how it worked. But in those competitions I had the good fortune that my teammates were all able to configure their environment for the ...

Read More »

Elasticsearch Throttling Indexing

Recent adventures in Zapierland had me in a somewhat scary predicament. Starting at some point last week I’d get an alert that the Elasticsearch cluster we run Graylog against had hit very high CPU, load and memory usage. I was confused… we had more than enough horsepower to handle queries and normally the cluster only uses about 10% of CPU ...

Read More »

Storing X.509 Digital Certificates (And Other Messy Things)

We often need to store structured binary data in our database – images, pdf documents, etc., but also have a need to search by, or index on, attributes of that data. E.g., we might store the height and width of an image, or the OCR text from a PDF document (for full text searches). The normal solution is to store ...

Read More »

Dense Virtualization via Linux Containers

We are living the era of buzzwords, and Docker is for sure one of those in the technological landscape. Docker has a common sense definition: hypervisor-free virtualization. In other terms: running VMs without any hypervisor-based virtualization support. Now, how is this possible? What is the arcane trick to achieving that? Let’s live a short journey to sketch the context out, ...

Read More »

Executing Cookbooks with Chef-Solo

Chef-Solo is an open source tool that runs locally and allows us to provision the guest machine using chef cookbooks without the complication of any chef client and server configuration. In this post, we will learn to execute a simple recipe which will create a file with some content inside /tmp directory using chef cookbook recipe. To start with, we will create ...

Read More »

Installing Puppet Modules – Librarian Puppet

Of course we can manually download the modules from Puppet Forge and install it but it becomes messy as you have to manually maintain the dependencies between the modules which definitely makes your repository bigger than necessary. Already I briefed about librarian-puppet  in my Blog At Xebia, still to provide little more context, it manages the Puppet modules your infrastructure depends on, ...

Read More »

Deploying Web Application on EC2 Instance – AWS

In this post, we will deploy spring web application on EC2 Amazon Linux AMI t2.micro instance following below steps: Step 1: Set up Amazon EC2 instance following set-up-amazon-ec2-instance. Step 2: Launch an EC2 instance following ec2-launch-linux-instance. Step 3: Upload .war file from local machine directory to EC2 user home (/home/ec2-user) directory using secure copy as follows: scp -i /Users/ArpitAggarwal/arpitaggarwal-key-pair.pem /Users/ArpitAggarwal/hello-spring/target/hello-spring.war [email protected]:/home/ec2-user arpitaggarwal-key-pair.pem refers ...

Read More »

Stop installing Postgres on your laptop : use Docker instead

Tired of managing a full-blown DB server on your development machine ? Let’s give Docker a try! Getting started with Docker First, if your development machine is not running Linux (ie if you’re running windows or mac os x), it’s easier to use boot2docker to get started, since it will take care of installing: VirtualBox (if you already have it ...

Read More »

Want to take your sysadmin skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Linux BASH Programming Cookbook
  • NAGIOS Monitoring Cookbook
  • Introduction to NGINX
  • Apache HTTP Server Cookbook
  • VirtualBox Essentials
  • PostgreSQL Database Handbook