Code and article for the Political Methodologist article on Amazon EC2