Getting Started With Terraform on AWS — State backend & State Locking

Getting Started With Terraform on AWS — State backend & State Locking Getting started with Terraform is an exciting journey, but as the complexity of your infrastructure increases, so does the importance of managing its state. In the previous article, we installed Terraform, configured the aws provider and started using it. In this article, we’ll break down the crucial concepts of Terraform’s state backends and state locking, focusing on using the power of the S3 backend and DynamoDB for AWS environments. ...

February 29, 2024 · 4 min · 803 words · z4ck404

Enhancing Efficiency with KMS Cache in Amazon S3 Buckets

In the realm of cloud computing and data storage, the integration of Amazon Simple Storage Service (S3) with AWS Key Management Service (KMS) represents a critical aspect of securing data. However, this integration poses unique challenges and opportunities, especially when dealing with large-scale data operations. The Challenge of KMS Interactions in Amazon S3 High Volume of KMS Calls A noteworthy observation is that each object stored in an Amazon S3 bucket necessitates a unique KMS call for encryption or decryption. This becomes particularly significant in big data contexts, where numerous files are involved. ...

February 29, 2024 · 3 min · 551 words · z4ck404

All you need to know about Terraform provisioners and why you should avoid them.

Photo by Danist Soh on Unsplash As defined in the Terraform documentation, provisioners can be used to model specific actions on the local machine running the Terraform Core or on a remote machine to prepare servers or other infrastructure objects. But HashiCorp clearly states in its documentation that they should be used as the last solution ! which I will explain in this article. Provisioners are the feature to use when what’s needed is not clearly addressed by Terraform. You can copy data with to the newly created resources, run scripts or specific tasks like installing or upgrading modules. ...

February 29, 2024 · 6 min · 1110 words · z4ck404