When I’m setting up a new computer, one of the tasks I need to do is set up new SSH keys to access different servers. It’s good practice not to use the same key for different services. Keys are useful so you don’t need to type your credentials in all the time when working on a trusted PC. Instead of ...
Read More »Home »
Ansible Tutorial – Automate Your Systems
In a previous tutorial, we talked about expect command and we saw how to automate scripts in Linux using its scripting language. Today, we will take a step further in our automation techniques and talk about a tool that automates tasks more professionally and for different platforms, this tool is Ansible. We will also talk about some Ansible features such ...
Read More »AppDev in the Cloud – Data Virtualization Solves Acquisition Use Case
In a past role I helped put together a rather expansive travel agency booking project to show some of the more interesting feature of JBoss BPM Suite. The project continued to expand over time, adding on not just a bookings process, but also a payment process that included advanced features like compensation (rolling back bookings), integration of traditional web services in service tasks ...
Read More »Performance Tuning HAProxy
In a recent article, I covered how to tune the NGINX webserver for a simple static HTML page. In this article, we are going to once again explore those performance-tuning concepts and walk through some basic tuning options for HAProxy. What is HAProxy HAProxy is a software load balancer commonly used to distribute TCP-based traffic to multiple backend systems. It ...
Read More »NGINX as a Reverse Proxy for Docker Swarm Clusters
Spawning services across multiple Docker engines is a very cool thing, but those services need to connect each other and be found by public-facing nodes in order to be routed to users. A way to achieve that is to use NGINX as a reverse proxy by defining one or more public-facing nodes. These nodes are going to have NGINX configured ...
Read More »How To Scale SSL with HAProxy and Nginx
SSL is CPU Intensive If you haven’t already enabled SSL session caching, do that NOW. But what if you have many unique requests and your load balancer is maxing out it’s CPU? That was the case with WakaTime’s load balancer, because as you use the WakaTime plugins you are constantly making requests to our api saying you’re still working on ...
Read More »Replacing Text in Nginx with sub_filter
Sometimes you find yourself in a weird predicament. A third party application that you’ve slapped nginx in front of insists on using internal IP addresses or ports despite your reverse proxy passing all the correct headers and other pieces required. Or maybe you’ve found yourself in the situation I found myself in last week where you have a third party ...
Read More »Apache HTTP Server Tutorial
Course Overview In this post, we feature a comprehensive Apache HTTP Server Tutorial. The Apache HTTP Server, colloquially called Apache, is the world’s most used web server software. Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled. Apache played a key role in the initial growth of the ...
Read More »Apache URL rewrite example: Rewriting and redirecting URLs with mod_rewrite
In this post, we feature a comprehensive Apache URL rewrite example. This article is part of our Academy Course titled Apache HTTP Server Tutorial. In this course, we provide a compilation of Apache HTTP Server tutorials that will help you get started with this web server. We cover a wide range of topics, from installing the server and performing a ...
Read More »