Blog

Decoupling Quartz from a web-app

Decoupling Quartz from a web-app

If you’re a Java Developer and you’ve had to deal with scheduling there’s no doubt you have heard of or used Quartz. I’ve used and seen Quartz used for scheduling in many environments. One thing I noticed was that Quartz was usually deployed in a web-app, I’m not a big fan of that approach. One company had these huge long running intensive jobs bogging down the performance of the app affecting end-users. I like being able to update jobs and…

Read More Read More

Vault setup as a system service

Vault setup as a system service

Setup Hashicorp Vault as a system service Vault is one of those tools that can’t be automated easily. By design it really shouldn’t be automated. It’s built for storing secrets like passwords, ssh keys, pki certs, etc. in a secure manner. You should spread out the unseal keys among a few people so that not one malicious actor can get at your passwords. So you always need a couple of people to actually unseal, but you can setup privileges to…

Read More Read More

Constructor injection – Why I no longer use autowired

Constructor injection – Why I no longer use autowired

This post focuses on Java and using something like Spring or CDI for dependency injection. If you aren’t using Java this post can maybe still apply to you, constructor injection can and should be implemented in many languages. If you’re confused about autowiring, check out some details here. Why Autowired I have always used autowired and annotated my fields with autowired only because I had gotten used to it. One of the earlier code bases I worked on in Java…

Read More Read More

Quickly Learn Linux – Databases and MySQL

Quickly Learn Linux – Databases and MySQL

Quick Overview on Databases and MySQL This post focuses on MySQL installation and configuration. So you can deploy and configure a stand alone instance with this quick guide or continue on and use this database with the MediaWiki deployment. This is a good guide as an introduction to Linux systems and the command line. This is not meant for professionals or experienced admins but more for people looking to start dipping their toes into system administration and engineering. MySQL is…

Read More Read More

Quickly learn Linux – Virtualbox Linux

Quickly learn Linux – Virtualbox Linux

Virtualbox Linux I’ve been using VirtualBox for quite a while, especially for Linux servers (what I mean by Virtualbox linux). It’s generally the first hypervisor I’d recommend running on windows as a test environment. It’s not the best performance wise, but I hope you’re not looking for performance out of something like this anyways. This is just a tool to test things out with quickly and easily. I always recommend it to beginners as a quick simple way to learn…

Read More Read More

Quickly Learn Linux – Mediawiki Deployment

Quickly Learn Linux – Mediawiki Deployment

I like to throw this at fresh grads and interns coming on as software/systems/support engineers. It’s a good task to get your feet wet with Linux and learn a few basics. It’s a very simple full stack application to deploy. Php is widely used as is MySQL. For my quick tutorials I chose to go with MySQL 5.6, Apache(httpd), and Php. MediaWiki Deployment Overview Deploying Mediawiki involves the following Install and configure MySQL for MediaWiki Install and configure Php Install…

Read More Read More

Ansible – digging into details

Ansible – digging into details

There’s a ton of craze about Ansible. It has been the fastest growing CM tool for the last couple of years and it’s not going away anytime soon. There are lots of things to like and a few things not to like about it. This will be a bit of a continuation of this post. Why the huge growth in Ansible There’s been a ton of growth because the barrier to entry is the lowest. I’m not talking down about…

Read More Read More

Configuration Management – Salt, Puppet, Ansible, Chef

Configuration Management – Salt, Puppet, Ansible, Chef

I’ve gone through quite a few configuration management tools and have come away with a few lessons learned. I often see posts asking about configuration tools and I thought I’d write a quick outline since there aren’t enough blog posts on configuration management already /s. I’m only going to focus on the big 4 in this space; Ansible, Chef, Puppet, and Salt. Chef is the one I’ve least used, so if anyone has any corrections please let me know. Configuration…

Read More Read More

Terraform for Highly Available WordPress

Terraform for Highly Available WordPress

Someone complained about the lack of technical details hereso I’m going to dig into Terraform a bit. Network I’ve been using a basic template for most of my VPC configurations. This guy just sets up the VPC, route table (very basic here), and subnets. Just a simple VPC with subnets in zone A and zone B for all resources. EFS EFS I configure with a mount in each zone as well. I manually built the AMI I ended up using…

Read More Read More

Highly Available WordPress on AWS

Highly Available WordPress on AWS

Highly Available WordPress instance I have a few wordpress sites and I currently have them deployed in docker containers on a single host. I’m going to move these to AWS, migrate my data, test, and then switch DNS. This is a followup to this initial post and this page outlines the migration and Highly Available configuration in AWS. Tools used I want to keep everything simple so I’m going with terraform and userdata files to setup the environment and AMI…

Read More Read More