DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. DevOps and CI/CD
  4. Infrastructure as Code - The Key to DevOps

Infrastructure as Code - The Key to DevOps

Carlos Sanchez user avatar by
Carlos Sanchez
·
Mar. 18, 12 · Interview
Like (1)
Save
Tweet
Share
15.67K Views

Join the DZone community and get the full member experience.

Join For Free

devops is not about the tools

that’s true, in the same way that agile is not about the tools either, it’s a set of ideas, concepts, best practices,…

anger

nice, but… how can i successfully implement it?

tools can enable change in behavior and eventually change culture [patrick debois]

printer in 1568

the same way the guttemberg printer was a tool that enabled a cultural change, or that agile development wouldn’t be possible without continuous integration servers , devops relies on some tools to implement its principles.

unfortunately, the same way everyone thinks of themselves as being intelligent enough, and every tool out there is magically cloud enabled, now every tool claims to be devops .

however, there is agreement that tools that allow us to deal with infrastructure as code are key on implementing devops concepts.

it’s all been invented already, now it’s standardized with tools like chef or puppet . before, you could write your own scripts to automate server installation, configuration,… but everyone would do it their very own way.

now there’s some common language used by puppet or by chef, that allows to share and reuse configuration as modules or recipes .

infrastructure as code, a key concept

the concept that infrastructure should be treated as code is really powerful. server configuration, packages installed, relationships with other servers,… should be modeled with code to be automated and have a predictable outcome, removing manual steps prone to errors. doesn’t sound bad, does it?

but new solutions bring new challenges, and when infrastructure is code we face the same problems faced by developers .

  • what version of the infrastructure are we using in production?
  • how can we ensure that when an issue is found it gets fixed and redeployed?
  • how can we test the infrastructure as we develop it?

that’s why when dealing with infrastructure as code we should follow development best practices .

for instance we can (and should!)

  • tag, branch and release the code that define our servers.
  • have a lifecycle that covers different stages through the infrastructure code, ie. dev, qa, production.
  • continuously test our infrastructure as we make changes.
Infrastructure as code Infrastructure DevOps

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Use Golang for Data Processing With Amazon Kinesis and AWS Lambda
  • Browser Engines: The Crux of Cross-Browser Compatibility
  • Integrating AWS Secrets Manager With Spring Boot
  • Seamless Integration of Azure Functions With SQL Server: A Developer's Perspective

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: