Vagrant in production

Vagrant should be used more like a staging environment to test your infrastructure changes. It should be your test bed for automated infrastructure changes. The way we use it at my company is like so: Create VMs for our managed servers in Vagrant. Create puppet definitions for each server. Create cucumber tests for each server. … Read more

What types of systems have to “scale up” rather than “scale out”?

I primarily work with an application that has zero horizontal scaling potential. Even though it runs on Linux, the application, data structures and I/O requirements force me to “scale up” onto progressively larger systems in order to accommodate increased user workloads. Many legacy line-of-business and transactional applications have these types of constraints. It’s one reason … Read more

Why is it not advisable to have the database and web server on the same machine?

Security. Your web server lives in a DMZ, accessible to the public internet and taking untrusted input from anonymous users. If your web server gets compromised, and you’ve followed least privilege rules in connecting to your DB, the maximum exposure is what your app can do through the database API. If you have a business … Read more

Starting a branch office on the other side of the world

Welcome welcome welcome to the world of the Internet in Australia. Even in our largest population center, we can struggle to get 3Mbps downstream on a business-class ADSL2+ connection. Cable penetration is poor in residential areas, and even worse in commercial so unless you’re fortunate you can’t get cable internet. And because we’re such a … Read more

What is meant when IT Infrastructure people refer to the “Stack”

It refers to the technologies used that make up your service: your web application language/framework depends on (is stacked on) your web server, which talks to (stacks on) a specific database flavor, and these run on (stack with) specific operating systems. So you might have a stack like this: P PHP M MySQL A Apache … Read more