Moving Canary deployments on AWS using ELB to kubernetes using Traefik

Canary deployment pattern is very similar to Blue green deployments, where you are deploying a certain version of your application to a subset of your application servers. If everything is alright and you have tested out that everything is working fine, you route a certain percentage of your users to those application servers and gradually keep increasing the traffic till a full rollout is achieved. One of the many reasons to do this can be to test a certain feature out with a percentage of users who use your service. This can be further extended to enabling a service to users of a particular demographic. ...

October 25, 2018 · 6 min · Tasdik Rahman

Testing your ansible roles using travis-CI

NOTE: The ansible playbook written here can be found at tasdikrahman/ansible-bootstrap-server Continous Integration Simply put with each commit that you are making to shared repository, which is then verified by an automated build. This helps in detection of errors early on. If you are new to this development style. There are plenty of places which explain will help you understand. This practice in itself is quite old. CI/CD anyone? But I am not writing this to explain what is CI right? ...

April 6, 2017 · 5 min · Tasdik Rahman

Organising tasks in roles using Ansible

NOTE: The ansible playbook written here can be found at tasdikrahman/ansible-playbook Roles are nothing but a further abstraction of making your playbook more modular. If you have played around with the ansible-playbook command. You might have noticed the common pattern of repeating tasks which you did some or the other time back. Ansible roles provide you a way to reuse tasks(or roles for that matter). Imagine this to be a very similar concept writing Object oriented code. ...

March 19, 2017 · 4 min · Tasdik Rahman

Introduction to Configuration Management using Ansible

Need for Configuration management There are many devs/sysadmins out there who manage their servers by logging in through ssh. Making the changes and then logging out again. Sounds like you? Well hey, you are not alone! But do you feel that this can create snowflake servers? Servers which are impossible to recreate because we missed out on some minute detail which the other dev had known. But Tasdik. This wouldn’t happen if we have a very good documentation process giving a step by step guide on how to do so! ...

February 28, 2017 · 4 min · Tasdik Rahman