• Home
  • About
  • Contact
  • Archives
Site Logo

Agile Web Development & Operations

Shaping and Evangelizing DevOps since 2008

  • Our Books
  • DevOps
  • Kanban & Agile
  • Tools & Technology

Write your own Slack chatbot in Golang

by Dan Ackerson on October 23, 2016 · 0 comments

Slack Chatbot
Don’t think Bender would dig the “Non-sentient” classification

Chatbots are all the rage nowadays so I’ll show you how to plug one into your own Slack channel. It’s easy, fun and, best of all, completely free!
[Read more…]

Filed Under: Tools & Technology

Knife EC2: Manage Amazon EC2 Instances With Chef

by Matthias Marschall on August 3, 2015 · 27 comments

knife ec2Creative Commons License r. nial bradshaw

Chef enables you to automate your infrastructure. It provides a command line tool called knife to help you manage your configurations. Using the knife EC2 plugin you can manage your Amazon EC2 instances with Chef. knife EC2 makes it possible to create and bootstrap Amazon EC2 instances in just one line – if you go through a few setup steps. In this article, I want to show you how to setup your Chef installation and AWS configuration so that you can easily bootstrap new Amazon EC2 instances with Chef’s knife.
[Read more…]

Filed Under: Tools & Technology Tagged With: amazon, aws, chef, ec2, knife, opscode

Supporting Millions of Pretty URL Rewrites in Nginx with Lua and Redis

by Dan Ackerson on October 13, 2014 · 2 comments

Infinite Staircase? by Alexandre Duret-Lutz
Creative Commons License Alexandre Duret-Lutz

About a year ago, I was tasked with greatly expanding our url rewrite capabilities. Our file based, nginx rewrites were becoming a performance bottleneck and we needed to make an architectural leap that would take us to the next level of SEO wizardry.

In comparison to the total number of product categories in our database, Stylight supports a handful of “pretty URLs” – those understandable by a human being. With http://www.stylight.com/Sandals/Women/ you have a good idea what’s going to be on that page.
[Read more…]

Filed Under: Tools & Technology Tagged With: lua, nginx, redirects, redis, rewrites

Test Driven Chef Cookbooks With Meez

by Matthias Marschall on February 6, 2014 · 0 comments

When cooking a new dish, things get out of control if you try to manage too many things at once

You might face a similar situation when trying to write a new Chef cookbook.

Getting your arms around all those tools and frameworks needed to write solid, tested cookbooks gets you spinning. You need to install Food Critic, Chef Spec, Berkshelf – and the list goes on. This set up can easily take up to half a day or more.

French Chefs arrange all the ingredients which they’ll need well before they start cooking. They call this set up procedure „Mise en place“, or in short „Meez“.

And you should do the same

That’s what Meez is all about. It’s a Ruby Gem which creates a cookbook for you which has puts all these tools in place before you start cooking. Now you can work like a professional Chef concentrating on the recipe at hand instead of juggling new tools.
[Read more…]

Filed Under: Tools & Technology Tagged With: automated infrastructure, chef, integration testing, RSpec, testing

How to set up wordpress on ec2 using puppet and git

by Dan Ackerson on March 29, 2012 · 0 comments

Daily Standup
Creative Commons License Greg Walters

Having started out on a Joyent appliance, migrating to Linode, and, finally, to Amazon with a Bitnami stack, we noticed the common pain of manually configuring each of these environments. Bitnami caused us an even bigger headache by being very difficult to update (apt-get doesn’t update the bitnami wrapped AMP stack). We decided to get full control of our box by setting up a stock Debian LAMP stack on AWS using Puppet and git to manage our sites. Here’s a gentle introduction on how we did it.
[Read more…]

Filed Under: Tools & Technology Tagged With: debian, git, lamp, puppet, wordpress

Lifecycle of a Click – Improving Web Page Speed

by Matthias Marschall on July 19, 2011 · 1 comment

This is a guest post by Brian Doll, Application Performance Engineer at New Relic
Six seconds can be an excruciatingly long time to wait for a single web page to load. Why does it take so long? Let’s take a look at each step of the timeline and see how we can make it faster.
Page load timeline.
[Read more…]

Filed Under: Tools & Technology

Free Cloudkick Monitoring for EC2

by Dan Ackerson on April 12, 2011 · 3 comments

For my final post in freely acquiring, maintaining and monitoring a virtual root server, I’d like to introduce you to Cloudkick. They’ve had a major marketing campaign going on after being acquired by the folks from Rackspace. I actually clicked through one of their ads while browsing some headlines on Slashdot.
[Read more…]

Filed Under: Tools & Technology Tagged With: cloudkick, ec2, monitoring

Poor Man’s Automated Snapshots for EC2

by Dan Ackerson on March 9, 2011 · 6 comments

Creative Commons License doegox

We’ve invested quite some time in our WordPress Micro instance now. It’s definitely past the playing-around, prototype phase, so let’s get some automated backups in place. But, since we already suffered to get the EC2 API Tools installed, the hard part is actually done. Let’s get a couple of weekly cronjobs setup:
[Read more…]

Filed Under: Tools & Technology Tagged With: ec2 wordpress aws snapshots backups, howto

WordPress Caching For High Performance EC2 Micro Instances

by Dan Ackerson on February 15, 2011 · 9 comments

Creative Commons License SoulRider.222

For the price, it’s hard to beat the EC2 Micro instance. But, if you have even a little bit of traffic, don’t expect to run a stock AMI without feeling some performance pain. After migrating this blog, we noticed that being logged in (meaning no wordpress cache hits) literally slowed the server down to a crawl. Just clicking around wp-admin a few times would drive load up to 12-13 and stuck the virtual server in 98%st. Apache connections were tweaked, mysql database settings optimized – traffic was really light (2-3 users) and the damn thing was unreachable! It was time for some PHP acceleration…
[Read more…]

Filed Under: Tools & Technology Tagged With: apc, howto, opcode, php accelerator, w3tc

The Hidden Costs of Technical Debt

by Dan Ackerson on February 3, 2011 · 5 comments

Creative Commons License Kevin Krejci

Recently, I had the unpleasant responsibility of stopping our development line. And it wasn’t just for a day or two. It was for a couple of months. The complexity of the codebase made every simple feature we added take weeks to implement, and I realized we were getting a negative return on our efforts. How the hell did things get this bad?
[Read more…]

Filed Under: Tools & Technology

Next Page »

Top TOOLS & TECHNOLOGY Posts

  • Sprinkle - Automated Infrastructure for the Rest of us
  • Tailoring Your Munin Installation
  • RSpec Tips & Tricks
  • Rethinking code reuse with Modularity for Ruby
  • Continuous Integration with Hudson
  • Far Future Expires Headers For Ruby On Rails With Nginx
  • A/B Testing with Webrat
  • Simple Database Updates with Ruby
  • Xen: Debian Lenny Dom0 with Ubuntu Lucid Guest
  • Automated Configuration Management With Opscode Chef: The Basic Moving Parts

Copyright © 2008 – 2018 · Agile Web Development & Operations