Vagrant: AWS (Launch single instance)

Introduction In this post, we will get Vagrant working together with AWS instead of Virtualbox (as described here) or DigitalOcean (as described here). As in previous posts, we will use a shell script to install Apache on the EC2 instance automatically and run it as a webserver. Installing AWS plugin In order for Vagrant to work together with… Read More »

Vagrant: Provisioning with shell script

Introduction In this post, we described the very basics of Vagrant. In this post, we’ll explore some more advanced concepts. We will boot a virtual machine on top of VirtualBox (we described Digital Ocean in this post in case you would want to try it out using DigitalOcean) and install Apache immediately onto it. Automatically that is, not… Read More »

Vagrant and DigitalOcean (APIv2)

Introduction In this tutorial we learned to very basics of Vagrant. Essentially, it was showing how to create virtual machines on top of VirtualBox. In today’s article, I wanted to show you how to do this with DigitalOcean. In other words, we will create a recipe to create a virtual machine running on DigitalOcean. Installing the DigitalOcean plugin… Read More »

Getting started with Vagrant

Introduction I recently had to look deeper into Vagrant. Sure I heard about it, but I never got my hands dirty with it. As usual, I try to document most things of what I learn. Otherwise, I will have forgotten about it by next month. So, let’s get started. What is Vagrant? Vagrant allows you to create virtual… Read More »

ELK tutorial: part 3

Installing and configuring Logstash-Forwarder On the central server, create a folder called ‘/etc/pki/tls/certs’ and ‘/etc/pki/tls/private’: ubuntu@elk: sudo mkdir -p /etc/pki/tls/certs ubuntu@elk: sudo mkdir /etc/pki/tls/private Because logstash-forwarder is using an SSL connection to the ELK server, we will need to create a certificate. To do so, add the following to your ‘/etc/ssl/openssl.cfg’ file (most likely the v3_ca tag is… Read More »

ELK tutorial: part 2

Introduction In part 1, we installed the ELK stack. This part will focus on the configuration of it. We’ll keep it rather simple for now. We will process a local Apache access log file and visualize it using Kibana. Let’s get started! Configuring Logstash Logstash needs a configuration file. input { stdin { } } filter { grok… Read More »

ELK tutorial: part 1

[keen] Introduction I have recently been playing around with Elastisearch, Logstash and Kibana, often referred to as the ELK stack. Installing ELK Installing ELK is rather simple. To do so, go to the Elastic website (here) and download each package. As I’m running on Ubuntu (fresh install on Openstack), I’m downloading the equivalent packages for each service: ubuntu@elk:~$… Read More »

Consuming Express (NodeJS) REST API with Angular

In our previous post, we had developed a simple Jade application to consume the REST API service we developed in this post. Right now, we will basically do the same but we will use Angular instead of Jade. To get started, we will first clone the Github repository that contains the server code. wim@ubuntu:~/Blog/Express_Todo_Mongo_API_Angular$ git clone Express_Todo_Mongo_API_Angular… Read More »

Consuming Express (NodeJS) REST API with Jade

In this post, we created a REST API server that allows a client to add, update, delete and show todo items. One could use a REST client, such as POSTMAN, to consume the REST API services exposed by the REST server developed in Express (NodeJS). In this post, we are going to clone the repository from Github and… Read More »