Software Ate My Infrastructure: 2 Years on AWS with Ansible, Terraform and Packer - Part 2 Sep 04, 2016 Agari has made significant investment into infrastructure as code. Almost two years into this project, we’ve learned some lessons. In my previous blog post, I discussed organization of your automation repository and parameterizing environments. For this post, I’d like to talk about state management and database automation. State management One of the most frustrating things about working with Terraform is managing state, which Terraform stores in a terraform.tfstate file. The solution you choose is highly dependent on your scale and the topology of your infrastructure. ...
Software Ate My Infrastructure: Two Years on AWS with Ansible, Terraform and Packer - Part 1 Aug 29, 2016 Previously: read about our first year Agari Data has made significant investment into infrastructure as code. Almost two years into this project, we’ve learned some lessons. Our efforts have already yielded dividends by increasing engineering velocity while maintaining infrastructure reliability. Additionally, our new toolset enables more experimentation, assured in the knowledge that we’re never more than a few commands away from being able to roll back changes or re-deploy with zero data loss. ...
Ansible and Terraform at Agari: An Automation Journey Dec 01, 2015 Snowflakes and Early Automation Efforts At Agari Data, as part of our mission to solve phishing we deal with data at scale. We’ve chosen AWS to help us move quickly, making sure our infrastructure is as agile as we are. Unfortunately, in the beginning, we treated AWS instances much the same way as physical servers, each configuration was lovingly hand-crafted, packages were installed at the command line with artisanal care. ...
Preserving source IP - Postfix behind Amazon ELB Apr 27, 2015 Why run Postfix behind an ELB instead of doing DNS round-robin? Lots of reasons. It’s a lot easier to autoscale, for one. You get increased control over load distribution, you don’t have to wait for DNS propagation. But wait, won’t I lose the source IP since we’ll have to do TCP load balancing? No, of course not - that was a rhetorical question. Here’s how it’s done. Amazon ELB supports Proxy Protocol. ...