Arya Dhorajiya

Dec 1, 2020

3 min read

How LifeSum uses Ansible to solve real-time complex problems

LifeSum is one of the popular health startups, based at Stockholm, which offers a platform to support and encourage healthy and balanced lifestyle. It helps users to custom build their specific goals and aims, according to the weight loss plan and guidance, based on data. LifeSum’s vision is to make people healthier and happier by helping users to build good habits as well as an improved life.

Their app is based on a joint backend API, which supports them. It’s infrastructure is hosted on AWS primarily using Ubuntu. They needed a simple to-use and powerful configuration management, application deployment and server provisioning tool in order to make their work easier and fast. Before using Ansible, they used simple bash script to execute their automation work. But, its a big problem to manage to provisioning and managing multiple environments between them

So, They started using Ansible on February 2014. After some time, their every front-end and back-end engineers started using Ansible Playbooks to automatically set-up virtual development machines. Main goal was to ensure that, everyone had the same environment in order to deploy applications regularly. Three months later, Every machine under LifeSum, with instances on Amazon, they were Ansible managed. In short, Ansible made LifeSum’s life easier, which is the main goal of every company or every product as an outcome.

They use a limited set of tasks, from using playbooks, to power one command app deployments. Ansible’s ad-hoc commands helped them both in Infrastructure, in specific environments, such as minor configuration changes and services administration.

Their Results after Using Ansible :-

They used configuration management tools in the past but Ansible out-shined all of them with its simplicity and power. It allowed them to focus on getting things done in a timely and reliable manner, instead of spending time, learning tools. Simple design allowed quick adaptation. Their main language was Python and Ansible was also written in Python, so that was a bonus.

App Deployment were a smooth and easy process. Every developer uses Ansible to automate their deployment instead of using another complex application, needed to learn before use. They can deploy as much time as they want and even rollback it fast.

Their greatest thing is that, every instance can be rebuilt and reconfigured in minutes then taking hours to use. Developers can now focus on building other applicable features in the future, instead of solving inconsistencies and software version problems. All thanks to Ansible and its simplicity and power that anyone can easily learn to make Ansible playbook and their in-built commands to assist and easily solve any minor problems, that can occur in future.

So, this was a use-case of Ansible by LifeSum, and I am learning Ansible and it’s easy to use and implement rather than making big files and taking hours to get implemented.

Thanks for Reading :D