SlideShare a Scribd company logo
1 of 26
Download to read offline
© 2022, Amazon Web Services, Inc. or its Affiliates.
AWS Security
Community
LATAM
Mario Inga Cahuana
Senior DevOps Engineer
@mario21ic
IaC para Developers
con Pulumi en AWS
© 2022, Amazon Web Services, Inc. or its Affiliates.
En el 2016, cambio de trabajo y rol.
Engineer Manager -> DevOps Engineer.
Migrar App Monolítica -> AWS
Pequeña historia
© 2022, Amazon Web Services, Inc. or its Affiliates.
Ecuador
Martin Fowler
XConf 2017
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Deploys a Prod. Se cayó!!
2. Arquitectura de Infra??
3. Terraform / HCL era chino!!
Qué pasó?
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Conocer la Arquitectura de
Infraestructura
Lecciones aprendidas
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Application
2. Compute (cpu, ram)
3. Network
4. Security
5. Storage
Lecciones aprendidas
© 2022, Amazon Web Services, Inc. or its Affiliates.
Qué es Infraestructura?
Compute Network Storage
Application
Software as a Service
(ej: Confluent kafka, Datadog, etc)
Platform as a Service
(ej: Beanstalk, Kubernetes, Heroku, etc)
Infrastructure as a Service
(ej: Aws, GCP, Azure)
Infraestructura
© 2022, Amazon Web Services, Inc. or its Affiliates.
Dev == Prod ?
?
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Evitar ClickOps en Prod.
Lecciones aprendidas
© 2022, Amazon Web Services, Inc. or its Affiliates.
Lecciones aprendidas
“If a human operator needs to touch your system
during normal operations, you have a bug.”
Carla Geisser, Google SRE.
Mas info https://sre.google/sre-book/eliminating-toil/
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. .
2. DevOps team Silo == Antipatron
Lecciones aprendidas
Mas info https://web.devopstopologies.com/
© 2022, Amazon Web Services, Inc. or its Affiliates.
Cómo romper los Silos?
1. Fomentar la comunicación y “colaboración”
2. Crear equipos multidisciplinarios
3. Compartir responsabilidades y objetivos
4. Automatizar procesos
5. Capacitación y el aprendizaje cruzado
6. Medir y mejorar
7. Liderazgo y apoyo de la dirección
© 2022, Amazon Web Services, Inc. or its Affiliates.
Colaboración en CI/CD
© 2022, Amazon Web Services, Inc. or its Affiliates.
Colaboración en Infra(?)
Aws Cloudformation
?
© 2022, Amazon Web Services, Inc. or its Affiliates.
Infrastructure as Code
Best practice para gestionar el ciclo
de la Infraestructura a través del
código, en lugar de hacerlo mediante
procesos manuales.
QA
Prod
© 2022, Amazon Web Services, Inc. or its Affiliates.
Colaboración en Infra(?)
© 2022, Amazon Web Services, Inc. or its Affiliates.
● Open source
● Tiene plataforma web para gestión de proyectos
https://app.pulumi.com/
● Multiple lenguajes:
○ Python
○ Javascript
○ Typescript
○ Java
○ Go
○ C#
○ Yaml
Pulumi
© 2022, Amazon Web Services, Inc. or its Affiliates.
Pulumi: conceptos
● Project
● Resource
○ Input
○ Outputs
● Stack
© 2022, Amazon Web Services, Inc. or its Affiliates.
Pulumi: conceptos
© 2022, Amazon Web Services, Inc. or its Affiliates.
Demo time!
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Instalar Pulumi y login:
$ curl -fsSL https://get.pulumi.com | sh
1. Instalar Python tools:
$ sudo apt install python3-venv python3-pip
1. Conectar a AWS:
$ export AWS_ACCESS_KEY_ID=****
$ export AWS_ACCESS_KEY_SECRET=****
Prerequisitos
© 2022, Amazon Web Services, Inc. or its Affiliates.
1. Crear proyecto:
$ pulumi new aws-python
1. Guardar estados en https://app.pulumi.com
$ pulumi login
1. Levantar Infra:
$ pulumi up
Workshop: desde cero
© 2022, Amazon Web Services, Inc. or its Affiliates.
Workshop: método rápido
1. Clonar repo:
$ git clone https://github.com/mario21ic/iac-workshop-aws
1. Probar:
$ cd iac-workshop-aws/basic/
$ pulumi up
© 2022, Amazon Web Services, Inc. or its Affiliates.
Workshop: stacks
1. Crear nuevo:
$ pulumi stack init qa
1. Seleccionar:
$ pulumi stack select dev
1. Destroy
$ pulumi destroy
© 2022, Amazon Web Services, Inc. or its Affiliates.
Q&A
Mario Inga Cahuana
© 2022, Amazon Web Services, Inc. or its Affiliates.
¡ Gracias !
@mario21ic

More Related Content

Similar to Infraestructura como Codigo para Developers

Similar to Infraestructura como Codigo para Developers (20)

A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer ToolsA Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
 
Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2
 
re:Invent OPN306 AWS Lambda Powertools Lessons 10M downloads.pdf
re:Invent OPN306 AWS Lambda Powertools Lessons 10M downloads.pdfre:Invent OPN306 AWS Lambda Powertools Lessons 10M downloads.pdf
re:Invent OPN306 AWS Lambda Powertools Lessons 10M downloads.pdf
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
AWS DevDay Cologne - CI/CD for modern applications
AWS DevDay Cologne - CI/CD for modern applicationsAWS DevDay Cologne - CI/CD for modern applications
AWS DevDay Cologne - CI/CD for modern applications
 
AWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudAWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the Cloud
 
AWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudAWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the Cloud
 
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
 
AWS Meetup: Career Day 2019 - Lightning Talk with Cloud Career Path: DevOps E...
AWS Meetup: Career Day 2019 - Lightning Talk with Cloud Career Path: DevOps E...AWS Meetup: Career Day 2019 - Lightning Talk with Cloud Career Path: DevOps E...
AWS Meetup: Career Day 2019 - Lightning Talk with Cloud Career Path: DevOps E...
 
Delivering infrastructure, security, and operations as code - DEM06 - Santa C...
Delivering infrastructure, security, and operations as code - DEM06 - Santa C...Delivering infrastructure, security, and operations as code - DEM06 - Santa C...
Delivering infrastructure, security, and operations as code - DEM06 - Santa C...
 
Continuous Integration and Continuous Delivery Best Practices for Building Mo...
Continuous Integration and Continuous Delivery Best Practices for Building Mo...Continuous Integration and Continuous Delivery Best Practices for Building Mo...
Continuous Integration and Continuous Delivery Best Practices for Building Mo...
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
The Business Benefits of GitOps
The Business Benefits of GitOpsThe Business Benefits of GitOps
The Business Benefits of GitOps
 
Containers on AWS
Containers on AWSContainers on AWS
Containers on AWS
 
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
 
From Monolith to Microservices
From Monolith to MicroservicesFrom Monolith to Microservices
From Monolith to Microservices
 
CICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdfCICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdf
 
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 

More from Mario IC

More from Mario IC (20)

Dominando AWS KMS desde cifrado básico hasta firma avanzada - aws community d...
Dominando AWS KMS desde cifrado básico hasta firma avanzada - aws community d...Dominando AWS KMS desde cifrado básico hasta firma avanzada - aws community d...
Dominando AWS KMS desde cifrado básico hasta firma avanzada - aws community d...
 
Aws Security Latam - Criptografia con KMS
Aws Security Latam - Criptografia con KMSAws Security Latam - Criptografia con KMS
Aws Security Latam - Criptografia con KMS
 
Aws Community Day Guatemala Criptografia con AWS KMS
Aws Community Day Guatemala Criptografia con AWS KMSAws Community Day Guatemala Criptografia con AWS KMS
Aws Community Day Guatemala Criptografia con AWS KMS
 
Testing Ansible Playbook con Molecule + TestInfra
Testing Ansible Playbook con Molecule + TestInfraTesting Ansible Playbook con Molecule + TestInfra
Testing Ansible Playbook con Molecule + TestInfra
 
Automatización de tareas con Ansible
Automatización de tareas con AnsibleAutomatización de tareas con Ansible
Automatización de tareas con Ansible
 
Earthly, Dockerfile con esteroides
Earthly, Dockerfile con esteroidesEarthly, Dockerfile con esteroides
Earthly, Dockerfile con esteroides
 
Terraspace, the definitive terraform framework
Terraspace, the definitive terraform frameworkTerraspace, the definitive terraform framework
Terraspace, the definitive terraform framework
 
Manejo de packages en Kubernetes con Helm
Manejo de packages en Kubernetes con HelmManejo de packages en Kubernetes con Helm
Manejo de packages en Kubernetes con Helm
 
Cloud native Computing Perú Octubre
Cloud native Computing Perú OctubreCloud native Computing Perú Octubre
Cloud native Computing Perú Octubre
 
Agiles Peru 2019 - Infrastructure As Code
Agiles Peru 2019 - Infrastructure As CodeAgiles Peru 2019 - Infrastructure As Code
Agiles Peru 2019 - Infrastructure As Code
 
Workshop Infrastructure as Code - Suestra
Workshop Infrastructure as Code - SuestraWorkshop Infrastructure as Code - Suestra
Workshop Infrastructure as Code - Suestra
 
Docker Compose to Production with Docker Swarm
Docker Compose to Production with Docker SwarmDocker Compose to Production with Docker Swarm
Docker Compose to Production with Docker Swarm
 
GDG Lima - Docker Compose
GDG Lima - Docker ComposeGDG Lima - Docker Compose
GDG Lima - Docker Compose
 
Docker Lima meetup - 22 de junio
Docker Lima meetup - 22 de junioDocker Lima meetup - 22 de junio
Docker Lima meetup - 22 de junio
 
Docker Compose para el Docker Lima Meetup Mayo
Docker Compose para el Docker Lima Meetup MayoDocker Compose para el Docker Lima Meetup Mayo
Docker Compose para el Docker Lima Meetup Mayo
 
Testing en BDD con Python y Behave
Testing en BDD con Python y BehaveTesting en BDD con Python y Behave
Testing en BDD con Python y Behave
 
Infrastructure as Code with Terraform
Infrastructure as Code with TerraformInfrastructure as Code with Terraform
Infrastructure as Code with Terraform
 
Docker Birthday Peru #dockerbday
Docker Birthday Peru #dockerbdayDocker Birthday Peru #dockerbday
Docker Birthday Peru #dockerbday
 
Modelado de API con RAML
Modelado de API con RAMLModelado de API con RAML
Modelado de API con RAML
 
Docker Ecosystem: Part V - Docker Registry
Docker Ecosystem: Part V - Docker RegistryDocker Ecosystem: Part V - Docker Registry
Docker Ecosystem: Part V - Docker Registry
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 

Infraestructura como Codigo para Developers

  • 1. © 2022, Amazon Web Services, Inc. or its Affiliates. AWS Security Community LATAM Mario Inga Cahuana Senior DevOps Engineer @mario21ic IaC para Developers con Pulumi en AWS
  • 2. © 2022, Amazon Web Services, Inc. or its Affiliates. En el 2016, cambio de trabajo y rol. Engineer Manager -> DevOps Engineer. Migrar App Monolítica -> AWS Pequeña historia
  • 3. © 2022, Amazon Web Services, Inc. or its Affiliates. Ecuador Martin Fowler XConf 2017
  • 4. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Deploys a Prod. Se cayó!! 2. Arquitectura de Infra?? 3. Terraform / HCL era chino!! Qué pasó?
  • 5. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Conocer la Arquitectura de Infraestructura Lecciones aprendidas
  • 6. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Application 2. Compute (cpu, ram) 3. Network 4. Security 5. Storage Lecciones aprendidas
  • 7. © 2022, Amazon Web Services, Inc. or its Affiliates. Qué es Infraestructura? Compute Network Storage Application Software as a Service (ej: Confluent kafka, Datadog, etc) Platform as a Service (ej: Beanstalk, Kubernetes, Heroku, etc) Infrastructure as a Service (ej: Aws, GCP, Azure) Infraestructura
  • 8. © 2022, Amazon Web Services, Inc. or its Affiliates. Dev == Prod ? ?
  • 9. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Evitar ClickOps en Prod. Lecciones aprendidas
  • 10. © 2022, Amazon Web Services, Inc. or its Affiliates. Lecciones aprendidas “If a human operator needs to touch your system during normal operations, you have a bug.” Carla Geisser, Google SRE. Mas info https://sre.google/sre-book/eliminating-toil/
  • 11. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. . 2. DevOps team Silo == Antipatron Lecciones aprendidas Mas info https://web.devopstopologies.com/
  • 12. © 2022, Amazon Web Services, Inc. or its Affiliates. Cómo romper los Silos? 1. Fomentar la comunicación y “colaboración” 2. Crear equipos multidisciplinarios 3. Compartir responsabilidades y objetivos 4. Automatizar procesos 5. Capacitación y el aprendizaje cruzado 6. Medir y mejorar 7. Liderazgo y apoyo de la dirección
  • 13. © 2022, Amazon Web Services, Inc. or its Affiliates. Colaboración en CI/CD
  • 14. © 2022, Amazon Web Services, Inc. or its Affiliates. Colaboración en Infra(?) Aws Cloudformation ?
  • 15. © 2022, Amazon Web Services, Inc. or its Affiliates. Infrastructure as Code Best practice para gestionar el ciclo de la Infraestructura a través del código, en lugar de hacerlo mediante procesos manuales. QA Prod
  • 16. © 2022, Amazon Web Services, Inc. or its Affiliates. Colaboración en Infra(?)
  • 17. © 2022, Amazon Web Services, Inc. or its Affiliates. ● Open source ● Tiene plataforma web para gestión de proyectos https://app.pulumi.com/ ● Multiple lenguajes: ○ Python ○ Javascript ○ Typescript ○ Java ○ Go ○ C# ○ Yaml Pulumi
  • 18. © 2022, Amazon Web Services, Inc. or its Affiliates. Pulumi: conceptos ● Project ● Resource ○ Input ○ Outputs ● Stack
  • 19. © 2022, Amazon Web Services, Inc. or its Affiliates. Pulumi: conceptos
  • 20. © 2022, Amazon Web Services, Inc. or its Affiliates. Demo time!
  • 21. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Instalar Pulumi y login: $ curl -fsSL https://get.pulumi.com | sh 1. Instalar Python tools: $ sudo apt install python3-venv python3-pip 1. Conectar a AWS: $ export AWS_ACCESS_KEY_ID=**** $ export AWS_ACCESS_KEY_SECRET=**** Prerequisitos
  • 22. © 2022, Amazon Web Services, Inc. or its Affiliates. 1. Crear proyecto: $ pulumi new aws-python 1. Guardar estados en https://app.pulumi.com $ pulumi login 1. Levantar Infra: $ pulumi up Workshop: desde cero
  • 23. © 2022, Amazon Web Services, Inc. or its Affiliates. Workshop: método rápido 1. Clonar repo: $ git clone https://github.com/mario21ic/iac-workshop-aws 1. Probar: $ cd iac-workshop-aws/basic/ $ pulumi up
  • 24. © 2022, Amazon Web Services, Inc. or its Affiliates. Workshop: stacks 1. Crear nuevo: $ pulumi stack init qa 1. Seleccionar: $ pulumi stack select dev 1. Destroy $ pulumi destroy
  • 25. © 2022, Amazon Web Services, Inc. or its Affiliates. Q&A Mario Inga Cahuana
  • 26. © 2022, Amazon Web Services, Inc. or its Affiliates. ¡ Gracias ! @mario21ic