Trilha – SRE e Observabilidade
Jaime Nagase
Principal AppMod Containers Specialist
Bruno Lopes
Sr. Specialist SA, Containers
Globalcode – Open4education
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Engenharia de Plataforma, a continuação do DevOps…
Globalcode – Open4education
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jaime Nagase
Embaixador DevOps
ITIL Expert
Ex-Head de Cloud & DevOps Porto Seguro e
Ex-Tech Manager do Itaú Unibanco e Cielo
Atualmente Principal AppMod Containers Spec para LATAM
Autor do Livro: Application Modernization Strategy
https://www.linkedin.com/in/jnagase/
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Bruno Lopes
Sr. Specialist Solutions Architect na AWS LATAM, com mais de 17 anos de experiência em TI. Especialista em Containers e Kubernetes na AWS, ele atua com clientes em toda a América Latina, acelerando a modernização de aplicações e a adoção de ambientes híbridos.
Ao longo da carreira, também atuou como Consultor, Technical Trainer e Evangelista, ajudando equipes a superarem desafios técnicos com soluções inovadoras e práticas.
/in/blopesinfo
/brunokktro
lopbruno@amazon.com
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modelo Operacional Pré 2000
Time de Desenvolvimento
Time de Operações
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Evolução do Modelo Operacional
Amazon EKS
Amazon S3
Amazon EBS
Amazon Route 53
Amazon EMR
Amazon RDS
ElastiCache
Amazon SNS
Camada de Infraestrutrura
Camada de Aplicação
Infra como Código
Ferramentas e processos CI/CD
Time de Devs
Time de Operações
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Evolução do Modelo Operacional
Amazon EKS
Amazon S3
Amazon EBS
Amazon Route 53
Amazon EMR
Amazon RDS
ElastiCache
Amazon SNS
Camada de Infra Estrutura
Gestão de
Mudanças
Deploy�updates
Time de Dev
Time de Ops
Ticket
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Por que isso é tão complexo em ambientes?�
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Quais as fronteiras entre os times?
Autonomia
Padronização
Time de Operações
Time de Desenvolvimento
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Chegando num consenso?
Autonomia
Time de Ops
Time de Dev
Padronização
Startups
Empresas muito regulamentadas
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Chegando num consenso?
Autnomia
Padronização
Time de Ops
Time de Dev
Vc deve estar aqui?
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Chegando num consenso?
Autonomia
Padronização
Platform Engineering
Time de Ops
Time de Dev
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Personas e Plataforma
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Requerimentos para Plataforma
Quero padronizar o deployment e garantir conformidade de infra-estrutura na minha organização
Engenheiro de Plataforma
Preciso abstrair complexidade!
Engenheiro de Aplicações
Quero focar no Código da minha aplicação e consumir infra-estrutura de maneira simples
PO da Plataforma
Quero melhorar os produtos e serviços disponíveis
Preciso de dados e insights!
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código e Plataformas��
AWS Cloudformation
AWS Cloud Development Kit
Executam no cliente
Desktop
Workflow
Montam building blocks de infra-estrutura
Traduzem Código para chamadas de múltiplas APIs
APIs Low Level
Para perspectiva de infra-estrutura
AWS API
Precisamos abstrair a complexidade
Preciamos criar produtos ou serviços
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código e Plataformas��
Commit
Push
Engenheiro de Aplicação
Repositório Git
Engenheiro de Segurança
Repositório Git
Policy as Code
Engenheiro de Plataforma
Repositório Git
Checkov
Cfn-Guard
OPA
CFN –lint
TFLint
Estágios de Pipeline
Estágios de Pipeline
Shift Left
Abstração
Padronização e Conformidade
Execução no cliente!
Produto ou Serviço
APIs AWS
Product Owner
Módulos
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código e Plataformas
Produto ou Serviço
Product Owner
Quantos databases foram lançados com a versão X do módulo Y?
Quais versões de módulo/composição existem no ambiente?
Quantos clusters com versão X estão depreciados no ambiente e como realizar o enforce para nova versão?
Quais ambientes sofreram drift e precisam de reconciliação?
Quantos incidentes estão relacionados versão X do módulo Y?
Quantos foram removidos no último mês?
Quais os clientes que lançaram a última versão da abstração de storage?
Qual o custo que a versão X da abração Y representa em ambientes críticos?
Executam no cliente!
Desktop
Workflow
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código e Plataformas
Consigo ter uma Plataforma usando IaC e Pipelines?
SIM!
Consigo ter dados com o valor agregado das abstrações, módulos e composições?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infraestrutura como Código e Plataformas��
Commit
Push
Engenheiro de Aplicação
Repositório Git
Engenheiro de Segurança
Repositório Git
Policy as Code
Engenheiro de Plataforma
Repositório Git
APIs AWS
Checkov
Cfn-Guard
OPA
CFN –lint
TFLint
Estágios de Pipeline
Estágios de Pipeline
Shift Left
Abstração
Padronização e Conformidade
Instrumentação do pipeline e módulos com tags
Internal Developer Portal
Service Catalog
Scaffold
AWS Config
AWS Glue
AWS LakeFormation
Amazon QuickSight
Metadados democratizados em um datalake
ETL
Product Owner
Módulos
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Control Planes no EKS e Engenharia de Plataforma
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Control Plane e Data Plane - AWS
Data�Plane�APIs
Clientes de Data Plane
Clientes de Control plane
Async�Workflows
Schedulers
Controllers
Operators
Aplicação
APIs low level
Control Plane APIs
CLI
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Control Plane e Data Plane - k8s
Data�Plane�
Clientes de Data Plane
Control Plane
Aplicação
Clientes de Control plane
Controllers não são “one shot”! Eles continuam calculando drifts e reconciliamentos
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
24
Deploy de aplicações no EKS
AWS Account
EKS Cluster
Development
Teams
Platform Team
code
Deploy
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
25
AWS
EKS Cluster
S3
SQS
DynamoDB
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Developer
Ticketing system
Platform team
AWS CDK
Amazon S3
Amazon SQS
Amazon DynamoDB
AWS CDK
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
27
Deploy AWS Dependencies
AWS
EKS Cluster
S3
?
SQS
DynamoDB
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
28
AWS
EKS Cluster
S3
?
Role
Policy
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
29
AWS
EKS Cluster
S3
Role
Policy
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
30
Deploy AWS Dependencies
AWS
EKS Cluster
S3
Role
Policy
1
2
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
31
AWS
EKS Cluster
S3
Role
Policy
1
2
3
4
🤞
6
code
Deploy
values.yaml
5
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Arquiteto de Database
Engenheiro de Plataforma
Conformidade
Engenheiro de Segurança
Revisa
Permissões
Arquiteto de Aplicações
Capacidades
Git Repo
Guardrails
Consome
Engenheiro de Aplicações
Cria
Policies
Policy
Autenticação
Abstrações
Shift Left
Estado
API
Deploy de recursos AWS como dependencias
Product Owner
Produto
Abstrações
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Composições no Crossplane
<Kubernetes API>
Composite Resource Definition (XRD)
Database (Claim)
implementa
uses
AWS Composição
On-Premises Composição
PostgreSQL
Prometheus
AWS
IAM
Amazon
RDS
Amazon
CloudWatch
Engenheiro de Plataforma
Engenheiro de Aplicações
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
34
AWS Account
EKS Cluster
Development
Teams
Platform Team
code
Automation
Controller
S3
values.yaml
Deploy de aplicações no EKS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
35
AWS Account
EKS Cluster
Development
Teams
Platform Team
code
Automation
Controller
S3
values.yaml
s3:
enable: true
S3
Role
Policy
S3
Deploy de recursos AWS como dependencias
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Futuro da Engenharia de Plataforma ou seria o presente?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
37
GenAI na Engenharia de Plataforma
Utilizar a IU do Backstage para interagir com seus padrões
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
38
GenAI na Engenharia de Plataforma
LLM trata o contexto de sistemas externos
Modelo Decide o que ele precisa usar
Se necessário ele chama um outra API ou Aplicação
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
39
GenAI na Engenharia de Plataforma
Back-end Plugin facilita na conexão com as ferramentas
Essas ferramentas criam um wrap para os plugins
O Agent manda as invocações paras ferramentas e troca informações com elas
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lições Aprendidas
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1 - Antes de tudo, Faça sua Fundação!
H
Landing Zone
Estratégia de múltiplas contas
Network
Identity Access Management
Controles de Prevenção, Detecção e Correção
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2 – Escale bons padrões de arquitetura de software
12-factor App
Arquitetura hexagonal ou “Cebola”
Arquitetura orientada à eventos
CQRS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3 – Adoção
Segurança em primeiro lugar
Crie sua plataforma para arquitetos, desenvolvedores, time de segurança e infra
Tenha uma sandbox, ou Break the glass
Metrifique tudo…
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jaime Nagase
https://www.linkedin.com/in/jnagase/
/in/blopesinfo
lopbruno@amazon.com
Bruno Lopes
Obrigado!
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Web Services, AWS, the Powered by AWS logo, and all AWS service names used in this slide deck are trademarks of Amazon.com, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.