SlideShare a Scribd company logo
1 of 21
Everything as Code
alican.kustemur@gmail.com
linkedin.com/in/alicankustemur
medium.com/@alicankustemur
Infrastructre as Code with Terraform on AWS
Ali Can Kustemur
💻 DevOps Engineer
Agenda
• Why is Infrastructure as Code (IaC) ?
• What is IaC ?
• Problems we had before IaC ?
• Goals of IaC
• Configuration Management vs Orchestration
• Why & What is Terraform ?
• Demo on AWS
Why is Infrastructure as Code ?
Why is Infrastructure as Code ?
AWS EC2 Schema :
Why is Infrastructure as Code ?
Big Bang
Schema :
Why is Infrastructure as Code ?
Lovely
Code :
What is IaC ?
https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
What is IaC ?
• Infrastructure as Code, or programmable infrastructure,
means writing code to manage configurations and automate provisioning
of infrastructure in addition to deployments.
• The basic idea is that you treat your IT infrastructure as software. This
helps you to make changes to it rapidly and easily, at the same time safely
and reliably.
https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
What is IaC ?
• This allows people to apply software development tools such as version
control systems (VCS), automated testing libraries, and deployment
orchestration to manage infrastructure.
• It also opens the door to exploit development practices such as test-driven
development (TDD), continuous integration (CI), and continuous delivery
(CD).
https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
Problems we had before IAC ?
• Same Infrastructure on all environments
• Quick Deploy
• Versioning
• Immutable Infrastructure
https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
Goals of IaC
• IT infrastructure supports and enables change, rather than being an
obstacle or a constraint.
• Changes to the system are routine, without drama or stress for users or IT
staff.
• IT staff spends their time on valuable things that engage their abilities, not
on routine, repetitive tasks.
• Users are able to define, provision, and manage the resources they need,
without needing IT staff to do it for them.
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
Goals of IaC
• Teams are able to easily and quickly recover from failures, rather than
assuming failure can be completely prevented.
• Improvements are made continuously, rather than done through
expensive and risky “big bang” projects.
• Solutions to problems are proven through implementing, testing, and
measuring them, rather than by discussing them in meetings and
documents.
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
IaC is not just for Cloud
Infrastructure as code has come into its own with cloud, because it’s
difficult to manage servers in the cloud well without it. But the principles and
practices of infrastructure as code can be applied to infrastructure whether it
runs on cloud, virtualized systems, or even directly on physical hardware.
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
Be agile !
• To properly embrace IaC, you need three things: agile
development processes, a DevOps environment and the
tools to write the code.
• Agile is necessary because IaC is all about speed.
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
Be agile !
• Says Morris: " If you use automation tools but still
manage your infrastructure with the Iron Age approaches
to change management, you’re losing the benefit. IaC is
more reliable, particularly if you use Agile engineering
practices like test driven development, continuous
integration and continuous delivery. "
https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
Configuration Management
vs Orchestration
Why is Terraform ?
What is Terraform ?
• Write, Plan and Create Infrastructure as Code
• Execution Plans ( Actual – Desire State )
• Supports Multivendor ( AWS, Azure, GCP, OpenStack,Wmware etc.) +76
• Resource Graph
• Versioning ( Enterprise )
• Immutable Infrastructure
What is Terraform ?
https://www.slideshare.net/SushilKumar545/hashicorpterraformpackervaultby-sushil
Demo on AWS

More Related Content

What's hot

Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)
Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)
Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)APPSeCONNECT
 
How to Use iPaaS to Scale Your Business - Case Study
How to Use iPaaS to Scale Your Business - Case StudyHow to Use iPaaS to Scale Your Business - Case Study
How to Use iPaaS to Scale Your Business - Case Studyelastic.io
 
Will ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsWill ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsStephane Woillez
 
Azure Dev/Test Labs
Azure Dev/Test LabsAzure Dev/Test Labs
Azure Dev/Test LabsPaul Nichols
 
[WSO2Con EU 2017] Darwin Ate My App
[WSO2Con EU 2017] Darwin Ate My App[WSO2Con EU 2017] Darwin Ate My App
[WSO2Con EU 2017] Darwin Ate My AppWSO2
 
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 Platform
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 PlatformWSO2Con EU 2016: Building Enterprise Apps Using WSO2 Platform
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 PlatformWSO2
 
Using Machine Learning on K8s Logs to Find Root Cause Faster
Using Machine Learning on K8s Logs to Find Root Cause FasterUsing Machine Learning on K8s Logs to Find Root Cause Faster
Using Machine Learning on K8s Logs to Find Root Cause FasterLibbySchulze
 
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...Trivadis
 
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The RealityPivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The RealityVMware Tanzu
 
AWS re:Invent "The secrets to building and delivering amazing apps at scale"
AWS re:Invent "The secrets to building and delivering amazing apps at scale"AWS re:Invent "The secrets to building and delivering amazing apps at scale"
AWS re:Invent "The secrets to building and delivering amazing apps at scale"💻 Javier Garza
 
Programatori cu capul in nori
Programatori cu capul in noriProgramatori cu capul in nori
Programatori cu capul in noriAlex Popescu
 
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...SnapLogic
 
60 minutes in the cloud: Predictive analytics made easy
60 minutes in the cloud: Predictive analytics made easy60 minutes in the cloud: Predictive analytics made easy
60 minutes in the cloud: Predictive analytics made easyNicolas Morales
 
CloudBrew 2017 - Security + DevOps + Azure = Awesomeness
CloudBrew 2017 - Security + DevOps + Azure = AwesomenessCloudBrew 2017 - Security + DevOps + Azure = Awesomeness
CloudBrew 2017 - Security + DevOps + Azure = AwesomenessKarl Ots
 
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered Specie
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered SpecieESB Extinction: Why On-Premise Integration Platforms Are an Endangered Specie
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered SpecieFlowgear
 
Real World Experiences with Pivotal Cloud Foundry
  Real World Experiences with Pivotal Cloud Foundry  Real World Experiences with Pivotal Cloud Foundry
Real World Experiences with Pivotal Cloud FoundryVMware Tanzu
 
Integrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineIntegrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineAkamai Developers & Admins
 
The citizen integrator
The citizen integratorThe citizen integrator
The citizen integratorBizTalk360
 
Pivotal Digital Transformation Forum: Becoming a Data Driven Enterprise
Pivotal Digital Transformation Forum: Becoming a Data Driven EnterprisePivotal Digital Transformation Forum: Becoming a Data Driven Enterprise
Pivotal Digital Transformation Forum: Becoming a Data Driven EnterpriseVMware Tanzu
 

What's hot (20)

Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)
Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)
Webinar: Digital Transformation With Integration Platform as a Service (iPaaS)
 
How to Use iPaaS to Scale Your Business - Case Study
How to Use iPaaS to Scale Your Business - Case StudyHow to Use iPaaS to Scale Your Business - Case Study
How to Use iPaaS to Scale Your Business - Case Study
 
Will ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsWill ServerLess kill containers and Operations
Will ServerLess kill containers and Operations
 
Azure Dev/Test Labs
Azure Dev/Test LabsAzure Dev/Test Labs
Azure Dev/Test Labs
 
[WSO2Con EU 2017] Darwin Ate My App
[WSO2Con EU 2017] Darwin Ate My App[WSO2Con EU 2017] Darwin Ate My App
[WSO2Con EU 2017] Darwin Ate My App
 
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 Platform
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 PlatformWSO2Con EU 2016: Building Enterprise Apps Using WSO2 Platform
WSO2Con EU 2016: Building Enterprise Apps Using WSO2 Platform
 
Using Machine Learning on K8s Logs to Find Root Cause Faster
Using Machine Learning on K8s Logs to Find Root Cause FasterUsing Machine Learning on K8s Logs to Find Root Cause Faster
Using Machine Learning on K8s Logs to Find Root Cause Faster
 
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
 
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The RealityPivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
 
10 things you can do at the edge
10 things you can do at the edge10 things you can do at the edge
10 things you can do at the edge
 
AWS re:Invent "The secrets to building and delivering amazing apps at scale"
AWS re:Invent "The secrets to building and delivering amazing apps at scale"AWS re:Invent "The secrets to building and delivering amazing apps at scale"
AWS re:Invent "The secrets to building and delivering amazing apps at scale"
 
Programatori cu capul in nori
Programatori cu capul in noriProgramatori cu capul in nori
Programatori cu capul in nori
 
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
 
60 minutes in the cloud: Predictive analytics made easy
60 minutes in the cloud: Predictive analytics made easy60 minutes in the cloud: Predictive analytics made easy
60 minutes in the cloud: Predictive analytics made easy
 
CloudBrew 2017 - Security + DevOps + Azure = Awesomeness
CloudBrew 2017 - Security + DevOps + Azure = AwesomenessCloudBrew 2017 - Security + DevOps + Azure = Awesomeness
CloudBrew 2017 - Security + DevOps + Azure = Awesomeness
 
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered Specie
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered SpecieESB Extinction: Why On-Premise Integration Platforms Are an Endangered Specie
ESB Extinction: Why On-Premise Integration Platforms Are an Endangered Specie
 
Real World Experiences with Pivotal Cloud Foundry
  Real World Experiences with Pivotal Cloud Foundry  Real World Experiences with Pivotal Cloud Foundry
Real World Experiences with Pivotal Cloud Foundry
 
Integrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineIntegrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery Pipeline
 
The citizen integrator
The citizen integratorThe citizen integrator
The citizen integrator
 
Pivotal Digital Transformation Forum: Becoming a Data Driven Enterprise
Pivotal Digital Transformation Forum: Becoming a Data Driven EnterprisePivotal Digital Transformation Forum: Becoming a Data Driven Enterprise
Pivotal Digital Transformation Forum: Becoming a Data Driven Enterprise
 

Similar to Infrastructure as Code with Terraform on AWS

Infrastructure as Code & its Impact on DevOps
Infrastructure as Code & its Impact on DevOps Infrastructure as Code & its Impact on DevOps
Infrastructure as Code & its Impact on DevOps Bahaa Al Zubaidi
 
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
 
Infrastructure as Code principles and practices
Infrastructure as Code  principles and practicesInfrastructure as Code  principles and practices
Infrastructure as Code principles and practicesOpenSense Labs
 
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkIntroducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkRevelation Technologies
 
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
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeSteve Mercier
 
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Lucas Jellema
 
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
 
Cloud Innovation Tour - Design Track
Cloud Innovation Tour - Design TrackCloud Innovation Tour - Design Track
Cloud Innovation Tour - Design TrackLaurenWendler
 
Kernel Con 2022: Securing Cloud Native Workloads
Kernel Con 2022: Securing Cloud Native WorkloadsKernel Con 2022: Securing Cloud Native Workloads
Kernel Con 2022: Securing Cloud Native WorkloadsGabriel Schuyler
 
3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud3 Steps to Accelerate to Cloud
3 Steps to Accelerate to CloudRightScale
 
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...RightScale
 
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
 
Why modern cloud infrastructure require automation
Why modern cloud infrastructure require automationWhy modern cloud infrastructure require automation
Why modern cloud infrastructure require automationGerald Crescione
 
Frequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentFrequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentEmbitel Technologies (I) PVT LTD
 
Infrastructure as Code with Ansible
Infrastructure as Code with AnsibleInfrastructure as Code with Ansible
Infrastructure as Code with AnsibleDaniel Bezerra
 
Cloud Application Development Lifecycle
Cloud Application Development LifecycleCloud Application Development Lifecycle
Cloud Application Development LifecycleSuhas Kelkar
 
Cloud(Ansible, Kubernete)
Cloud(Ansible, Kubernete)Cloud(Ansible, Kubernete)
Cloud(Ansible, Kubernete)종일 김
 
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...Vadym Kazulkin
 

Similar to Infrastructure as Code with Terraform on AWS (20)

Infrastructure as Code & its Impact on DevOps
Infrastructure as Code & its Impact on DevOps Infrastructure as Code & its Impact on DevOps
Infrastructure as Code & its Impact on DevOps
 
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...
 
Infrastructure as Code principles and practices
Infrastructure as Code  principles and practicesInfrastructure as Code  principles and practices
Infrastructure as Code principles and practices
 
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkIntroducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
 
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...
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
 
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
 
Cloud Innovation Tour - Design Track
Cloud Innovation Tour - Design TrackCloud Innovation Tour - Design Track
Cloud Innovation Tour - Design Track
 
Elastic-Engineering
Elastic-EngineeringElastic-Engineering
Elastic-Engineering
 
Kernel Con 2022: Securing Cloud Native Workloads
Kernel Con 2022: Securing Cloud Native WorkloadsKernel Con 2022: Securing Cloud Native Workloads
Kernel Con 2022: Securing Cloud Native Workloads
 
3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud
 
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
 
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...
 
Why modern cloud infrastructure require automation
Why modern cloud infrastructure require automationWhy modern cloud infrastructure require automation
Why modern cloud infrastructure require automation
 
Frequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentFrequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App Development
 
Infrastructure as Code with Ansible
Infrastructure as Code with AnsibleInfrastructure as Code with Ansible
Infrastructure as Code with Ansible
 
Cloud Application Development Lifecycle
Cloud Application Development LifecycleCloud Application Development Lifecycle
Cloud Application Development Lifecycle
 
Cloud(Ansible, Kubernete)
Cloud(Ansible, Kubernete)Cloud(Ansible, Kubernete)
Cloud(Ansible, Kubernete)
 
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
 

Recently uploaded

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Infrastructure as Code with Terraform on AWS

  • 2. Agenda • Why is Infrastructure as Code (IaC) ? • What is IaC ? • Problems we had before IaC ? • Goals of IaC • Configuration Management vs Orchestration • Why & What is Terraform ? • Demo on AWS
  • 4. Why is Infrastructure as Code ? AWS EC2 Schema :
  • 5. Why is Infrastructure as Code ? Big Bang Schema :
  • 6. Why is Infrastructure as Code ? Lovely Code :
  • 7. What is IaC ? https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
  • 8. What is IaC ? • Infrastructure as Code, or programmable infrastructure, means writing code to manage configurations and automate provisioning of infrastructure in addition to deployments. • The basic idea is that you treat your IT infrastructure as software. This helps you to make changes to it rapidly and easily, at the same time safely and reliably. https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
  • 9. What is IaC ? • This allows people to apply software development tools such as version control systems (VCS), automated testing libraries, and deployment orchestration to manage infrastructure. • It also opens the door to exploit development practices such as test-driven development (TDD), continuous integration (CI), and continuous delivery (CD). https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 10. Problems we had before IAC ? • Same Infrastructure on all environments • Quick Deploy • Versioning • Immutable Infrastructure https://www.thoughtworks.com/insights/blog/infrastructure-code-reason-smile
  • 11. Goals of IaC • IT infrastructure supports and enables change, rather than being an obstacle or a constraint. • Changes to the system are routine, without drama or stress for users or IT staff. • IT staff spends their time on valuable things that engage their abilities, not on routine, repetitive tasks. • Users are able to define, provision, and manage the resources they need, without needing IT staff to do it for them. https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 12. Goals of IaC • Teams are able to easily and quickly recover from failures, rather than assuming failure can be completely prevented. • Improvements are made continuously, rather than done through expensive and risky “big bang” projects. • Solutions to problems are proven through implementing, testing, and measuring them, rather than by discussing them in meetings and documents. https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 13. IaC is not just for Cloud Infrastructure as code has come into its own with cloud, because it’s difficult to manage servers in the cloud well without it. But the principles and practices of infrastructure as code can be applied to infrastructure whether it runs on cloud, virtualized systems, or even directly on physical hardware. https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 14. Be agile ! • To properly embrace IaC, you need three things: agile development processes, a DevOps environment and the tools to write the code. • Agile is necessary because IaC is all about speed. https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 15. Be agile ! • Says Morris: " If you use automation tools but still manage your infrastructure with the Iron Age approaches to change management, you’re losing the benefit. IaC is more reliable, particularly if you use Agile engineering practices like test driven development, continuous integration and continuous delivery. " https://www.safaribooksonline.com/library/view/infrastructure-as-code/9781491924334/ch01.html
  • 16.
  • 19. What is Terraform ? • Write, Plan and Create Infrastructure as Code • Execution Plans ( Actual – Desire State ) • Supports Multivendor ( AWS, Azure, GCP, OpenStack,Wmware etc.) +76 • Resource Graph • Versioning ( Enterprise ) • Immutable Infrastructure
  • 20. What is Terraform ? https://www.slideshare.net/SushilKumar545/hashicorpterraformpackervaultby-sushil

Editor's Notes

  1. ÖNCE ALTYAPI OLARAK KOD'A NEDEN İHTİYAÇ DUYDUK. BUNDAN BAHSEDELİM. DİYELİM Kİ ŞİRKETİNİZDE Kİ UYGULAMALARI SAAS OLARAK SAĞLAMAK İSTİYORSUNUZ.
  2. EC2 İÇİN: - SECURITY GROUP ( FIREWALL ) - STORAGE İÇİN EBS VOLUME - DEFAULT VPC - AVAILABILITY ZONE - SSH PRIVATE KEY
  3. İŞTE BU YAPIYI MANUEL OLARAK YÖNETMENİZ OLDUKÇA ZOR VE STRESLİ OLACAKTIR. BİRDEN FAZLA VPC, AVAILABILITY ZONE, LBLER, PUBLIC VE PRIVATE SUBNETLER, SG RULES, INTERNET VE NAT GATEWAYLER
  4. TERRAFORM KODU.
  5. KIEF MORRIS DER KI: ALTYAPIYI KOD OLARAK ETKİNLEŞTİRME FİKRİ, YAZILIMI ÇALIŞTIRMAK İÇİN KULLANILAN SİSTEM VE AYGITLARIN KENDİLERİ GİBİ YANİ BİR YAZILIM GİBİ ELE ALINABİLMESİDİR.
  6. ÖNCE ALTYAPI OLARAK KOD'A NEDEN İHTİYAÇ DUYDUK. BUNDAN BAHSEDELİM. DİYELİM Kİ ŞİRKETİNİZDE Kİ UYGULAMALARI SAAS OLARAK SAĞLAMAK İSTİYORSUNUZ.
  7. ÖNCE ALTYAPI OLARAK KOD'A NEDEN İHTİYAÇ DUYDUK. BUNDAN BAHSEDELİM. DİYELİM Kİ ŞİRKETİNİZDE Kİ UYGULAMALARI SAAS OLARAK SAĞLAMAK İSTİYORSUNUZ.