Infrastructure with Python
Like Python? Into DevOps?
Here are some tools I use make my life a little easier.
THE command line interface if you’re using AWS. Really nice documentation on how to talk to the different AWS services. I use this a lot as a glue library. For example, once Jenkins runs tests on a project, we tar.gz an artifact and use awscli to upload it to S3.
If you’re using AWS and need to get state or resources at runtime boto is what you want. The API is large, but well documented and composed.
botocore is a smaller low-level alternative, but I don’t care much about size when boto’s docs are good. botocore is the foundation for awscli.
Fabric is my go-to tool for remote execution. PyChef fetches the hosts I need and passes them to Fabric, which takes care of running any commands. This is a popular lib that has been around for a while; a lot of...
Continue reading →