aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Computing
  • Engineering

What Is Infrastructure From Code?

  • aster.cloud
  • April 23, 2024
  • 3 minute read

Maybe you’ve heard of Infrastructure as Code (IaC), which is the process of managing and provisioning computer data center resources (mostly but not entirely in the cloud) through version-controlled, machine-readable definition files (or configurations), rather than via manual hardware configuration or web consoles at the source. But what is Infrastructure from Code (IfC)? Throughout this post, we’ll talk through what IfC means, how different implementations of it work, and how it differs from IaC.

What is Infrastructure from Code?

Infrastructure from code is a new way of thinking about and working with infrastructure provisioning, one that puts the application code at the heart of everything. Rather than creating configuration for infrastructure from scratch, based on your thoughts (or your company’s) on how best to structure infrastructure, you generate the infrastructure your application needs based on the particular version of your application code.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

IfC has the benefit of fitting the infrastructure to the changing needs of the application, rather than making your application fit your infrastructure and then trying to treat the infrastructure like software. The Infrastructure from Code approach significantly improves the developer experience, helping streamline processes and accelerating delivery, without anyone having to pick up an entirely new domain of expertise. Depending on the approach to IfC that you choose, you can potentially also use IfC to apply necessary architecture and security standards, all while keeping the benefits of version control. 

Different approaches to Infrastructure from Code

Infrastructure from Code hasn’t been around all that long, and so new ways to implement it are being discovered and developed all the time. At present, there are four main ways to use IfC:

  1. SDK-based solutions
  2. Code annotation-based solutions
  3. New programming languages
  4. Static code scanning
Read More  When Will The Fascination With Cloud Computing Fade?

There’s a good, quick overview of the first three approaches over at InfoQ that is worth checking out. The basic idea is that, presently, you can either try to build your app in a way that accounts for IfC (SDKs and programming languages), or you can use your existing code to come up with IfC (code annotation and code scanning).

Which approach works best for you will depend on your team’s time constraints, experience, interests, and the needs of your company and application. Each has their own pros and cons, with the SDK and programming language approaches ensuring IfC is integrated from the very beginning of the application being built, and the code annotation and code scanning approaches building infrastructure tailored to the app from the code without the need to switch languages or tools. And maybe IaC is working just fine for your whole organization and you don’t see a need for IfC.

IaC vs IfC

IaC really came into being throughout the 2010s. There are a lot of ways to use IaC, from Helm to Terraform to CloudFormation and beyond. And there are a lot of tools offering adjacent IaC solutions that have sprung up to help users, like Spacelift, Rancher, Pulumi and AWS CDK.

As time has gone on and the industry has grown and changed, drawbacks have begun to show in the IaC approach, and questions have arisen about how better to merge application code and infrastructure code. IfC is one answer that’s beginning to gain traction. But how do they compare? 

Infrastructure as CodeInfrastructure from Code
Puts infrastructure needs and practices first.Puts the infrastructure needs of the application first.
Creates an infrastructure source of truth that is ideally the VCS config, but can be a little hard to pin down if anyone strays from the config. Its source of truth is the app version, so VCS is built-in.
Implements architecture & security best practices.Scales to app needs, ensuring infrastructure is least privileged and rightsized.
Can be difficult to manage and update over time.Infrastructure for each app may follow the same standards, but will be unique to the app. 
Is often very one-size-fits-all. 

Into the future with IfC and appCD

If you’re interested in trying out the Infrastructure from Code approach, appCD offers IfC in the newest most low-effort way with a static code scan that reduces intervention and speeds delivery. Try us out by connecting appCD to your project’s repo, statically scanning your code, reviewing the visualization of the proposed infrastructure, and then generating IaC files for deployment. 

Read More  How To Fail At Platform Engineering

Have questions, thoughts, or just want to tell us how cool we are? Send us an email or connect with us on social media: LinkedIn or X.

Member post originally published on AppCD’s blog by Lauren Rother

Source: cyberpogo.com


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • Cloud Computing
  • Code
  • Infrastructure as Code
You May Also Like
View Post
  • Computing
  • Multi-Cloud
  • Technology

Pure Accelerate 2025: All the news and updates live from Las Vegas

  • June 18, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

‘This was a very purposeful strategy’: Pure Storage unveils Enterprise Data Cloud in bid to unify data storage, management

  • June 18, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

What is cloud bursting?

  • June 18, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

There’s a ‘cloud reset’ underway, and VMware Cloud Foundation 9.0 is a chance for Broadcom to pounce on it

  • June 17, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

What is confidential computing?

  • June 17, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Oracle adds xAI Grok models to OCI

  • June 17, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Fine-tune your storage-as-a-service approach

  • June 16, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Global cloud spending might be booming, but AWS is trailing Microsoft and Google

  • June 13, 2025

Stay Connected!
LATEST
  • 1
    Pure Accelerate 2025: All the news and updates live from Las Vegas
    • June 18, 2025
  • 2
    ‘This was a very purposeful strategy’: Pure Storage unveils Enterprise Data Cloud in bid to unify data storage, management
    • June 18, 2025
  • What is cloud bursting?
    • June 18, 2025
  • 4
    There’s a ‘cloud reset’ underway, and VMware Cloud Foundation 9.0 is a chance for Broadcom to pounce on it
    • June 17, 2025
  • What is confidential computing?
    • June 17, 2025
  • Oracle adds xAI Grok models to OCI
    • June 17, 2025
  • Fine-tune your storage-as-a-service approach
    • June 16, 2025
  • 8
    Advanced audio dialog and generation with Gemini 2.5
    • June 15, 2025
  • 9
    A Father’s Day Gift for Every Pop and Papa
    • June 13, 2025
  • 10
    Global cloud spending might be booming, but AWS is trailing Microsoft and Google
    • June 13, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • Google Cloud, Cloudflare struck by widespread outages
    • June 12, 2025
  • What is PC as a service (PCaaS)?
    • June 12, 2025
  • 3
    Crayon targets mid-market gains with expanded Google Cloud partnership
    • June 10, 2025
  • By the numbers: Use AI to fill the IT skills gap
    • June 11, 2025
  • 5
    Apple services deliver powerful features and intelligent updates to users this autumn
    • June 11, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.