06/13/2022 | Press release | Distributed by Public on 06/13/2022 23:32
How much time are you wasting initializing your Terraform environments?
If your answer is, "more than we should," then we have some tips for you.
Terraform is a popular infrastructure-as-code (IaC) tool for anyone who deploys to the cloud. We use it here at JFrog to help manage infrastructure for our SaaS customers, and recently added support in Artifactory to manage your Terraform files (provider, modules, and backend).
To that end, the JFrog DevOps and R&D teams recently pulled back the curtain and shared their experience with improving our own use of Terraform - what they changed and how it enhances your daily work - and how that effort contributed to building the new Terraform support in Artifactory. You should definitely watch the recordingof that webinar (it's under 30 min), but here are a few useful takeaways.
The JFrog Infrastructure team is a heavy user of Terraform. They're managing around 50 clusters, running in 40 different regions across 3 cloud providers, and managing 130 terraform workspaces. That's serious scale to maintain. To streamline infrastructure operations, the team identified five areas to improve:
At JFrog, we eat what we cook. As our DevOps team worked on improving our own Terraform usage they collaborated with the Artifactory R&D team to build the necessary functionality into Artifactory to support the team's Terraform initiatives. The result is the Terraform functionality available today - which includes local, remote and virtual repositories for your Terraform providers and modules as well as repositories for your backend state files.
Using Artifactory to host and manage your Terraform files transitions you from source control management to binaries. Rather than resolve modules directly from source control, those modules become binaries with all the benefits: checksum and checksum deploy, immutability, version controls, better security, and more. Using an Artifactory remote repository to proxy the official Hashicorp registry, you gain immutable, always-available access to that external resource. Combining your private and public registries into a virtual repository in Artifactory provides a single, managed access point for Terraform files.
Artifactory's backend repository solution leverages a local repository implementation that supports Terraform remote backends including workspaces and locking mechanism. Migrate your existing backend solution to Artifactory using the JFrog CLI and benefit from managing all your users in one place, encrypted state content in the actual object storage, full state history, monitoring state actions/activities, and SmartDiff for state differences.
For more details on the benefits of using Artifactory to manage your Terraform files, as well as a live view of the solution, you can watch the Terraform webinaron demand. You can also try Artifactory for free, or request an Artifactory demowith one of our solution engineers.