iTranslated by AI
Infrastructure as Code: Start, Skip, or Stop?
TL;DR
- Infrastructure as Code is good
- Infrastructure as Code is more than just "good"
- There are people who understand that Infrastructure as Code is more than just "good"
Introduction
I've been thinking about this topic a lot lately, so I'd like to write a bit more about Infrastructure as Code.
Benefits of Infrastructure as Code
Since this part is relatively straightforward, I'll keep it brief.
- Standardization of setup procedures
- Shorter setup times, leading to reduced time and labor costs
- Reduced setup errors
- It's cool and fun
There are many more benefits, and I could probably list them indefinitely.
Points of Concern regarding Infrastructure as Code
Using the expression "Points of Concern" as a counterpart to "Benefits" might seem a bit unfair, but since they aren't necessarily negative points, I've chosen this phrasing.
- How to evaluate things like initial learning costs and the operational costs of keeping up with new features as they are released
- This might be a hard truth, but IaC is not a "set it and forget it" solution; it requires ongoing operation and maintenance of the code itself.
- Whether IaC can be provided in a timely manner to support the flexible configurations of new concepts like PaaS, Serverless, and k8s (compared to traditional VMs)
- From this perspective, I believe CaaS (Container as a Service) platforms might actually be a practical middle ground for dividing responsibilities.
- While IaC is effective from the design phase onwards in general system construction (requirements definition, design, construction, testing, operations), the most important phase is requirements definition
- There are many theories, but I think everyone can agree that if the requirements are wrong, you won't be satisfied with the final product.
- Does your company even need to maintain that infrastructure in-house?
- I'm thinking of the many managed services available today; if a system doesn't provide a competitive advantage to your business, outsourcing is a valid option.
- Whether your company is effectively utilizing IT in the first place
- For tech and internet companies, IT is the source of competitiveness. However, in industries like manufacturing or retail, if IT isn't currently driving competitiveness, the ROI on IaC will be low.
- Conversely, I want to see more manufacturing and retail companies that can create competitive advantages through IT.
- When infrastructure construction is outsourced to SIers or vendors
- Many companies outsource their operations. Suppose it currently costs 300,000 yen to build a VM, and introducing IaC brings that cost down to 100,000 yen. It’s unlikely that this saving will be passed directly to the user.
- On the other hand, it’s only natural for SIers and vendors to adopt IaC to reduce internal labor and increase their own profit margins.
Things that Encourage the Adoption of Infrastructure as Code
I have discussed the benefits and points of concern. If your company's infrastructure has properties like the following, the benefits of adopting IaC are significant, and you will likely see a return on investment sooner.
-
High frequency of infrastructure deployments
I've provided a somewhat conceptual graph below, based on the premise that compared to no automation, automation has a slightly higher cost at 0 (initial state), but the cost per deployment decreases when automation is used.
With the horizontal axis as "years," I have drawn two graphs showing the difference between deploying once a year versus twice a year.
Under this premise, the more frequent the deployments, the sooner the two lines cross—meaning the cumulative cost of infrastructure construction becomes equal at an earlier point.
I'm stating the obvious, but it might make more sense when visualized in a diagram.

-
Many similar architectures
While the atmosphere seems to be changing slightly, I believe 3-tier architectures are still adopted in proprietary systems and applications across various industries.
If you have many architectures like a Load Balancer followed by multiple VMs, with three sets for Web/App/DB, then the affinity with IaC is very high.
Stopping Infrastructure as Code
While many companies may not have started yet, it is also true that some are already deciding to stop.
There are certainly benefits, but there are also cases where the cost simply doesn't justify them.
I often hear requests for workshops from those wanting to adopt IaC, but I hope you dive into the world of IaC only after you have a clear understanding of what the final implementation will look like.
Discussion