Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1120 2022-11-07 01:40:04

Video Upload Options

We provide professional Video Production Services to translate complex research into visually appealing presentations. Would you like to try it?

Confirm

Are you sure to Delete?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Infrastructure as Code. Encyclopedia. Available online: https://encyclopedia.pub/entry/33342 (accessed on 18 November 2024).
HandWiki. Infrastructure as Code. Encyclopedia. Available at: https://encyclopedia.pub/entry/33342. Accessed November 18, 2024.
HandWiki. "Infrastructure as Code" Encyclopedia, https://encyclopedia.pub/entry/33342 (accessed November 18, 2024).
HandWiki. (2022, November 07). Infrastructure as Code. In Encyclopedia. https://encyclopedia.pub/entry/33342
HandWiki. "Infrastructure as Code." Encyclopedia. Web. 07 November, 2022.
Infrastructure as Code
Edit

Infrastructure as code (IaC) is the process of managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools. The IT infrastructure managed by this comprises both physical equipment such as bare-metal servers as well as virtual machines and associated configuration resources. The definitions may be in a version control system. It can use either scripts or declarative definitions, rather than manual processes, but the term is more often used to promote declarative approaches. IaC approaches are promoted for cloud computing, which is sometimes marketed as infrastructure as a service (IaaS). IaC supports IaaS, but should not be confused with it.

virtual machines hardware configuration infrastructure

1. Overview

IaC grew as a response to the difficulty posed from two pieces of technology – utility computing and second-generation web frameworks. This brought about widespread scaling problems for many enterprises that were previously only witnessed by huge companies.[1] In 2006 specifically the launch of Amazon Web Services’ Elastic Compute Cloud and the 1.0 version of Ruby on Rails just months before.[2] With new tools emerging to handle this ever growing field, the idea of IaC was born. The thought of modelling infrastructure with code, and then having the ability to design, implement, and deploy applications infrastructure with known software best practices appealed to software developers and IT infrastructure administrators. The ability to treat it like code and use the same tools as any other software project would allow developers to rapidly deploy applications.[3]

In February 2011 Amazon announced AWS CloudFormation [4] which provides a declarative template-based IaC model for configuring AWS.[5]

2. Added Value and Advantages

The value of IaC can be broken down into three, measurable categories: Cost (reduction), speed (faster execution) and risk (remove errors and security violations).[6] Cost reduction aims at helping not only the enterprise financially, but also in terms of people and effort, meaning that by removing the manual component, people are able to refocus their efforts towards other enterprise tasks. Infrastructure automation enables speed through faster execution when configuring your infrastructure and aims at providing visibility to help other teams across the enterprise work quickly and more efficiently. Automation removes the risk associated with human error, like manual misconfiguration; removing this can decrease downtime and increase reliability.{{citation needed|date=March 2017} p the enterprise move towards implementing a culture of DevOps, the combined working of development and operations.[7]

3. Types of Approaches

There are generally three approaches to IaC: declarative (functional) vs. imperative (procedural) vs. intelligent (environment aware). The difference between the declarative, the imperative and the intelligent approach is essentially 'what' versus 'how' versus 'why' . The declarative approach focuses on what the eventual target configuration should be; the imperative focuses on how the infrastructure is to be changed to meet this; the intelligent approach focuses on why the configuration should be a certain way in consideration of all the co-relationships and co-dependencies of multiple applications running on the same infrastructure typically found in production.[8] The declarative approach defines the desired state and the system executes what needs to happen to achieve that desired state. Imperative defines specific commands that need to be executed in the appropriate order to end with the desired conclusion. The intelligent determines the correct desired state before the system executes what needs to happen to achieve a desired state that does not impact co-dependent applications. Environment aware desired state is the next generation of IaC.[9]

4. Methods

There are two methods of IaC: 'push' and 'pull' . The main difference is the manner in which the servers are told how to be configured. In the pull method the server to be configured will pull its configuration from the controlling server. In the push method the controlling server pushes the configuration to the destination system.[10]

5. Tools

There are many tools that fulfill infrastructure automation capabilities and use IaC. Broadly speaking, any framework, or tool that performs changes or configures infrastructure declaratively or imperatively based on a programmatic approach can be considered IaC.[11] Traditionally, server (lifecycle) automation and configuration management tools were used to accomplish IaC, now enterprises are using continuous configuration automation tools or stand-alone IaC frameworks, such as Microsoft’s PowerShell DSC.[12]

5.1. Continuous Configuration Automation

All continuous configuration automation (CCA) tools can be thought of as an extension of traditional IaC frameworks; it leverages IaC to change, configure, and automate infrastructure, but it also provides visibility, efficiency and flexibility in how your infrastructure is managed.[1] These additional attributes provide enterprise level security and compliance - making companies keen on implementing these types of tools.

Community content

An important aspect when considering CCA tools, if they are open source, is the community content. As Gartner states, the value of CCA tools is “as dependent on user community-contributed content and support as it is on the commercial maturity and performance of the automation tooling.”[1] Vendors like Puppet and Chef, those that have been around a significant amount of time, have created their own communities; Chef has Chef Community Repository and Puppet has PuppetForge,[13] other vendors rely on adjacent communities and leverage other IaC frameworks such as PowerShell DSC.[12] New vendors are emerging that are not content driven, but model driven with the intelligence in the product to deliver content. These visual, object-oriented systems work well for developers, but they are especially useful to production oriented DevOps and operations constituents that value models versus scripting for content. As the field continues to develop and change, the community based content will become ever important to how IaC tools are used, unless they are model driven and object oriented.

Notable CCA tools include:

Tool Released by Method Approach Written in
Ansible Tower RedHat Push Declarative and imperative Python
CFEngine CFEngine Pull Declarative -
Chef Chef Pull Declarative and imperative Ruby
Otter Inedo Push Declarative and imperative -
Puppet Puppet Pull Declarative Ruby
SaltStack SaltStack Push and Pull Declarative and imperative Python
Terraform HashiCorp Push Declarative Go

6. Relationship to DevOps

IaC can be a key attribute of enabling best practices in DevOps – Developers become more involved in defining configuration and Ops teams get involved earlier in the development process.[14] Tools that utilize IaC bring visibility to the state and configuration of servers and ultimately provide the visibility to users within the enterprise, aiming to bring teams together to maximize their efforts.[15] Automation in general aims to take the confusion and error-prone aspect of manual processes and make it more efficient, and productive. Allowing for better software and applications to be created with flexibility, less downtime, and an overall cost effective way for the company. IaC is intended to reduce the complexity that kills efficiency out of manual configuration. Automation and collaboration are considered central points in DevOps; Infrastructure automation tools are often included as components of a DevOps toolchain.[16]

References

  1. Fletcher, Colin; Cosgrove, Terrence (26 August 2015). Innovation Insight for Continuous Configuration Automation Tools (Report). http://www.gartner.com/document/3119319?ref=unauthreader. 
  2. Bower, Joseph L.; Christensen, Claton M.. "Disruptive Technologies: Catching the Wave". Harvard Business Review. 
  3. Riley, Chris (12 November 2015). "Version Your Infrastructure". DevOps.com. http://devops.com/2015/11/12/version-your-infrastructure/. 
  4. https://aws.amazon.com/about-aws/whats-new/2011/02/25/introducing-aws-cloudformation/
  5. AWS in Action & Wittig (2016), p. 112.
  6. Macvittie, Lori (26 February 2015). "How Deploy Frequency Impacts Infrastructure Stability". http://devops.com/2015/02/26/how-deploy-frequency-impacts-infrastructure-stability/. 
  7. Phillips, Andrew (14 May 2015). "Moving from Infrastructure Automation to True DevOps". http://devops.com/2015/05/14/moving-from-infrastructure-automation-to-true-devops/. 
  8. "Declarative v. Imperative Models for Configuration Management: Which Is Really Better?". https://www.scriptrock.com/blog/articles/declarative-vs.-imperative-models-for-configuration-management. 
  9. Loschwitz, Martin (14 November 2014). "Choosing between the leading open source configuration managers". Admin Network & Security (Lawrence, KS USA: Linux New Media USA LLC). http://www.admin-magazine.com/Archive/2014/23/Choosing-between-the-leading-open-source-configuration-managers. 
  10. Venezia, Paul (21 November 2013). "Puppet vs. Chef vs. Ansible vs. Salt". Network World. http://www.networkworld.com/article/2172097/virtualization/puppet-vs--chef-vs--ansible-vs--salt.html. 
  11. Garner Market Trends: DevOps – Not a Market, but Tool-Centric Philosophy That supports a Continuous Delivery Value Chain (Report). Gartner. 18 February 2015. 
  12. Chaganti, Ravikanth (5 January 2016). "DevOps, Infrastructure as Code, and PowerShell DSC: The Introduction". PowerShell Magazine (PowerShell Magazine). http://www.powershellmagazine.com/2016/01/05/devops-infrastructure-as-code-and-powershell-dsc-the-introduction/. Retrieved 11 January 2016. 
  13. Sturgeon, Phil (28 October 2012). "Puppet or Chef?". https://philsturgeon.uk/devops/2012/10/28/puppet-or-chef/. 
  14. Ramos, Martin (4 November 2015). "Continuous Integration: Infrastructure as Code in DevOps". http://info.easydynamics.com/blog/continuous-integration-infrastructure-as-code. 
  15. Infrastructure As Code: Fueling the Fire for Faster Application Delivery (Report). Forrester. March 2015. 
  16. Wurster, Laurie F.; Colville, Ronni J.; Height, Cameron; Tripathi, Somendra; Rastogi, Aditi. Emerging Technology Analysis: DevOps a Culture Shift, Not a Technology (Report). Gartner. 
More
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 554
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 07 Nov 2022
1000/1000
ScholarVision Creations