One of the first things I noticed when starting to work with AWS is that security groups are very hard to maintain:
I thought I'd upload some interesting Chef-related snippets I accumulated.
chef-shell is an easy way to gain the context of a Chef client.
I mainly use it to debug recipes by executing little bits of them in the shell.
If you're running it on a standard …more ...
I recently had an issue with use_inline_resources.
This feature's documentation is lackluster, and I learnt about its magic thanks to some scraps of information.
I wanted to share some of my info about how it actually works.
use_inline_resources is used to separate a LWRP's run context from the …
I just made a small script to migrate dashboards between two graphite servers.
Couldn't find a similar one anywhere, so I thought I'd upload it.
Note it's using http for its HTTP calls. It looks real nice.
old_server='http://old.server.com:1234' new_server='http://better.server.com:123' creds …
When installing SSL certificates for nginx, assuming you're using certificate hierarchy (and not a self-signed ceritificate), you're required to concatenate all of the certificate files (
*.crt) to a single file, starting from your site's certificate up to the root certificate.
Today I got this bundle to prepare, courtesy …
Since we tend to hold our AWS EC2 VMs for a long time, we usually reserve them.
Reservations are like pre-buying instances - you pay AWS ahead of time for (let's say) a year, and get a discounted price.
The insterestng thing about EC2 reservations is that they aren't …
I needed to create seperate Chef accounts for some utility program running in my Chef server.
I was finally able to deprecate it today, but I saved those snippets because they're neat. These snippets use
chef-server-ctl, which is a utility software included in Chef server's installation