Archive Category: Tip of the day!

I recently worked on an interesting project where I needed to use a powershell script to query ElasticSearch to find a document that was inserted via ElastAlert. The purpose of […]

READ MORE

ruby aws-sdk strikes again…

By : -

When using ruby to upload files to S3 and trying to use multipart upload, beware the following ArgumentError: …param_validator.rb:32:in `validate!’: unexpected value at params[:server_side_encryption] (ArgumentError) … from /var/lib/jenkins/.gem/ruby/gems/aws-sdk-core-3.6.0/lib/seahorse/client/request.rb:70:in `send_request’ from […]

READ MORE

Many shops are realizing the benefit of the ELK stack / Elastic Stack, and the great flexibility that it brings to an infrastructure in the form of centralized logging and […]

READ MORE

As a consultant who works in AWS for numerous clients, one of the most important things to keep track of is which AWS CLI profile am I currently on. To […]

READ MORE

A common problem of late is throttling requests when using the ruby aws-sdk gem to access AWS services. Handling these exceptions is fairly trivial with a while loop like the […]

READ MORE

I work quite a bit with Rackspace cloudfiles and use ruby to upload and download files using the fog gem. There have been some major performance issues with apps that […]

READ MORE

Manually creating dokuwiki pages

By : -

I recently worked on a project where it would be really convenient to create some dokuwik pages using a script on some html content. I ended up using the CPAN/Perl […]

READ MORE

I recently worked with a client to transfer authoritative control of one of their domains to AWS Route 53 and it was a minor adventure. It was trivial to setup […]

READ MORE

Puppet node inheritance deprecation

By : -

Puppet 4.0 will deprecate node inheritance which is currently a common way to organize resources. I have been using node inheritance to group common configurations into a basic role and […]

READ MORE

Rebooting: quick tip

By : -

Note to self: whenever rebooting a server, login via SSH and restart the OpenSSH daemon first to validate that it will come back up. I just updated an AWS instance […]

READ MORE