Conceptos generales de seguridad
Por qu茅 Ciberseguridad para Desarrollo Web
No estamos seguros
Autorizaci贸n Autenticaci贸n y Accountability : AAA
Funciona en mi local
Empecemos por la l贸gica
SQL Injection
De local a producci贸n
Introducci贸n a DevSecOps
DevSecOps como cultura
Creando pipelines
Corriendo nuestras pruebas
Listas de control de privilegios
Seguridad en la arquitectura
Dise帽ando la arquitectura
Infraestructura como c贸digo
Creando la infraestructura
Creando roles y policies
Desplegando funciones lambda
El mundo de la Base de Datos
Conectando lambdas a una VPC
Single point of failure
Evitando vulnerabilidades en el c贸digo
Configurando Auth0
Creando un lambda Authorizer
Secretos y API Keys
Creando Endpoints
Evitando Cross Site Scripting o XSS
Validando la integridad de los datos con tokens
Controles de seguridad sobre datos
Conociendo la naturaleza de los datos
Protege tus datos con Key Management Services
Monitoring y alertas
Sistema de logs
Observabilidad
Alertas y Postmortems
CORS y cierre
Errores de CORS
You don't have access to this class
Keep learning! Join and start boosting your career
When you work with Terraform to manage infrastructure as code, the first essential step is to initialize the environment where Terraform will run. Let's follow these steps to understand how to do it correctly.
infra
, where your Terraform configuration will be hosted.terraform init
command, which will prepare the environment by downloading the necessary modules and setting the initial state to terraform.tfstate
.cd infraterraform init -backend=false
terraform fmt
command to correct it:terraform fmt -recursive
The terraform plan
command is essential to understand what changes are being proposed before applying any changes.
terraform plan
main.tf
file is needed to reference and configure these modules.Once you are sure of your modifications, the next step is to apply them.
terraform plan
.terraform apply
command, and when asked for confirmation, answer with yes
to proceed.terraform apply
A crucial step after applying the changes is to verify that they have been applied correctly in AWS:
repo collector platzi
role should be present.policy generate
.With these steps, you can not only manage infrastructure as code with Terraform, but also automate the creation of roles and policies, facilitating the use of services such as AWS Lambda. We invite you to continue learning and exploring new configurations in future classes!
Contributions 1
Questions 0
Want to see more contributions, questions and answers from the community?