SlideShare a Scribd company logo
Submit Search
Upload
Login
Signup
Why is Infrastructure-as-Code essential in the Cloud Age?
Report
Andrew Ferrier
Follow
IBM Cloud Architect, IBM Garage for Cloud at IBM
Nov. 18, 2022
•
0 likes
•
16 views
1
of
19
Why is Infrastructure-as-Code essential in the Cloud Age?
Nov. 18, 2022
•
0 likes
•
16 views
Download Now
Download to read offline
Report
Engineering
Why is Infrastructure-as-Code essential in the Cloud Age?
Andrew Ferrier
Follow
IBM Cloud Architect, IBM Garage for Cloud at IBM
Recommended
Platform Engineering for the Modern Oracle World
Simon Haslam
86 views
•
42 slides
Desert Code Camp Presentation
LifeCycle Delivery
204 views
•
9 slides
Meetup - Serverless
Sugandha Agrawal
135 views
•
34 slides
Why Cloud Management Makes Sense - Josh Fraser
Amazon Web Services
1.2K views
•
51 slides
Meetup 2020 - Back to the Basics part 101 : IaC
DamienCarpy
124 views
•
33 slides
Node.js Deeper Dive
Justin Reock
87 views
•
71 slides
More Related Content
Similar to Why is Infrastructure-as-Code essential in the Cloud Age?
IBM Smart Cloud Provisioning Overview
IBM Danmark
2.7K views
•
26 slides
Convince your boss to go Serverless at serverless week Brazil
Vadym Kazulkin
98 views
•
89 slides
Infrastructure as Code with Terraform on AWS
Ali Can Kuştemur 🐧
99 views
•
21 slides
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
IDERA Software
134 views
•
30 slides
SmartCloud Provisioning - details and demo
IBM Danmark
737 views
•
26 slides
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
Michael Fork
5.6K views
•
36 slides
Similar to Why is Infrastructure-as-Code essential in the Cloud Age?
(20)
IBM Smart Cloud Provisioning Overview
IBM Danmark
•
2.7K views
Convince your boss to go Serverless at serverless week Brazil
Vadym Kazulkin
•
98 views
Infrastructure as Code with Terraform on AWS
Ali Can Kuştemur 🐧
•
99 views
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
IDERA Software
•
134 views
SmartCloud Provisioning - details and demo
IBM Danmark
•
737 views
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
Michael Fork
•
5.6K views
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
Vadym Kazulkin
•
377 views
AAF - Enterprise Architecture and Cloud Computing
Marc Caltabiano
•
1.5K views
The DevOps PaaS Infusion - May meetup
Norm Leitman
•
315 views
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Kiko Monteverde
•
2.3K views
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
ghodgkinson
•
576 views
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
NRB
•
206 views
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Vadym Kazulkin
•
239 views
Transforming to Microservices
Kyle Brown
•
2.3K views
Measure and increase developer productivity with help of Severless by Kazulki...
Vadym Kazulkin
•
667 views
Cloud Love Conference: Kubernetes is awesome, but...
Nico Meisenzahl
•
11 views
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays
•
66 views
Cloud lunchn learn_howtobecomeacloudarchitect_part1
Turja Narayan Chaudhuri
•
78 views
Technology insights: Decision Science Platform
Decision Science Community
•
154 views
Achieving scalability & speed with IaaS
IBM Software India
•
434 views
More from Andrew Ferrier
Integration (Application?) Modernization with IBM Garage
Andrew Ferrier
24 views
•
47 slides
Become an IBM Cloud Architect in 40 Minutes
Andrew Ferrier
1.4K views
•
40 slides
Become a Bluemix Architect in 45 Minutes
Andrew Ferrier
435 views
•
28 slides
Creating Effective Mobile Applications with IBM Bluemix
Andrew Ferrier
639 views
•
34 slides
Understanding Docker and IBM Bluemix Container Service
Andrew Ferrier
1.1K views
•
31 slides
MEAPs meet the Cloud
Andrew Ferrier
146 views
•
14 slides
More from Andrew Ferrier
(11)
Integration (Application?) Modernization with IBM Garage
Andrew Ferrier
•
24 views
Become an IBM Cloud Architect in 40 Minutes
Andrew Ferrier
•
1.4K views
Become a Bluemix Architect in 45 Minutes
Andrew Ferrier
•
435 views
Creating Effective Mobile Applications with IBM Bluemix
Andrew Ferrier
•
639 views
Understanding Docker and IBM Bluemix Container Service
Andrew Ferrier
•
1.1K views
MEAPs meet the Cloud
Andrew Ferrier
•
146 views
Building Effective and Rapid Applications with IBM MobileFirst Platform
Andrew Ferrier
•
2.2K views
Mobile and IBM Worklight Best Practices
Andrew Ferrier
•
8.7K views
WebSphere User Group UK: Larger Applications with Worklight
Andrew Ferrier
•
1.9K views
Real-world Dojo Mobile
Andrew Ferrier
•
4K views
Worklight Overview
Andrew Ferrier
•
5.5K views
Recently uploaded
1st Ansys Technology Day in Athens,Agenda
SIMTEC Software and Services
113 views
•
2 slides
North American YAT-28 Turbo Trojan.pdf
TahirSadikovi
16 views
•
11 slides
lift and escalator.pdf
Deepika Verma
27 views
•
24 slides
Reinforced earth structures notes.pdf
RamyaNarasimhan5
93 views
•
69 slides
UNIT III PRINCIPLES OF ILLUMINATION
karthi keyan
25 views
•
36 slides
Operations and Supply Chain management.pdf
ParmitSihag1
34 views
•
785 slides
Recently uploaded
(20)
1st Ansys Technology Day in Athens,Agenda
SIMTEC Software and Services
•
113 views
North American YAT-28 Turbo Trojan.pdf
TahirSadikovi
•
16 views
lift and escalator.pdf
Deepika Verma
•
27 views
Reinforced earth structures notes.pdf
RamyaNarasimhan5
•
93 views
UNIT III PRINCIPLES OF ILLUMINATION
karthi keyan
•
25 views
Operations and Supply Chain management.pdf
ParmitSihag1
•
34 views
gdsc info session .pptx
Thestarsahil
•
221 views
Chapter 9. Classification Advanced Methods.ppt
Subrata Kumer Paul
•
13 views
impulse-and-load-test-rig.pptx
Neometrix_Engineering_Pvt_Ltd
•
15 views
Introduction to Data Science.pptx
Anusuya123
•
24 views
Dynamics (Hibbeler) (1).pdf
VEGACHRISTINEF
•
45 views
Cessna Model 406 Pilot Operating Handbook.pdf
TahirSadikovi
•
24 views
DCES_Classroom_Building_100_CDs.pdf
RoshelleStahl1
•
36 views
JSA-Piling or Concreting for Foundations & Building
Alvin160771
•
20 views
1st Ansys Technology Day in Athens, Agenda
SIMTEC Software and Services
•
229 views
Security-by-Design and -Default
Mehdi Mirakhorli
•
69 views
Airbus A320 Flight Crew Operating Manual.Part 1.pdf
TahirSadikovi
•
22 views
Advanced PLC Programming Course EMERSON EDUARDO RODRIGUES
EMERSON EDUARDO RODRIGUES
•
13 views
UNII II ELECTRICAL SYSTEMS IN BUILDINGS
karthi keyan
•
32 views
[RecSys2023] Challenging the Myth of Graph Collaborative Filtering: a Reasone...
Daniele Malitesta
•
17 views
Why is Infrastructure-as-Code essential in the Cloud Age?
1.
Why is Infrastructure-as-Code
Essential in the Cloud Age? Andrew Ferrier WW Architectural Lead Regulated Cloud Practice, Cloud Expert Labs © 2022 IBM Corporation
2.
Context (Why are
we talking about this?) I work in IBM Cloud Expert Labs (specifically, on Regulated Cloud). We focus on being experts in IBM Cloud. Over the past 3-4 years, we have been doing a lot of work around automation, and specifically using Terraform technology to deploy workloads to IBM Cloud especially. Terraform, and automation more generally, is becoming a near-essential for cloud projects. Let’s explore why… © 2022 IBM Corporation 2 🤐
3.
Recap: Why do
folks use the cloud? 1. Reduced cost 2. “-as-a-Service” capability (this is really just cost anyway; you’re paying for someone else to do the hard work) 3. Time-to-market 4. So they can draw on pools of infrastructure and capability (i.e. application development and run flexibility) - And this drives a need for automation © 2022 IBM Corporation 3 ☁️
4.
So, what does
problem does automation solve? Non-automated infrastructure builds are waterfall, not agile: 1. You spend a lot of time ‘designing’ or ‘architecting’ the infrastructure (making decisions) (💤) 2. Then someone builds that infrastructure. This takes a lot of time. They are human, so they get some of it wrong (😬). Each time they do it they get something different wrong (🤐). 3. Then some of it doesn’t work how you expected (it was complicated, and you made some incorrect assumptions). 4. So you rework your design and start rebuilding. 5. But because you made some faulty assumptions early on, you throw away a large part of your infrastructure and start again. © 2022 IBM Corporation 4
5.
So, what does
automation do instead? – All of the infrastructure your software needs is expressed as code. – You can run, or re-run, this code at any time to bring your infrastructure in line with your intentions. – Building infrastructure directly is replaced with a development activity: building automation. – Any time you need to pivot, or make a change, you refactor or change your code and re-run. © 2022 IBM Corporation 5 🤐
6.
So, can we
give a slightly more concrete example? Let’s look at Terraform: • Terraform is a commonly-used technology for Infrastructure-as-Code (IaC) • It’s managed by HashiCorp, but the core of it is open-source. • It’s supported by most of the major cloud providers, including IBM Cloud (this means they have a Terraform provider). https://www.terraform.io/ © 2022 IBM Corporation 6
7.
How does it
work? • Terraform is declarative. • You specify the resources you want to be built, and apply (aka run) your Terraform, and Terraform creates them. • For example, in IBM Cloud, resources might include things like: • A Virtual Private Cloud • An entire managed RedHat OpenShift cluster • A software-as-a-service Watson Discovery instance © 2022 IBM Corporation 7
8.
… there’s a
bit more to it than that… • You can plan your Terraform before you apply it so you can see what changes it will make. • Terraform is modular, so you can create your own groupings of components and expose only properties that are relevant to you. • You can destroy stuff as well as apply (create) it. • Etc… © 2022 IBM Corporation 8 🤐 🤐 🔥
9.
So what benefits
does this bring? Repeatability, accuracy, and improved speed • In a IaC model, it is still possible to make a mistake, but like application code, it tends towards perfection; if you fix something in your code, it stays fixed. • Terraform understand dependencies, so when you reapply your code, the computer does the hard work of doing things in the right order • This means you have more overall time to fix other issues, enhance your infrastructure, and work on other stuff. © 2022 IBM Corporation 9 ☕
10.
So what benefits
does this bring? Focus on the content, not the mechanics • Creating infrastructure-as-code allows “infrastructure engineers” to focus on what they are doing, and less on how. • For example: “are 3 or 6 servers the right answer for my load-balancing issue” … rather than … ”I’ve forgotten which buttons I click to create or destroy the 3 additional servers.” © 2022 IBM Corporation 10
11.
So what benefits
does this bring? Trivial duplication • Different environments (dev, test, production, etc.) are minor variations of each other (or at least, they should be 😉 ). • IaC makes that easy; define input variables to express the minor differences. • Once you can stand up dev, you can stand up production just as easily. © 2022 IBM Corporation 11 🐮 🐮
12.
So what benefits
does this bring? Self-documenting • You no longer need to write long tedious setup documentation for your infrastructure/environments. • Because infrastructure is expressed as code, the infrastructure is partly self-documenting; to know how things are set up you just need to inspect the code. • (This is not 100%; with complex automation some documentation may still be needed. But it’s a resource that doesn’t exist in a non-IaC model) © 2022 IBM Corporation 12 📄
13.
So what benefits
does this bring? Only provision what you need and when • On the cloud, you only pay for what you need and when, right? Sort of. • This works OK for pure serverless, but for more traditional architectures (VMs, containerization), provisioning a complex network of components is simply hard work (meaning: 💰). • We don’t tear down and stand up as much as we could do. • Automation (combined with test automation, improved agile processes, etc.) saves real $$$ here. • We can manage environments themselves using code. © 2022 IBM Corporation 13
14.
So what downsides
does it have? 😔 Skills • In order to automate, you need automation skills as well as point-and-click button- pressing skills. • This is development. • The good news? Terraform (at least) is easy. If this doesn’t scare you, you can (learn to) write Terraform: © 2022 IBM Corporation 14
15.
So what downsides
does it have? 😔 Delayed project cost benefits • Automation can save a lot of time, but not upfront • Upfront automation can be expensive, especially if your team doesn’t have development skills • The benefits accrue later and can be difficult to measure. Prepare to fight your project manager! • (But, these benefits are so huge than on large/complex projects you may find the project too costly without automation). © 2022 IBM Corporation 15 🤐
16.
So what downsides
does it have? 😔 Works best with other agile/modern development practices, like CI/CD/GitOps and automated testing • You’ll make the most of infrastructure automation if you automate other things too. So: • Your application(s) should be automatically built and deployed (CI/CD/GitOps). • Your application(s) should be tested automatically. © 2022 IBM Corporation 16
17.
… quick aside
… what’s Ansible? • Ansible is another IaC technology which is often used as an alternative (or more accurately) additionally to Terraform. • Open-source, but steered by RedHat. • It’s imperative, not declarative. • Mostly suitable for server configuration in IaaS-heavy scenarios. https://www.ansible.com/ © 2022 IBM Corporation 17
18.
What can IBM
Cloud do? • IBM Cloud has built-in support for both Terraform and Ansible using a component called IBM Cloud Schematics. • Essentially, this provides tools to make it easier to use these technologies in a team: • A GUI console environment for visibility • + State-storing components • (Also lots of IBM canned Terraform examples/starters for Regulated Cloud architectures/etc.) https://cloud.ibm.com/schematics © 2022 IBM Corporation 18