VOOZH about

URL: https://thenewstack.io/infrastructure-from-code-gives-ops-needed-freedom/

⇱ Infrastructure from Code Gives Ops Needed Freedom - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-05-29 06:49:57
Infrastructure from Code Gives Ops Needed Freedom
sponsor-nitric,sponsored-post-contributed,
DevOps / Infrastructure as Code

Infrastructure from Code Gives Ops Needed Freedom

IfC automates the handover process between teams, essentially creating a bridge over the often-troubled waters of inter-team collaboration.
May 29th, 2024 6:49am by Rak Siva
👁 Featued image for: Infrastructure from Code Gives Ops Needed Freedom
Image from SvetaZi on Shutterstock.
Nitric sponsored this post.

Infrastructure from Code (IfC) is gaining significant interest and sparking conversations among developers and DevOps professionals alike. As organizations strive for greater efficiency and automation in their deployment processes, the appeal of IfC lies in its promise to streamline infrastructure provisioning by automatically inferring the necessary resources from application code.

This innovation offers a seamless way to integrate infrastructure management directly into the development workflow, promising to bridge the gap between development and operations.

However, despite its growing popularity, some are hesitant to try it out. One of the most common misconceptions about Infrastructure from Code (IfC) is that it burdens developers with the responsibility of writing infrastructure-specific configurations directly into their application code.

This misunderstanding leads to the following beliefs:

  • Developers must have a deep understanding of the runtime infrastructure and resources they are using. This will add to their cognitive load and potentially distract them from their primary focus of writing application logic.
  • Operations teams lose control and governance over the infrastructure since configurations are embedded directly into the application code by developers. This can result in inconsistent, insecure or noncompliant infrastructure setups.

What IfC Frameworks Actually Do

IfC automates the process of inferring the runtime requirements of an application and creating a specification that documents these requirements. This specification is generated without any specific infrastructure code being added to the application.

For example, to leverage a cloud service like an API gateway, developers write routes into their application and implement handlers for these routes. In many instances, they don’t need to worry about which specific API gateway is being used; they only need to understand that their application will eventually be deployed to leverage one.

The framework is then responsible for mapping the requirements to “providers,” which are responsible for fulfilling the contract. Basically, the framework collects all of the resources and maps them to concrete implementations of modules that:

  • Provision IAM roles and permissions required to allow the resources to communicate and adhere to governance standards such as least privilege
  • Enable and provision the services and resources required, and set up appropriate naming conventions, label conventions and finer-grained configuration

What Developers Actually Do

In reality, developers using IfC frameworks are not writing infrastructure configurations or Infrastructure as Code (IaC) into their applications. With the approach we’ve taken with the open source Nitric framework, they are not even annotating their code with infrastructure-specific requirements.

Instead, developers focus solely on building their applications, using resources that they import from an SDK. The only difference that the developer might notice is that, when they are declaring their resources, they are required to provide their intended purpose for the resource. This isn’t a configuration, but rather a request for permissions to access it. The following example illustrates an intention from a developer declaring a storage bucket to read, write or delete from it.

What DevOps Actually Do

In an IfC environment, DevOps teams focus on managing and maintaining the infrastructure separately from application development. They are responsible for ensuring that the infrastructure adheres to the runtime requirements of the application, which are articulated in resource specification. DevOps focus on building and maintaining reusable modules written with IaC frameworks that maintain governance and compliance standards. The following example provisions a storage bucket with a consistent naming and labeling convention.

How This Solution Maintains Separation of Concerns

Infrastructure from Code (IfC) respects the separation of concerns that a traditional IaC project upholds. You still have distinct application code and infrastructure provisioning code, each of which can be maintained by specific teams independently if desired.

What IfC brings to the table is the automation of the handover process between teams, essentially creating a bridge over the often-troubled waters of inter-team collaboration in some organizations.

This bridge takes the form of a resource specification. This specification allows both development and operations teams to work with confidence. Developers can proceed with the assurance that their runtime requirements will be met, while operations teams can fulfill application requests using safe, secure IaC. This IaC can be inspected with existing tools and workflows, ensuring a robust development and deployment solution.

Conclusion

Ultimately, separating your files and tools does not necessarily lead to true separation of concerns. There will always be an inherent coupling between an application and its runtime. Ideally, your application’s runtime requirements should inform your infrastructure, not the other way around — otherwise, your application could be constrained.

Nitric provides a bridge between your application code and your IaC that can be extended minimally or extensively to suit the requirements of your team. With the Nitric framework, the bridge exists at the resource level, not at the application level. This allows you to enjoy the benefits of IfC across all of your projects consistently.

Give IfC a try and experience firsthand how it can automate processes, improve efficiency and break down communication barriers within your organization.

Nitric is the cloud-aware framework that enhances developer productivity and ops confidence, uniting backend and infrastructure code to build and ship cloud apps fast. Devs build your application, Platform determines the right infrastructure and Nitric automates provisioning that works for both.
Learn More
The latest from Nitric
Hear more from our sponsor
TRENDING STORIES
Rak Siva, vice president of engineering at Team Nitric, is deeply committed to elevating the experience for software developers. With a rich 15-year tenure in the software industry, he began his engineering journey immersed in the exhilarating challenges of the...
Read more from Rak Siva
Nitric sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Enable.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.