During the presentation of applications of the cloud environment, we can often see services that are created by “clicking-through” a graphical interface. Everything happens quickly and impressively, it is visually attractive and attracts our attention. In practice, however, such a method of managing the infrastructure in the cloud has some very significant disadvantages.
t takes a long time to build multiple environments, and in most cases, discrepancies are unavoidable, and errors are hard to detect. The solution is using IaaC tools describing the IT infrastructure as a code. The code automates building the environment, ensuring environment consistency and repeatability. An additional advantage is a possibility of versioning the code, thanks to which we always have access to the history of changes.
When building infrastructure in the cloud for our clients, we always describe the infrastructure with code following good practices of creating and administering such environments. In most cases, we use for this purpose Terraform, but at the client’s request, we also incorporate native tools delivered by cloud environment providers.