menu

Infrastructure As Code and How to do it on AWS

date_range 26/06/2022 00:00

One interesting new concept I learnt when I was an intern at AWS is Infrastructure as Code (IaC). IaC refers to provision, management and deployment of cloud infrastructure, i.e. the cloud application resources, through code. This would replace the old practice of manually managing cloud resources (e.g. using AWS console) or writing scripts (e.g. using AWS CLI). IaC provides the smoothness of managing cloud infrastructure by writing code, and managing the code using the same way as we do to application codes. You can write unit and integration tests to test the code defining your infra stack to make it more robust, and you can also do code reviews and use source version control systems like Git to manage the code. The benefit of using IaC is that it will make the whole process of managing cloud infrastructure to be repeatable, reliable and consistent.