SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Partner of:
DevOps Meetup
Infrastructure as code (IAC)
Partner of:
Who would be interested
in this meetup?
Partner of:
• SysAdmins
• Operations Engineers
• Release Engineers
• Site Reliability Engineers
• DevOps Engineers
Who would be interested?
• Infrastructure Developers
• Full Stack Developers
• Engineering Managers
• IT Professors
• IT Students
Partner of:
Partner of:
What is infrastructure as
code (IaC)?
Partner of:
The idea behind infrastructure as code (IaC) is that you write and execute
code to:
• Define
• Deploy
• Update
your infrastructure
What is infrastructure as code (IaC)?
Partner of:
Categories of IaC tools
Partner of:
Categories of IaC Tools
Ad Hoc Scripts Configuration Management Tools
Partner of:
Categories of IaC Tools
Server Templating Tools Provisioning Tools
Partner of:
• CI/CD Pipeline
Partner of:
Benefits of IaC
Partner of:
Benefits of infrastructure as code (IaC)
• Self-service
• Speed and safety
• Documentation
• Version control
• Validation
• Reuse
• Happiness
Partner of:
Tools and Use Cases
Partner of:
@DigitalOnSocial
Bernardo Garza - Terraform
DevOps Team
DigitalOnUs
Francisco Rodriguez - Packer
Martín Guerrero - Docker
Marín Salinas – Vagrant and Ansible
Partner of:
Packer
Partner of:
• Is easy to use and automates the
creation of any type of machine image.
• It embraces modern configuration
management by encouraging you to use
automated scripts to install and configure
the software
• Packer brings machine images into the
modern age, unlocking untapped
potential and opening new opportunities.
HashiCorp Packer
Terminal
Partner of:
"builders": [
{
"type": "amazon-ebs",
...
}
],
"provisioners": [
{
"type": "puppet-masterless",
...
}
],
"post-processors": [
{
"type": "atlas",
"artifact": "hashicorp/logstream",
"artifact_type": "amazon.ami"
}
]
Partner of:
Partner of:
Demo Time
Partner of:
Ansible with
Vagrant
Partner of:
Ansible and Vagrant
Vagrant: Is a tool for building and
managing virtual machines
environments in a single
workflow.
Ansible: Is a tool that automates
provisioning, configuration
management and application
deployment. Works over SSH,
Power Shell or remote APIs.
Partner of:
Demo Time
Partner of:
Partner of:
Demo Ansible with Vagrant
- We are going to create three VMs
with Vagrant using Vagrantfile.
- Connect Ansible to these VMs and
assign roles.
- Check connection and configure
Nginx in one VM.
- Copy local file to all VMs in a
single step.
Partner of:
Infrastructure paradigms:
Mutable vs Immutable
Partner of:
Infrastructure paradigms:
Mutable vs Immutable
Partner of:
mutable infrastructure
Servers are continually updated
and modified in place
Partner of:
Immutable infrastructure
Servers are never modified after
they're deployed
Partner of:
Load balancer with
docker
Source code: https://gitlab.com/slackmart/webserver-example
Partner of:
Demo Time
Partner of:
Terraform
Partner of:
Terraform is an open source infrastructure as code tool. Terraform was
developed by HashiCorp company who is based in San Francisco, CA. We
can also say that Terraform is a tool for building, changing, and versioning
infrastructure safely and efficiently.
What is Terraform
Partner of:
• Day 1: Where we haven't actually
started running anything. How do we
go from running nothing to run
something.
• Day 2: When we already have an
infrastructure and we are trying to
evolve it, changing it over time or
adding and removing new services.
Provisioning challenges
Partner of:
Terraform has these three principal simple steps:
• Init
• Plan
• Apply
Terraform principles
Partner of:
Terraform sample code
Partner of:
Terraform can be used to manage multi-cloud It
can combine multiple provides in a single
workflow which is a very nice feature.
Terraform provides one consistent workflow for
developers and operators to provision resources
on any infrastructure provider. One workflow to
learn increases user productivity, and also
reduces organizational risk as that becomes one
workflow to secure, one workflow to audit, and
one workflow to govern.
Multi-cloud
Partner of:
• Right now, there are more than 100 providers and those individually
can manage over a thousand resources. Providers are responsible to
provide API interaction. You can find the list of providers on the
terraform website.
Terraform providers
Partner of:
Demo Time
Partner of:
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Terraform
TerraformTerraform
Terraform
 
Comprehensive Terraform Training
Comprehensive Terraform TrainingComprehensive Terraform Training
Comprehensive Terraform Training
 
DevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best PracticesDevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best Practices
 
Terraform
TerraformTerraform
Terraform
 
Terraform
TerraformTerraform
Terraform
 
Azure devops
Azure devopsAzure devops
Azure devops
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Infrastructure-as-Code (IaC) using Terraform
Infrastructure-as-Code (IaC) using TerraformInfrastructure-as-Code (IaC) using Terraform
Infrastructure-as-Code (IaC) using Terraform
 
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
 
(ARC307) Infrastructure as Code
(ARC307) Infrastructure as Code(ARC307) Infrastructure as Code
(ARC307) Infrastructure as Code
 
Introduction To Terraform
Introduction To TerraformIntroduction To Terraform
Introduction To Terraform
 
Terraform
TerraformTerraform
Terraform
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Devops as a service
Devops as a serviceDevops as a service
Devops as a service
 
Final terraform
Final terraformFinal terraform
Final terraform
 
DevOps-as-a-Service: Towards Automating the Automation
DevOps-as-a-Service: Towards Automating the AutomationDevOps-as-a-Service: Towards Automating the Automation
DevOps-as-a-Service: Towards Automating the Automation
 
Best Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with TerraformBest Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with Terraform
 
Creating AWS infrastructure using Terraform
Creating AWS infrastructure using TerraformCreating AWS infrastructure using Terraform
Creating AWS infrastructure using Terraform
 
Deep Dive - CI/CD on AWS
Deep Dive - CI/CD on AWSDeep Dive - CI/CD on AWS
Deep Dive - CI/CD on AWS
 
Introduction to DevSecOps
Introduction to DevSecOpsIntroduction to DevSecOps
Introduction to DevSecOps
 

Ähnlich wie DevOps: Infrastructure as Code

A Reference Architecture to Enable Visibility and Traceability across the Ent...
A Reference Architecture to Enable Visibility and Traceability across the Ent...A Reference Architecture to Enable Visibility and Traceability across the Ent...
A Reference Architecture to Enable Visibility and Traceability across the Ent...
CollabNet
 
Maniteja_Professional_Resume
Maniteja_Professional_ResumeManiteja_Professional_Resume
Maniteja_Professional_Resume
Vaddi Maniteja
 

Ähnlich wie DevOps: Infrastructure as Code (20)

Devops
DevopsDevops
Devops
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
A proven path for migrating from clearcase to git and or subversion
A proven path for migrating from clearcase to git and or subversionA proven path for migrating from clearcase to git and or subversion
A proven path for migrating from clearcase to git and or subversion
 
Delivering Developer Tools at Scale
Delivering Developer Tools at ScaleDelivering Developer Tools at Scale
Delivering Developer Tools at Scale
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
Perforce on Tour 2015 -  Optimising the Developer Pipeline: Deliver Faster & ...Perforce on Tour 2015 -  Optimising the Developer Pipeline: Deliver Faster & ...
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes matters
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Neo4j for Cloud Management at Scale
Neo4j for Cloud Management at ScaleNeo4j for Cloud Management at Scale
Neo4j for Cloud Management at Scale
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
London DevOps Meetup - PaaS as a platform for devops
London DevOps Meetup - PaaS as a platform for devopsLondon DevOps Meetup - PaaS as a platform for devops
London DevOps Meetup - PaaS as a platform for devops
 
A Reference Architecture to Enable Visibility and Traceability across the Ent...
A Reference Architecture to Enable Visibility and Traceability across the Ent...A Reference Architecture to Enable Visibility and Traceability across the Ent...
A Reference Architecture to Enable Visibility and Traceability across the Ent...
 
Azure enterprise integration platform
Azure enterprise integration platformAzure enterprise integration platform
Azure enterprise integration platform
 
Taking your code to production
Taking your code to productionTaking your code to production
Taking your code to production
 
Infrastructure as Code - Getting Started, Concepts & Tools
Infrastructure as Code - Getting Started, Concepts & ToolsInfrastructure as Code - Getting Started, Concepts & Tools
Infrastructure as Code - Getting Started, Concepts & Tools
 
Docker adventures in Continuous Delivery - Alex Vranceanu
Docker adventures in Continuous Delivery - Alex VranceanuDocker adventures in Continuous Delivery - Alex Vranceanu
Docker adventures in Continuous Delivery - Alex Vranceanu
 
DevOps for AI Apps
DevOps for AI AppsDevOps for AI Apps
DevOps for AI Apps
 
Enterprise CI as-a-Service using Jenkins
Enterprise CI as-a-Service using JenkinsEnterprise CI as-a-Service using Jenkins
Enterprise CI as-a-Service using Jenkins
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Maniteja_Professional_Resume
Maniteja_Professional_ResumeManiteja_Professional_Resume
Maniteja_Professional_Resume
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

DevOps: Infrastructure as Code