Posts about software development

Elixir/Phoenix PubSub messages between different applications edit

18 July 2019

I recently picked up Elixir and Phoenix as development tools and i'm loving them. The Erlang virtual machine (BEAM) where code runs is an amazingly simple, yet powerful, system that allows for some really hard things like inter-process communication to become simple.

Phoenix's PubSub makes this process even simpler. The only problem is that the documentation at times is not that simple to follow, and i have to admit i lost more time than i wanted getting it to work properly.

The problem

...

Kibana proxy for AWS ECS (Fargate)

23 January 2019

One of the most annoying parts of setting up Elastic Search on AWS is the way access is configured for that service. From what i've gathered you have one of two options to protect it:

  1. Make sure it's running internally only (i.e. not internet facing and only available to the other services on the same VPC)
  2. Completely open to the internet and eventually relying (if you can make it work) on the Cognito authentication service

Typically you would, as we did, go for the path of least resistance ...

Terraform - Infrastructure as code

18 January 2019

We recently started using this outstanding devops tool called Terraform at Drover. Basically it allows us to describe how we want our environments to be and apply that "plan" automatically. It's a bit like Ansible and its playbooks concept but - IMO - does a better job at tracking what resources exist and in which state they are in.

Think about it like writing down what your environment looks like, in terms of pretty much everything (load balancing, dns, servers, networking, connectivity, ser...

Displaying posts 1 - 3 of 63 in total