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  Tiny Snippets Of Code That Changed The World

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  Ingesting GA4 Events For Discovery Solutions

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

How to create an AWS free tier account

  • July 10, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

How to configure multiple AWS CLI authentication credentials

  • July 10, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

What is database as a service (DBaaS)?

  • July 7, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

The cloud’s role in PQC migration

  • July 7, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Hybrid cloud has hit the mainstream – but firms are still confused about costs

  • July 7, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Turns out OpenAI is the customer behind Oracle’s mysterious $30 billion cloud deal

  • July 3, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

A looming hyperscaler exodus? UK IT leaders are thinking of ditching US cloud providers – here’s why

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

Prioritize security from the edge to the cloud

  • June 25, 2025

Stay Connected!
LATEST
  • How to create an AWS free tier account
    • July 10, 2025
  • How to configure multiple AWS CLI authentication credentials
    • July 10, 2025
  • 3
    Formula E accelerates its work with Google Cloud Storage and Google Workspace
    • July 9, 2025
  • What is database as a service (DBaaS)?
    • July 7, 2025
  • The cloud’s role in PQC migration
    • July 7, 2025
  • 6
    Hybrid cloud has hit the mainstream – but firms are still confused about costs
    • July 7, 2025
  • 7
    Building secure, scalable AI in the cloud with Microsoft Azure
    • July 5, 2025
  • 8
    Turns out OpenAI is the customer behind Oracle’s mysterious $30 billion cloud deal
    • July 3, 2025
  • aster-cloud-erp-bill_of_materials_2 9
    What is an SBOM (software bill of materials)?
    • July 2, 2025
  • aster-cloud-sms-pexels-tim-samuel-6697306 10
    Send SMS texts with Amazon’s SNS simple notification service
    • July 1, 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
  • 1
    A looming hyperscaler exodus? UK IT leaders are thinking of ditching US cloud providers – here’s why
    • June 26, 2025
  • Genome 2
    AlphaGenome: AI for better understanding the genome
    • June 25, 2025
  • aster-cloud-website-pexels-goumbik-574069 3
    Host a static website on AWS with Amazon S3 and Route 53
    • June 27, 2025
  • Camping 4
    The Summer Adventures : Camping Essentials
    • June 27, 2025
  • 6 edge monitoring best practices in the cloud
    • June 25, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.