Skip to content

Instantly share code, notes, and snippets.


Tom Paine aioue

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aioue on github.
  • I am tompaine_av ( on keybase.
  • I have a public key ASDnyIKH1Q0uxpVfVojJ3t6OCDTu30RxRkyYY9OQFTcGnAo

To claim this, I am signing this object:

aioue /
Created Jan 2, 2018
Fast ec2_ami_find (Ansible)
# This file is part of Ansible
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Ansible is distributed in the hope that it will be useful,
aioue /
Created Apr 29, 2015
create an AWS S3 bucket, configure it for website hosting, then go and make a route53 ALIAS DNS record pointing to it
import time
import argparse
import json
import boto.ec2
import boto.s3
import boto.route53
from boto.route53 import record
from boto.s3 import connection
from boto.s3.connection import Location