Home » DevOps » Page 7


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 ec2-user@ec2-54-218-30-7.us-west-2.compute.amazonaws.com:/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 »