SlideShare uma empresa Scribd logo
1 de 19
Why is Infrastructure-as-Code Essential in the
Cloud Age?
Andrew Ferrier
WW Architectural Lead
Regulated Cloud Practice, Cloud Expert Labs
© 2022 IBM Corporation
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
🤐
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
☁️
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
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
🤐
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
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
… 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
🤐
🤐
🔥
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
☕
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
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
🐮
🐮
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
📄
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
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
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
🤐
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
… 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
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
Why is Infrastructure-as-Code essential in the Cloud Age?

Mais conteúdo relacionado

Semelhante a Why is Infrastructure-as-Code essential in the Cloud Age?

IBM Smart Cloud Provisioning Overview
IBM Smart Cloud Provisioning OverviewIBM Smart Cloud Provisioning Overview
IBM Smart Cloud Provisioning OverviewIBM Danmark
 
Convince your boss to go Serverless at serverless week Brazil
Convince your boss to go Serverless at serverless week BrazilConvince your boss to go Serverless at serverless week Brazil
Convince your boss to go Serverless at serverless week BrazilVadym Kazulkin
 
Infrastructure as Code with Terraform on AWS
Infrastructure as Code with Terraform on AWSInfrastructure as Code with Terraform on AWS
Infrastructure as Code with Terraform on AWSAli Can Kuştemur 🐧
 
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...IDERA Software
 
SmartCloud Provisioning - details and demo
SmartCloud Provisioning - details and demoSmartCloud Provisioning - details and demo
SmartCloud Provisioning - details and demoIBM Danmark
 
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and FutureOpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and FutureMichael Fork
 
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...Vadym Kazulkin
 
AAF - Enterprise Architecture and Cloud Computing
AAF - Enterprise Architecture and Cloud ComputingAAF - Enterprise Architecture and Cloud Computing
AAF - Enterprise Architecture and Cloud ComputingMarc Caltabiano
 
The DevOps PaaS Infusion - May meetup
The DevOps PaaS Infusion - May meetupThe DevOps PaaS Infusion - May meetup
The DevOps PaaS Infusion - May meetupNorm Leitman
 
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Kiko Monteverde
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...ghodgkinson
 
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...NRB
 
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...Vadym Kazulkin
 
Transforming to Microservices
Transforming to MicroservicesTransforming to Microservices
Transforming to MicroservicesKyle Brown
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Vadym Kazulkin
 
Cloud Love Conference: Kubernetes is awesome, but...
Cloud Love Conference: Kubernetes is awesome, but...Cloud Love Conference: Kubernetes is awesome, but...
Cloud Love Conference: Kubernetes is awesome, but...Nico Meisenzahl
 
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays
 
Cloud lunchn learn_howtobecomeacloudarchitect_part1
Cloud lunchn learn_howtobecomeacloudarchitect_part1Cloud lunchn learn_howtobecomeacloudarchitect_part1
Cloud lunchn learn_howtobecomeacloudarchitect_part1Turja Narayan Chaudhuri
 
Technology insights: Decision Science Platform
Technology insights: Decision Science PlatformTechnology insights: Decision Science Platform
Technology insights: Decision Science PlatformDecision Science Community
 
Achieving scalability & speed with IaaS
Achieving scalability & speed with IaaSAchieving scalability & speed with IaaS
Achieving scalability & speed with IaaSIBM Software India
 

Semelhante a Why is Infrastructure-as-Code essential in the Cloud Age? (20)

IBM Smart Cloud Provisioning Overview
IBM Smart Cloud Provisioning OverviewIBM Smart Cloud Provisioning Overview
IBM Smart Cloud Provisioning Overview
 
Convince your boss to go Serverless at serverless week Brazil
Convince your boss to go Serverless at serverless week BrazilConvince your boss to go Serverless at serverless week Brazil
Convince your boss to go Serverless at serverless week Brazil
 
Infrastructure as Code with Terraform on AWS
Infrastructure as Code with Terraform on AWSInfrastructure as Code with Terraform on AWS
Infrastructure as Code with Terraform on AWS
 
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
 
SmartCloud Provisioning - details and demo
SmartCloud Provisioning - details and demoSmartCloud Provisioning - details and demo
SmartCloud Provisioning - details and demo
 
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and FutureOpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
OpenStack Atlanta Summit - IBM, SoftLayer, and OpenStack: Present and Future
 
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
Measure and Increase Developer Productivity with Help of Serverless AWS Commu...
 
AAF - Enterprise Architecture and Cloud Computing
AAF - Enterprise Architecture and Cloud ComputingAAF - Enterprise Architecture and Cloud Computing
AAF - Enterprise Architecture and Cloud Computing
 
The DevOps PaaS Infusion - May meetup
The DevOps PaaS Infusion - May meetupThe DevOps PaaS Infusion - May meetup
The DevOps PaaS Infusion - May meetup
 
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
 
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
The NRB Group mainframe day 2021 - Containerisation on Z - Paul Pilotto - Seb...
 
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
 
Transforming to Microservices
Transforming to MicroservicesTransforming to Microservices
Transforming to Microservices
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...
 
Cloud Love Conference: Kubernetes is awesome, but...
Cloud Love Conference: Kubernetes is awesome, but...Cloud Love Conference: Kubernetes is awesome, but...
Cloud Love Conference: Kubernetes is awesome, but...
 
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
 
Cloud lunchn learn_howtobecomeacloudarchitect_part1
Cloud lunchn learn_howtobecomeacloudarchitect_part1Cloud lunchn learn_howtobecomeacloudarchitect_part1
Cloud lunchn learn_howtobecomeacloudarchitect_part1
 
Technology insights: Decision Science Platform
Technology insights: Decision Science PlatformTechnology insights: Decision Science Platform
Technology insights: Decision Science Platform
 
Achieving scalability & speed with IaaS
Achieving scalability & speed with IaaSAchieving scalability & speed with IaaS
Achieving scalability & speed with IaaS
 

Mais de Andrew Ferrier

Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?
Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?
Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?Andrew Ferrier
 
What *Is* Cloud? - A introduction for non-techies
What *Is* Cloud? - A introduction for non-techiesWhat *Is* Cloud? - A introduction for non-techies
What *Is* Cloud? - A introduction for non-techiesAndrew Ferrier
 
Integration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageAndrew Ferrier
 
Become an IBM Cloud Architect in 40 Minutes
Become an IBM Cloud Architect in 40 MinutesBecome an IBM Cloud Architect in 40 Minutes
Become an IBM Cloud Architect in 40 MinutesAndrew Ferrier
 
Become a Bluemix Architect in 45 Minutes
Become a Bluemix Architect in 45 MinutesBecome a Bluemix Architect in 45 Minutes
Become a Bluemix Architect in 45 MinutesAndrew Ferrier
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixAndrew Ferrier
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceAndrew Ferrier
 
Building Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformBuilding Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformAndrew Ferrier
 
Mobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best PracticesMobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best PracticesAndrew Ferrier
 
WebSphere User Group UK: Larger Applications with Worklight
WebSphere User Group UK: Larger Applications with WorklightWebSphere User Group UK: Larger Applications with Worklight
WebSphere User Group UK: Larger Applications with WorklightAndrew Ferrier
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo MobileAndrew Ferrier
 

Mais de Andrew Ferrier (13)

Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?
Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?
Artificial Intelligence 101: What is It and Why is it Suddenly a Big Deal Again?
 
What *Is* Cloud? - A introduction for non-techies
What *Is* Cloud? - A introduction for non-techiesWhat *Is* Cloud? - A introduction for non-techies
What *Is* Cloud? - A introduction for non-techies
 
Integration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM Garage
 
Become an IBM Cloud Architect in 40 Minutes
Become an IBM Cloud Architect in 40 MinutesBecome an IBM Cloud Architect in 40 Minutes
Become an IBM Cloud Architect in 40 Minutes
 
Become a Bluemix Architect in 45 Minutes
Become a Bluemix Architect in 45 MinutesBecome a Bluemix Architect in 45 Minutes
Become a Bluemix Architect in 45 Minutes
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM Bluemix
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
 
MEAPs meet the Cloud
MEAPs meet the CloudMEAPs meet the Cloud
MEAPs meet the Cloud
 
Building Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformBuilding Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst Platform
 
Mobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best PracticesMobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best Practices
 
WebSphere User Group UK: Larger Applications with Worklight
WebSphere User Group UK: Larger Applications with WorklightWebSphere User Group UK: Larger Applications with Worklight
WebSphere User Group UK: Larger Applications with Worklight
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo Mobile
 
Worklight Overview
Worklight OverviewWorklight Overview
Worklight Overview
 

Último

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 

Último (20)

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 

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