Route53 - Allow Access to a Single Hosted Zone

Recently I had a situation where I needed to allow a person to access a single Rout53 hosted zone to make modifications. The following is an IAM policy that allows a single user to modify the desired hosted zone via the AWS console. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "route53:ChangeResourceRecordSets", "route53:Get*", "route53domains:Get*", "route53domains:List*" ], "Resource": "arn:aws:route53:::hostedzone/<ZONE ID>" }, { "Effect": "Allow", "Action": [ "route53:GetHostedZoneCount", "route53:List*", "route53:TestDNSAnswer" ], "Resource": "*" } ] } The first statement allows users to make any modification to the records in the given hosted zone.
Read full post

Publish python packages to PyPI

This is a TL;DR, see the references for more info. Install requirements pip install twine Create package python sdist bdist_wheel Test your package tar tzf /dist/package-name-0.0.1.tar.gz Check for problems twine check dist/* Push to PyPI twine upload dist/* References How to Publish an Open-Source Python Package to PyPI How to upload your python packages to PyPi

REST resources

If you get the time to google “what is REST” you will find an overwhelming amount of information, in fact as of today google shows that there are about 1.16 billion results! These are just some of my favorite resources and I’ll add more in the future; there are a wide range of resources varying from conference talks to specs to tutorials and more. What is HTTP: You should really start by understanding what HTTP is:
Read full post