<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by João Vitor Gaioso de Faria Ribeiro on Medium]]></title>
        <description><![CDATA[Stories by João Vitor Gaioso de Faria Ribeiro on Medium]]></description>
        <link>https://medium.com/@joaogaioso?source=rss-ca64b7ad9c5d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qhXR9pUlim_7OBof4CiViA.jpeg</url>
            <title>Stories by João Vitor Gaioso de Faria Ribeiro on Medium</title>
            <link>https://medium.com/@joaogaioso?source=rss-ca64b7ad9c5d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:38:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joaogaioso/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Certified Advanced Networking Specialty (ANS-C01): Guia de Estudos + Minha Experiência Após Ser…]]></title>
            <link>https://joaogaioso.medium.com/aws-certified-advanced-networking-specialty-ans-c01-guia-de-estudos-minha-experi%C3%AAncia-ap%C3%B3s-ser-dcc6d7b81d9e?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcc6d7b81d9e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws-advanced-networking]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Thu, 28 May 2026 16:14:27 GMT</pubDate>
            <atom:updated>2026-05-28T16:14:27.820Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS Certified Advanced Networking Specialty (ANS-C01): Guia de Estudos + Minha Experiência Após Ser Aprovado</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ofWk-7Vue6WvlnNAdGH0w.png" /></figure><blockquote><em>Depois de conquistar a AWS Certified Advanced Networking Specialty (ANS-C01), resolvi montar este guia de estudos para ajudar quem está se preparando para uma das certificações mais difíceis da AWS. Se você trabalha com redes, arquitetura cloud, ambientes híbridos, Direct Connect, BGP, TGW, DNS e troubleshooting avançado, essa certificação é um verdadeiro deep dive no universo de networking dentro e fora da AWS.</em></blockquote><h3>Visão geral do exame</h3><ul><li>65 questões</li><li>múltipla escolha e múltiplas respostas (as vezes de escolher até 3)</li><li>170 minutos</li><li>nível Specialty</li><li>altamente baseada em cenários reais</li><li>muito troubleshooting e trade-off arquitetural</li></ul><h3>Minha visão sincera da prova</h3><p>Essa prova por si só já tem fama de ser difícil e sinceramente, faz total jus à reputação rsrs.</p><p>Foi uma prova extremamente cansativa, cheia de cenários longos e questões que muitas vezes se diferenciam em um pequeno detalhe, literalmente na “vírgula”. Tem muita configuração, comportamento e detalhe técnico crucial que, se você não estudar e testar na prática, a prova te pega. Na minha visão, é uma certificação que exige uma bagagem bem sólida no ecossistema AWS como um todo, principalmente quando falamos de troubleshooting, conectividade e arquitetura de redes. As questões exploram muitos cenários reais e problemas do dia a dia, daqueles que você facilmente encontraria em ambientes enterprise.</p><p>Para encarar a ANS-C01, você realmente precisa entender profundamente o comportamento das redes , tanto dentro quanto fora da AWS. Não basta saber o nome dos serviços e pra que serve, é preciso entender como eles se comportam, seus trade-offs e como diagnosticar problemas em arquiteturas híbridas, multi-account e multi-region.</p><h3>Pré-requisitos que eu considero obrigatórios antes da ANS-C01</h3><h4>Conhecimentos fundamentais</h4><ul><li>TCP/IP</li><li>CIDR/Subneting</li><li>NAT</li><li>Stateful vs Stateless</li><li>BGP</li><li>VPN IPSec</li><li>DNS</li><li>Routing</li><li>Latência e throughput</li><li>MTU / Jumbo Frames</li><li>ECMP</li><li>Anycast vs Unicast</li><li>Firewalling</li><li>TLS/HTTPS</li></ul><h3>Meu plano de estudos por domínio (baseado no blueprint do exame)</h3><h3>Domínio 1 — Network Design (30%)</h3><h3>O que estudar</h3><h4>Amazon VPC (obrigatório dominar)</h4><ul><li>CIDR planning</li><li>Secondary CIDR</li><li>IPv4 vs IPv6</li><li>Dual-stack</li><li>Subnets</li><li>Route Tables</li><li>NACL vs Security Groups</li><li>ENI</li><li>Prefix Lists</li><li>VPC Sharing</li></ul><h4>Conectividade entre VPCs</h4><ul><li>VPC Peering</li><li>Hub-and-Spoke</li><li>Centralized networking</li><li>Transit Gateway</li><li>Route propagation</li><li>Appliance mode</li></ul><h4>Hybrid Networking (CAI MUITO)</h4><ul><li>Site-to-Site VPN</li><li>Direct Connect</li><li>DX Gateway</li><li>Transit VIF</li><li>Public VIF</li><li>Private VIF</li><li>VPN backup for DX</li></ul><h4>Global Architecture</h4><ul><li>Multi-region networking</li><li>AWS Global Accelerator</li><li>CloudFront</li><li>Route 53 routing policies</li></ul><h4>DNS</h4><ul><li>Resolver inbound/outbound</li><li>Split horizon DNS</li><li>Conditional forwarding</li><li>Private Hosted Zones</li><li>DNSSEC</li><li>Resolver rules</li></ul><h3>O que eu mais vi cair</h3><ul><li>TGW vs Peering</li><li>Route propagation</li><li>Hybrid routing</li><li>BGP (atributos usados para influenciar seleção de rotas, preferência de tráfego e políticas de failover)</li><li>DNS troubleshooting</li><li>DX + VPN failover</li><li>IPV6 VPN</li><li>Direct Connect inúmeros cenários</li><li>EKS e ECS Networking</li></ul><h3>Domínio 2 — Network Implementation (26%)</h3><h3>Serviços para dominar</h3><h4>Elastic Load Balancer</h4><ul><li>ALB</li><li>NLB</li><li>GWLB</li><li>cross-zone load balancing</li><li>source IP preservation</li><li>sticky session</li></ul><h4>Route 53</h4><ul><li>Latency routing</li><li>Weighted routing</li><li>Failover</li><li>Geolocation</li><li>Geoproximity</li><li>Multivalue</li></ul><h4>AWS Global Accelerator</h4><ul><li>Quando usar vs CloudFront</li><li>Anycast</li><li>Latência global</li></ul><h4>VPC Endpoints</h4><ul><li>Gateway Endpoint</li><li>Interface Endpoint</li><li>PrivateLink</li></ul><h4>Containers e Networking</h4><ul><li>ECS networking</li><li>EKS networking</li><li>ENI per pod</li><li>CNI</li></ul><h4>IPv6</h4><ul><li>DNS64</li><li>NAT64</li><li>egress-only IGW</li></ul><h3>Cenários clássicos da prova</h3><ul><li>“Empresa quer reduzir latência global”</li><li>“Precisa manter IP fixo”</li><li>“Conectividade privada entre contas”</li><li>“Conectar centenas de VPCs”</li></ul><h3>Domínio 3 — Network Operations and Management (20%)</h3><h3>Observabilidade e troubleshooting</h3><h4>CloudWatch</h4><ul><li>métricas de rede</li></ul><h4>VPC Flow Logs</h4><ul><li>ACCEPT vs REJECT</li><li>troubleshooting</li></ul><h4>Reachability Analyzer</h4><ul><li>diagnóstico de conectividade</li></ul><h4>Traffic Mirroring</h4><ul><li>IDS/IPS</li><li>packet inspection</li></ul><h4>Network Manager</h4><ul><li>topologia híbrida</li></ul><h4>Route Analyzer</h4><ul><li>troubleshooting</li></ul><h3>Troubleshooting pesado</h3><p>Exemplos:</p><ul><li>VPN up mas sem tráfego</li><li>Direct Connect degradado</li><li>problema de asymmetric routing</li><li>DNS resolution falhando</li><li>MTU mismatch</li><li>TCP retransmission</li><li>Security Group vs NACL</li><li>BGP advertisement issue</li></ul><h3>Domínio 4 — Network Security, Compliance and Governance (24%)</h3><h3>Segurança de rede AWS</h3><h4>AWS Network Firewall</h4><ul><li>stateful engine</li><li>stateless engine</li></ul><h4>AWS WAF</h4><ul><li>proteção L7</li></ul><h4>Shield Standard vs Advanced</h4><h4>Security Groups e NACL</h4><h4>PrivateLink</h4><ul><li>exposição privada de serviços</li></ul><h4>TLS</h4><ul><li>ACM</li><li>SNI</li><li>mTLS</li></ul><h4>Compliance</h4><ul><li>segmentation</li><li>centralized inspection VPC</li><li>zero trust</li></ul><h3>Serviços que você PRECISA dominar</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*_ba8ZFTFuxKWzU3fPY_j7g.png" /></figure><h3>Labs que MAIS me ajudaram</h3><h3>Lab 1 — Hybrid Connectivity</h3><p>VPN Site-to-Site + BGP + Failover</p><h3>Lab 2 — Multi Account Networking</h3><p>Transit Gateway Hub-and-Spoke</p><h3>Lab 3 — DNS Enterprise</h3><p>Inbound + Outbound Resolver + Split Horizon</p><h3>Lab 4 — Centralized Inspection</h3><p>Inspection VPC + GWLB + Firewall</p><h3>Lab 5 — Multi Region</h3><p>Global Accelerator + Route53 Failover</p><h3>Lab 6 — IPv6 Enterprise</h3><p>Dual stack + NAT64 + DNS64</p><h3>Lab 7 — Troubleshooting Lab</h3><p>Ambiente quebrado para diagnosticar, fica a critério do cenário que deseja se testar no troubleshooting</p><h3>Questões de Exemplo</h3><p>1) There are two AWS Direct Connect connections between the on-premises data center and the company’s Amazon VPC via public virtual interfaces. The connections are using public Autonomous System Number (ASN). The Network Engineer has been instructed to configure an Active/Passive routing setup in which one connection handles the traffic, and the other is on standby. In the event that the active connection becomes unavailable, all traffic should be routed through the passive connection.</p><p>What should the Engineer do to properly set up the BGP configuration? (Select THREE.)</p><p>a) Adjust the load-sharing of inbound traffic to the two connections by advertising prefixes with similar AS_PATH attributes.</p><p>b) Use the BGP Local Preference attribute so that the customer gateway accepts routes from the primary connection as 200 and the secondary connection as 100. Setting a higher Local Preference value is preferred since the default value is 100.</p><p>c) Use the BGP AS_PATH attribute so that the prefixes advertised from the secondary connection are prepended with the customer gateway ASN twice. For example, if the customer gateway uses ASN 123, it can advertise the prefix on the secondary connection with AS_PATH set to 123 123.</p><p>d) The Engineer must confirm that the customer gateway is advertising the same prefix on both Border Gateway Protocol (BGP) sessions.</p><p>e) Ensure that the external BGP (EBGP) multi-hop is enabled.</p><p>f) Set the BGP community tag for the primary or active virtual interfaces to 7224:7100.</p><h4>Corretas: b, c e d.</h4><blockquote><strong>Explicação:</strong> No BGP, quanto <strong>maior</strong> o Local Preference, mais preferido é o caminho. <br>O AS_PATH funciona assim: quanto <strong>menor</strong> o caminho AS_PATH, mais preferido ele é. Então, se no link secundário você anuncia o prefixo com o ASN repetido: <strong>Primário: 123<br>Secundário: 123 123</strong><br>A AWS entende que o caminho pelo secundário é “mais longo” e prefere o primário.<br>Se o primário anuncia um prefixo e o secundário não anuncia o mesmo prefixo, quando o primário cair, a AWS ou o roteador on-premises não terá uma rota equivalente para usar e isso é necessário para o failover funcionar.</blockquote><p>2) A company has a hybrid network architecture that consists of multiple regional on-premises data centers and hundreds of AWS VPCs in various AWS regions. The Network Administrator has been tasked to connect all of the company’s VPCs, on-premises networks, SD-WAN (Software-Defined Wide Area network) virtual appliances, and VPN connections into a single gateway. The solution should also support inter-region peering across multiple AWS regions and provide higher bandwidth performance than a regular VPN connection.</p><p>What’s the MOST suitable solution that the Administrator should implement to build the requested network architecture?</p><p>a) Set up AWS VPN CloudHub to achieve inter-region VPC access to all of the AWS resources and on-premises data centers. Establish connection to the SD-WAN virtual appliances using Amazon Route 53 Resolver DNS Firewall</p><p>b) Use AWS Direct Connect Gateway to achieve inter-region VPC access to all of the AWS resources and on-premises data centers. Connect the SD-WAN virtual appliances to your cloud architecture using the AWS Cloud Map service</p><p>c) Use AWS Transit Gateway to connect the geographically dispersed VPCs and remote networks in order to create a global network transit center. Create Transit Gateway Connect attachments to establish a connection to third-party SD-WAN virtual appliances via AWS Direct Connect and Generic Routing Encapsulation (GRE) tunnels.</p><p>d) Enable inter-region VPC peering and use AWS Managed VPN that supports static routes and dynamic Border Gateway Protocol (BGP) peering and routing policies. Consolidate all external networks by using the AWS Resource Access Manager (AWS RAM).</p><h4>Correta: c</h4><blockquote><strong>Explicação:</strong> AWS Transit Gateway<strong> </strong>é o serviço certo quando você precisa conectar muitas VPCs, redes on-premises, VPNs e múltiplas regiões em uma arquitetura centralizada tipo <strong>hub-and-spoke</strong>. Ele funciona como um “roteador central” na AWS para interligar VPCs e redes externas. A AWS também suporta <strong>Transit Gateway inter-Region peering</strong>, que permite conectar Transit Gateways entre regiões diferentes.</blockquote><blockquote>O detalhe mais importante da questão é o trecho:<br><strong><em>“SD-WAN virtual appliances”<br> “higher bandwidth performance than a regular VPN connection”</em></strong></blockquote><blockquote>Isso aponta diretamente para Transit Gateway Connect. O Transit Gateway Connect foi criado justamente para integrar appliances de rede/SD-WAN de terceiros ao Transit Gateway usando <strong>GRE tunnels + BGP</strong>, podendo usar um attachment existente de <strong>VPC ou Direct Connect</strong> como transporte.</blockquote><p>3) A company is migrating applications from a data center to AWS. Many of the applications will need to exchange data with the company’s on-premises mainframe. The company needs to achieve 4 Gbps transfer speeds to meet peak traffic demands. A network engineer must design a highly available solution that maximizes resiliency. The solution must be able to withstand the loss of circuits or routers. Which solution will meet these requirements?</p><p>a) Order four 10 Gbps AWS Direct Connect connections that are evenly spread over two locations. Terminate one connection from each Direct Connect location to a router at the company location. Terminate the other connection from each Direct Connect location to a different router at the company location.</p><p>b) Order two 10 Gbps AWS Direct Connect connections that are evenly spread over two locations. Terminate the connection from each Direct Connect location to a different router at the company location.</p><p>c) Order four 1 Gbps AWS Direct Connect connections that are evenly spread over two locations. Terminate one connection from each Direct Connect location to a router at the company location. Terminate the other connection from each Direct Connect location to a different router at the company location.</p><p>d) Order two 1 Gbps AWS Direct Connect connections that are evenly spread over two locations. Terminate the connection from each Direct Connect location to a different router at the company location.</p><h4>Correta: a</h4><blockquote><strong>Explicação:</strong> A empresa <strong>Precisa de 4 Gbps de tráfego</strong></blockquote><blockquote>Então opções com <strong>1 Gbps</strong> não servem bem, porque:</blockquote><blockquote><strong>4 conexões de 1 Gbps = 4 Gbps total</strong></blockquote><blockquote>Mas se perder um circuito ou roteador, já cai para menos de 4 Gbps. Por isso a <strong>c</strong> e a <strong>d </strong>não atendem bem ao requisito de pico com resiliência.</blockquote><blockquote><strong>Precisa maximizar resiliência contra perda de circuito ou roteador.<br></strong>A alternativa <strong>a</strong> usa:</blockquote><blockquote><strong>4 conexões Direct Connect de 10 Gbps<br>Distribuídas em 2 locations<br>Terminadas em 2 roteadores diferentes no data center</strong></blockquote><blockquote>Isso protege contra:<br>- Falha de um circuito<br>- Falha de um roteador<br>- Falha em uma Direct Connect location</blockquote><blockquote>A <strong>b </strong>também é resiliente, mas tem apenas <strong>duas </strong>conexões. A questão fala em <strong>maximizar resiliência</strong>, então a melhor é ter conexões redundantes em cada location e em roteadores diferentes.</blockquote><p>4) A group of network engineers is tasked with automating the deployment of an Application Load Balancer (ALB) within a multi-account environment using the AWS Cloud Development Kit (AWS CDK). The deployment must integrate seamlessly with existing VPC configurations, Amazon Route 53 private hosted zones, and other network components, which have already been deployed across multiple AWS Regions and accounts.</p><p>The network architect has configured the target VPCs and Route 53 private hosted zones across various environments and AWS Regions. The network engineers need to architect the ALB components using the AWS CDK while ensuring the ALB deployments are flexible, reusable, and context-driven for various environments. The team wants to avoid any manual intervention and wants the deployment to adapt to different Regions and accounts automatically. Additionally, the team is considering using AWS Shield for DDoS protection during deployment.</p><p>Which combination of actions will minimize manual intervention when deploying across different environments? (Select TWO.)</p><p>a) Configure the CDK application to dynamically fetch account and region details via environment variables at runtime. Use these values as properties in the CDK stack and apply context methods to access them within the application.</p><p>b) Establish a separate dedicated account for managing shared application services in the multi-account environment. Set up a CDK pipeline in this account, and create deployment stages that will automatically deploy the CDK application to various environments and regions.</p><p>c) Utilize the CDK toolkit locally to manage stack deployments to different environments and Regions. Pass necessary variables using the --context flag, enabling the CDK application to adapt based on runtime conditions.</p><p>d) Set up the CDK application to use AWS CloudFormation StackSets to deploy the ALB resources consistently across multiple accounts and Regions, automating the deployment process.</p><p>e) Design the CDK application to retrieve environment-specific parameters, such as VPC IDs and Route 53 hosted zones, from AWS Systems Manager Parameter Store, and incorporate these values into the CDK stack to deploy the ALB resources.</p><h4>Corretas: a, b</h4><blockquote><strong>Explicação: </strong>Variáveis/contexto para conta e região permite que o mesmo código CDK se adapte automaticamente ao ambiente de destino sem alterar o código manualmente, exemplo:</blockquote><blockquote><strong>Conta DEV — us-east-1<br>Conta HML — sa-east-1<br>Conta PRD — us-east-1</strong></blockquote><blockquote>E o CDK Pipeline com stages em conta dedicada automatiza o deploy para várias contas, regiões e ambientes, reduzindo execução manual e padronizando o processo. Isso nos evita de rodar manualmente:</blockquote><blockquote><strong>cdk deploy — profile dev<br>cdk deploy — profile hml<br>cdk deploy — profile prd</strong></blockquote><h3>Minha opinião sincera após passar</h3><h3>Vale a pena?</h3><p>Sim, principalmente para:</p><ul><li>Cloud Architects</li><li>Network Engineers</li><li>Solutions Architects</li><li>Infra Engineers</li></ul><h3>Recursos que utilizei</h3><ul><li><a href="https://docs.aws.amazon.com/pt_br/aws-certification/latest/advanced-networking-specialty-01/advanced-networking-specialty-01.html?refid=eb382cca-a5f6-4b66-9039-6b6c556d0cca">Guia oficial AWS</a></li><li><a href="https://portal.tutorialsdojo.com/courses/aws-certified-advanced-networking-specialty-practice-exams/ref/G33713">Tutorials Dojo</a> (melhor simulado, estudei 99% por ele muito condizente com o nível e conteúdo da prova!)</li><li><a href="https://www.youtube.com/watch?v=3drRqe3HtGc">Simulado em video da Algoholic</a> (recomendo bastante tb)</li><li><a href="https://skillbuilder.aws/category/exam-prep/advanced-networking-specialty-ANS-C01">Skill Builder</a></li><li>Hands-on labs -&gt; <a href="https://www.whizlabs.com/learn/course/aws-advanced-networking-speciality/195">Whizlabs</a> e Youtube</li></ul><h3>Conclusão</h3><blockquote><em>A AWS Advanced Networking Specialty não é apenas uma certificação sobre serviços AWS, ela testa nossa capacidade de pensar como um arquiteto de redes em ambientes enterprise, híbridos e globais. Se você realmente dominar os conceitos e fizer labs práticos, a chance de aprovação aumenta absurdamente. Qualquer dúvida ou caso queira trocar uma ideia só me chamar no </em><a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso"><strong><em>LinkedIn</em></strong></a><em>!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcc6d7b81d9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon S3 Files na prática: acessando dados do S3 como um File System em uma EC2]]></title>
            <link>https://joaogaioso.medium.com/amazon-s3-files-na-pr%C3%A1tica-acessando-dados-do-s3-como-um-file-system-em-uma-ec2-ccf5fb67ef5b?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccf5fb67ef5b</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-s3-files]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-s3]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Tue, 05 May 2026 16:21:10 GMT</pubDate>
            <atom:updated>2026-05-05T16:21:10.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDvKCL6RUOixQSVNYTEXpQ.png" /></figure><h3>O que é o Amazon S3 Files?</h3><p>O <strong>Amazon S3 Files</strong> é um recurso que permite acessar dados armazenados no Amazon S3 por meio de uma interface de filesystem compartilhado. Em outras palavras, ele conecta recursos de computação da AWS diretamente aos dados no S3, permitindo trabalhar com esses dados como arquivos, sem que eles precisem sair do S3.</p><p>Na prática, isso significa que uma EC2, Lambda ou outro recurso de compute pode acessar um bucket S3 como se estivesse acessando um diretório montado no sistema operacional.</p><p>Algo como:</p><pre>/mnt/s3files/</pre><p>E dentro desse caminho você consegue executar comandos comuns de Linux:</p><pre>ls<br>cat<br>mkdir<br>rm<br>ffmpeg</pre><p>A grande ideia é simples:</p><blockquote><em>trazer a experiência de filesystem para dados que continuam armazenados no S3.</em></blockquote><p>Segundo a própria AWS, o S3 Files permite que aplicações baseadas em arquivos, agentes e times trabalhem com dados do S3 usando ferramentas que já dependem de semântica de filesystem, evitando a necessidade de duplicar ou mover dados entre object storage e file storage.</p><h3>Por que isso é relevante?</h3><p>Antes do S3 Files, muitos cenários acabavam caindo em arquiteturas como:</p><pre>S3 → copiar para EC2/EFS/FSx → processar → enviar resultado de volta para S3</pre><p>Isso funciona, mas traz alguns pontos negativos:</p><ul><li>movimentação extra de dados;</li><li>duplicação temporária de arquivos;</li><li>mais etapas no pipeline;</li><li>mais código;</li><li>mais pontos de falha;</li><li>mais custo operacional.</li></ul><p>Com S3 Files, o fluxo pode ficar mais simples:</p><pre>S3 → acessar como filesystem → processar direto</pre><p>Isso não quer dizer que o S3 Files substitui o EFS ou o FSx em todos os cenários. Ele resolve um problema diferente: permitir que dados no S3 sejam acessados por aplicações que esperam arquivos e diretórios.</p><h3>S3 Files substitui o EFS?</h3><p>Não necessariamente.</p><p>Essa é uma distinção importante.</p><p>O <strong>Amazon EFS</strong> é um filesystem NFS gerenciado, muito útil para aplicações que precisam de um filesystem POSIX compartilhado entre múltiplas instâncias, containers ou funções. Já o <strong>S3 Files</strong> é uma forma de acessar os dados do S3 com uma interface de filesystem, mantendo o S3 como a camada principal de armazenamento.</p><p>Uma forma simples de pensar:</p><pre>EFS → filesystem compartilhado para aplicações<br>S3 Files → dados do S3 acessíveis como filesystem</pre><p>No meu caso, o objetivo do lab não era substituir EFS, mas testar um cenário onde o dado já está no S3 e eu quero evitar cópias desnecessárias apenas para processá-lo.</p><h3>Processamento de Arquivos na AWS</h3><p>Se você já trabalhou com processamento de arquivos na AWS, provavelmente já passou por um cenário parecido:</p><p>Você tem dados no <strong>Amazon S3</strong>, mas a aplicação, biblioteca ou ferramenta que você quer usar espera um <strong>filesystem tradicional</strong>.</p><p>Exemplo clássico:</p><pre>ffmpeg -i video.mp4 audio.mp3</pre><p>O ffmpeg, assim como várias ferramentas Linux, trabalha muito bem com caminhos locais, como:</p><pre>/home/ec2-user/video.mp4<br>/mnt/files/audio.mp3</pre><p>Mas o S3 tradicionalmente é um <strong>object storage</strong>, acessado por API, CLI ou SDK:</p><pre>aws s3 cp s3://meu-bucket/video.mp4 .</pre><p>Ou seja, antes de processar o arquivo, normalmente era necessário fazer algum tipo de movimentação de dados.</p><p>E é exatamente aí que o <strong>Amazon S3 Files</strong> começa a ficar interessante.</p><h3>O laboratório</h3><h3>Objetivo</h3><p>O objetivo do lab foi testar o S3 Files em uma EC2 com Amazon Linux 2023, simulando um cenário simples, mas bem realista:</p><blockquote><em>acessar um arquivo MP4 armazenado no S3 como se fosse um arquivo local e convertê-lo para MP3 usando </em><em>ffmpeg.</em></blockquote><p>Além disso, também testei operações básicas de filesystem:</p><ul><li>criar diretório;</li><li>criar arquivo;</li><li>ler arquivo;</li><li>listar conteúdo;</li><li>deletar arquivo;</li><li>deletar diretório.</li></ul><p>A própria documentação da AWS possui um tutorial de introdução ao S3 Files usando EC2, onde a ideia é justamente criar um S3 file system, montá-lo em uma instância EC2 e testar operações básicas de arquivos.</p><h4>Repositório do Lab</h4><p>Segue o link do <a href="https://github.com/gaioso-blog/lab-s3files"><em>repositório</em></a> para replicar o laboratório e no README do mesmo tem bem detalhado os passos a serem seguidos.</p><h3>Arquitetura do lab</h3><p>A arquitetura ficou assim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zHuDn2q7VVluf_3AHzqgdA.png" /></figure><pre>/mnt/s3files</pre><p>Com isso, os objetos do bucket passaram a ser acessados como arquivos dentro desse diretório.</p><h3>Desafios encontrados durante o lab</h3><p>Nem tudo foi “só rodar e funcionar”, o famoso caminho feliz rsrs.</p><p>Durante o lab, encontrei alguns pontos importantes que também fazem parte do aprendizado.</p><h3>1. ffmpeg não vem instalado no Amazon Linux 2023</h3><p>Ao tentar instalar com:</p><pre>sudo yum install -y ffmpeg</pre><p>ou:</p><pre>sudo dnf install -y ffmpeg</pre><p>o pacote não estava disponível nos repositórios padrão.</p><p>A alternativa usada foi instalar uma versão estática do ffmpeg.</p><p>Primeiro instalei ferramentas auxiliares:</p><pre>sudo dnf install -y wget tar xz</pre><p>Depois baixei o binário:</p><pre>wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz</pre><p>Extraí:</p><pre>sudo tar -xvf ffmpeg-release-amd64-static.tar.xz</pre><p>Copiei para o path do sistema:</p><pre>cd ffmpeg-*-static<br>sudo cp ffmpeg ffprobe /usr/local/bin</pre><p>E validei:</p><pre>ffmpeg -version</pre><p>Esse ponto é interessante porque mostra uma realidade comum em labs e ambientes reais: nem sempre o pacote que você quer estará disponível diretamente na AMI escolhida.</p><h3>Comparando com o fluxo tradicional</h3><p>Sem S3 Files, o fluxo seria algo como:</p><pre>aws s3 cp s3://meu-bucket/world_video.mp4 /tmp/world_video.mp4</pre><pre>ffmpeg -i /tmp/world_video.mp4 -vn /tmp/world_video.mp3<br>aws s3 cp /tmp/world_video.mp3 s3://meu-bucket/world_video.mp3</pre><p>Com S3 Files, o fluxo fica:</p><pre>ffmpeg -i /mnt/s3files/world_video.mp4 -vn /mnt/s3files/world_video.mp3</pre><p>Essa diferença é pequena no comando, mas grande na arquitetura.</p><p>O ganho não está apenas em performance. O principal benefício está em reduzir movimentação de dados, simplificar pipelines e permitir que ferramentas file-based trabalhem diretamente com dados armazenados no S3.</p><h3>Onde esse padrão pode ser útil?</h3><p>Na minha visão e baseado nas docs estudadas esse tipo de abordagem pode fazer sentido em cenários como:</p><ul><li>processamento de mídia</li><li>conversão de arquivos</li><li>pipelines batch</li><li>workloads de machine learning</li><li>data engineering</li><li>ferramentas legadas que esperam filesystem</li><li>scripts Linux que precisam ler e escrever arquivos</li><li>processamento direto em dados de data lake</li></ul><p>Exemplos:</p><pre>ffmpeg -i /mnt/s3files/video.mp4 /mnt/s3files/audio.mp3</pre><pre>python3 process.py /mnt/s3files/input.csv /mnt/s3files/output.parquet</pre><pre>cat /mnt/s3files/logs/app.log</pre><h3>Conclusão</h3><p>O Amazon S3 Files é uma feature interessante porque reduz a distância entre dois mundos:</p><pre>object storage -&gt; filesystem</pre><p>O S3 continua sendo S3, com todos os benefícios de escala, durabilidade e integração com o ecossistema AWS. Mas agora passa a ser possível acessar esses dados usando uma experiência muito mais próxima de um filesystem.</p><p>No lab, consegui testar esse conceito de forma prática usando uma EC2 com Amazon Linux 2023, operações básicas de CRUD e conversão de MP4 para MP3 com ffmpeg.</p><p>O principal aprendizado desse estudo foi:</p><p><em>“ C</em>om o uso do S3 Files eu ao invés de levar o dado até o compute, eu levo o compute até o dado. Sendo assim evitando essa transferência de dados para “n” operações. <em>”</em></p><p>Para workloads baseados em arquivos, scripts Linux, processamento batch e pipelines que hoje precisam copiar dados do S3 para processar, essa feature pode <strong>simplificar bastante</strong> a arquitetura.</p><p>Agradeço quem leu esse blog post até aqui e caso tenham alguma dúvida ou queiram compartilhar algo comigo só me chamar no meu <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso"><em>LinkedIn</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccf5fb67ef5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guia de Estudos para a Certificação
AWS Certified DevOps Engineer — Professional (DOP-C02)]]></title>
            <link>https://joaogaioso.medium.com/guia-de-estudos-para-a-certifica%C3%A7%C3%A3o-aws-certified-devops-engineer-professional-dop-c02-642e3622b432?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/642e3622b432</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-cicd]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Tue, 31 Mar 2026 12:29:17 GMT</pubDate>
            <atom:updated>2026-03-31T13:16:05.271Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jW-Rfp_OnwXDo3JarSk97w.png" /></figure><h4>A certificação AWS Certified DevOps Engineer — Professional (DOP-C02) valida habilidades avançadas em automação, entrega contínua, observabilidade, segurança e operação de workloads distribuídos na AWS.</h4><h4>Abaixo deixarei alguns links de simulados e cursos para preparo que eu utilizei!</h4><h3>Pra quem é essa certificação?</h3><p>Essa certificação é focada em profissionais que trabalham com:</p><ul><li>CI/CD pipelines</li><li>Infraestrutura como código</li><li>Automação operacional</li><li>Observabilidade</li><li>Resposta a incidentes</li><li>Segurança em ambientes cloud</li></ul><p>É considerada uma das certificações mais difíceis da AWS, pois exige experiência <strong>prática </strong>em ambientes produtivos e arquiteturas complexas.</p><h4>Informações básicas sobre o exame</h4><ul><li>Duração: 180 minutos</li><li>Questões: 75 (apenas 60 pontuam)</li></ul><h4>Tipos de questão:</h4><ul><li>Multipla escolha</li><li>Multipla respostas</li><li>Pontuação mínima: 750 / 1000</li></ul><p>O exame avalia sua capacidade de provisionar, operar e gerenciar sistemas distribuídos na AWS utilizando práticas DevOps modernas, inclusive em cenários multi-accounts.</p><h3>Domínios do exame</h3><p>A prova é dividida em 6 domínios:</p><h4>Domain 1 — SDLC Automation (22%)</h4><p>Esse é o domínio mais importante da prova. Ele avalia sua capacidade de automatizar pipelines de desenvolvimento e deploy em ambientes cloud.</p><p>Principais tópicos:</p><ul><li>CI/CD Pipelines</li><li>AWS CodePipeline</li><li>Git workflows</li><li>Pipelines multi-stage</li><li>Approvals manuais</li><li>Integração com testes</li></ul><h4>Build automation</h4><ul><li>AWS CodeBuild</li><li>Builds paralelos</li><li>Caching de dependências</li><li>Builds baseados em container</li></ul><h4>Artifact management</h4><ul><li>Amazon S3</li><li>Amazon ECR</li><li>AWS CodeArtifact</li></ul><h4>Estratégias de deploy</h4><ul><li>Blue/Green</li><li>Canary</li><li>Rolling deployments</li><li>Feature flags</li></ul><h4>Plataformas de deploy</h4><ul><li>EC2</li><li>ECS</li><li>EKS</li><li>Lambda</li></ul><p>💡 O exame frequentemente cobra cenários de deploy seguro com rollback automático.</p><h4>Domain 2 — Configuration Management and Infrastructure as Code (17%)</h4><p>Esse domínio mede sua capacidade de automatizar infraestrutura e gerenciar configurações em larga escala. Principais serviços:</p><h4>Infrastructure as Code</h4><ul><li>AWS CloudFormation</li><li>AWS CDK</li><li>AWS SAM</li></ul><h4>Gerenciamento de configuração</h4><ul><li>AWS Systems Manager</li><li>State Manager</li><li>Patch Manager</li><li>Parameter Store</li><li>AppConfig</li></ul><h4>Multi-account management</h4><ul><li>AWS Organizations</li><li>AWS Control Tower</li><li>CloudFormation StackSets</li></ul><h4>Compliance as Code</h4><ul><li>AWS Config</li><li>AWS Config Rules</li><li>CloudFormation Guard</li></ul><h4>Esse domínio aparece muito em cenários de:</h4><ul><li>Drift detection</li><li>Automação de patch</li><li>Governança multi-account</li></ul><h4>Domain 3 — Resilient Cloud Solutions (15%)</h4><p>Aqui o foco é construir sistemas altamente disponíveis e resilientes.</p><h4>Principais conceitos:</h4><h4>High availability</h4><ul><li>Multi-AZ architectures</li><li>Load balancing</li><li>Health checks</li></ul><h4>Escalabilidade</h4><ul><li>Auto Scaling Groups</li><li>Target tracking policies</li><li>Scheduled scaling</li></ul><h4>Deploy resiliente</h4><ul><li>Canary deployments</li><li>Rolling updates</li><li>Rollback automático</li></ul><h4>Disaster Recovery</h4><ul><li>Cross-region replication</li><li>Backup automation</li><li>DR strategies</li></ul><p>Esse domínio aparece em perguntas do tipo:</p><p>“Qual estratégia permite deploy sem downtime com rollback automático?”<br><strong>R:</strong> Blue/Green Deployment.</p><h4>Domain 4 — Monitoring and Logging (15%)</h4><p>Esse domínio avalia sua capacidade de monitorar aplicações e diagnosticar problemas em produção.</p><h4>Principais serviços:</h4><h4>Observabilidade</h4><ul><li>Amazon CloudWatch</li><li>CloudWatch Logs</li><li>CloudWatch Metrics</li><li>CloudWatch Alarms</li></ul><h4>Logs centralizados</h4><ul><li>Amazon S3</li><li>Amazon OpenSearch</li><li>Kinesis Data Firehose</li><li>Distributed tracing</li><li>AWS X-Ray</li></ul><h4>Métricas customizadas</h4><ul><li>CloudWatch PutMetricData</li><li>Application metrics</li></ul><p>Esse domínio costuma envolver troubleshooting baseado em logs e métricas.</p><h4>Domain 5 — Incident and Event Response (14%)</h4><p>Esse domínio testa sua capacidade de detectar eventos e responder automaticamente a incidentes.</p><h4>Principais serviços:</h4><h4>Event-driven automation</h4><ul><li>Amazon EventBridge</li><li>AWS CloudTrail</li><li>AWS Health</li></ul><h4>Processamento de eventos</h4><ul><li>Amazon SQS</li><li>Amazon SNS</li><li>AWS Lambda</li><li>Step Functions</li></ul><h4>Remediação automática</h4><ul><li>AWS Systems Manager Automation</li><li>OpsCenter</li><li>Incident Manager</li></ul><p>O exame frequentemente apresenta cenários de detecção automática de eventos e correção automática da infraestrutura.</p><h4>Domain 6 — Security and Compliance (17%)</h4><p>Segurança tem grande peso na prova.</p><h4>Principais tópicos:</h4><h4>IAM avançado</h4><ul><li>IAM Roles</li><li>AssumeRole</li><li>PassRole</li><li>ABAC</li><li>SCPs</li></ul><h4>Segurança em pipelines</h4><ul><li>Secrets Manager</li><li>Parameter Store</li><li>Encryption de artifacts</li></ul><h4>Monitoramento de segurança</h4><ul><li>AWS Security Hub</li><li>GuardDuty</li><li>CloudTrail</li></ul><h4>Compliance</h4><ul><li>AWS Config</li><li>Auditoria automática</li><li>Alertas de conformidade</li></ul><h3>Serviços AWS mais importantes para o exame</h3><h4>CI/CD</h4><ul><li>AWS CodePipeline</li><li>AWS CodeBuild</li><li>AWS CodeDeploy</li><li>AWS CodeCommit</li></ul><h4>Infraestrutura</h4><ul><li>AWS CloudFormation</li><li>AWS CDK</li><li>AWS Systems Manager</li></ul><h4>Observabilidade</h4><ul><li>AWS CloudWatch</li><li>AWS X-Ray</li></ul><h4>Event-driven</h4><ul><li>AWS EventBridge</li><li>AWS SQS</li><li>AWS SNS</li><li>AWS Lambda</li></ul><h4>Segurança</h4><ul><li>AWS IAM</li><li>AWS Secrets Manager</li><li>AWS Security Hub</li></ul><h4>Governança e Gerenciamento</h4><ul><li>AWS Organizations</li><li>AWS Control Tower</li><li>AWS Config</li><li>AWS CloudTrail</li></ul><h3>Exemplos de Questões</h3><h4>Questão 1</h4><p>A security review has identified that an AWS CodeBuild project is downloading a database population script from an Amazon S3 bucket using an unauthenticated request. The security team does not allow unauthenticated requests to S3 buckets for this project. How can this issue be corrected in the <strong>MOST</strong> secure manner?</p><p><strong>A) </strong>Add the bucket name to the AllowedBuckets section of the CodeBuild project settings. Update the build spec to use the AWS CLI to download the database population script.</p><p><strong>B) </strong>Modify the S3 bucket settings to enable HTTPS basic authentication and specify a token. Update the build spec to use cURL to pass the token and download the database population script.</p><p><strong>C) </strong>Remove unauthenticated access from the S3 bucket with a bucket policy. Modify the service role for the CodeBuild project to include Amazon S3 access. Use the AWS CLI to download the database population script.</p><p><strong>D) </strong>Remove unauthenticated access from the S3 bucket with a bucket policy. Use the AWS CLI to download the database population script using an IAM access key and a secret access key.</p><h4>Correta: Letra C</h4><h4>Explicação: A alternativa C é a mais correta porque remove o acesso não autenticado ao bucket S3, garantindo que apenas entidades autorizadas possam acessá-lo. Além disso, utiliza uma IAM Role associada ao CodeBuild para conceder permissões de acesso ao S3, seguindo o princípio de menor privilégio e evitando o uso de credenciais estáticas. O uso da AWS CLI permite que o acesso seja feito de forma segura utilizando as credenciais temporárias da role</h4><h4>Questão 2</h4><p>A company is divided into teams, each with its own AWS account within an AWS Organizations organization. Each team requires full administrative rights within their AWS account, but they should only be allowed to access AWS services that have been approved by the company through a request and approval process. How should a DevOps engineer configure these accounts to meet these requirements?</p><p><strong>A) </strong>Use AWS CloudFormation StackSets to provision IAM policies in each account to deny access to restricted AWS services. In each account, configure AWS Config rules that ensure that the policies are attached to IAM principals in the account.</p><p><strong>B) </strong>Use AWS Control Tower to provision the accounts into OUs within the organization. Configure AWS Control Tower to enable AWS IAM Identity Center. Configure IAM Identity Center to provide administrative access. Include deny policies on user roles for restricted AWS services.</p><p><strong>C) </strong>Place all the accounts under a new top-level OU within the organization. Create an SCP that denies access to restricted AWS services. Attach the SCP to the OU.</p><p><strong>D) </strong>Create an SCP that allows access to only approved AWS services. Attach the SCP to the root OU of the organization. Remove the FullAWSAccess SCP from the root OU of the organization.</p><h4>Correta: Letra D</h4><h4>Explicação: A alternativa D é a mais adequada porque utiliza uma Service Control Policy (SCP) para permitir apenas o uso de serviços aprovados, garantindo controle centralizado em toda a organização. Ao anexar a SCP na root OU, a restrição é aplicada a todas as contas. A remoção da política padrão FullAWSAccess é necessária para que apenas os serviços explicitamente permitidos possam ser utilizados. Essa abordagem segue as melhores práticas de governança na AWS, utilizando o princípio de allow list para maior segurança e controle.</h4><h4>Questão 3:</h4><p>A company utilizes a series of individual Amazon CloudFormation templates for deploying its multi-Region applications. These templates require deployment in a specific order. The company is experiencing increased template modifications and seeks a more efficient deployment process. Furthermore, the data engineering team must receive notifications regarding all template changes. What approach should the company take to achieve these objectives?</p><p><strong>A) </strong>Create an AWS Lambda function to deploy the CloudFormation templates in the required order. Use stack policies to alert the data engineering team.</p><p><strong>B) </strong>Host the CloudFormation templates in Amazon S3. Use Amazon S3 events to directly trigger CloudFormation updates and Amazon SNS notifications.</p><p><strong>C) </strong>Implement CloudFormation StackSets and use drift detection to trigger update alerts to the data engineering team.</p><p><strong>D) </strong>Leverage CloudFormation nested stacks and StackSets for deployments. Use Amazon SNS to notify the data engineering team.</p><h4>Correta: Letra D</h4><h4>Explicação: A alternativa D é a mais adequada porque utiliza nested stacks para organizar e garantir a ordem de implantação dos recursos, facilitando a manutenção e modularização dos templates. O uso de StackSets permite realizar deploys de forma centralizada em múltiplas regiões e contas, aumentando a eficiência operacional. Além disso, o Amazon SNS é utilizado para enviar notificações sobre alterações nos templates, atendendo ao requisito de visibilidade para a equipe de engenharia de dados.</h4><h4>Questão 4</h4><p>A company has a suite of applications that uses the MERN stack for the presentation tier and NGINX for the web tier. AWS CodeDeploy will be used to automate its application deployments. The DevOps team created a deployment group for their TEST environment and performed functional tests within the application. The team will set additional deployment groups for STAGING and PROD environments later on. The current log level is configured within the NGINX settings, but the team wants to change this configuration dynamically when the deployments occur. This will enable them to set different log level configurations depending on the deployment group without having a different application revision for each group.</p><p><strong>Which among the options below provides the LEAST management overhead and does not require different script versions for each deployment group?</strong></p><p>A) Set up a custom environment variable in CodeDeploy for each environment with a value of TEST, STAGING or PROD. Attach a shell script in the application revision that will read the custom variable and determine which deployment group the Amazon EC2 instance is associated with. In the appspec.yml config file, add a reference to this script as part of the ValidateService lifecycle hook. Configure the log level settings of the instance based on the result of the script.</p><p>B) Use the AWS Resource Groups Tag Editor to add a tag on each EC2 instance based on its deployment group. Attach a shell script in the application revision that will fetch the instance tag using the aws ec2 describe-tags CLI command to determine which deployment group the Amazon EC2 instance is associated with. In the appspec.yml config file, add a reference to this script as part of the ValidateService lifecycle hook. Configure the log level settings of the instance based on the result of the script.</p><p>C) Develop a custom shell script that uses the DEPLOYMENT_GROUP_NAME environment variable in CodeDeploy to identify which deployment group the Amazon EC2 instance is associated with. In the appspec.yml config file, add a reference to this script as part of the BeforeInstall lifecycle hook. Configure the log level settings of the instance based on the result of the script.</p><p>D) Develop a custom shell script that uses the DEPLOYMENT_GROUP_ID environment variable in CodeDeploy to identify which deployment group the Amazon EC2 instance is associated with. In the appspec.yml config file, add a reference to this script as part of the ApplicationStart lifecycle hook. Configure the log level settings of the instance based on the result of the script.</p><h4>Correta: Letra C</h4><p><strong>Explicação: A alternativa correta utiliza a variável de ambiente DEPLOYMENT_GROUP_NAME fornecida automaticamente pelo AWS CodeDeploy para identificar o grupo de deployment em tempo de execução. Isso permite ajustar dinamicamente as configurações, como o nível de log do NGINX, sem a necessidade de múltiplas versões de scripts ou aplicações. Além disso, reduz o overhead operacional ao evitar configurações externas ou chamadas adicionais à API, sendo a abordagem mais simples e eficiente</strong></p><h4>Questão 5</h4><p>A multinational company is using multiple AWS accounts for its global cloud architecture. The AWS resources in their production account are shared among various business units of the company. A single business unit may have one or more AWS accounts that have resources in the production account. Recently, there were a lot of incidents in which the developers from a specific business unit accidentally terminated the Amazon EC2 instances owned by another business unit. A DevOps Engineer was tasked to come up with a solution to only allow a specific business unit who owns the EC2 instances and other AWS resources to terminate their own resources.</p><p><strong>How should the Engineer implement a multi-account strategy to satisfy this requirement?</strong></p><p>A) Centrally manage all of your accounts using AWS Organizations. Group your accounts, which belong to a specific business unit, to the individual Organization Unit (OU). Set up an IAM Role in the production account for each business unit which has a policy that allows access to the Amazon EC2 instances including resource-level permission to terminate the instances that it owns. Use an AWSServiceRoleForOrganizations service-linked role to the individual member accounts of the OU to enable trusted access.</p><p>B) Centrally manage all of your accounts using AWS Organizations. Group your accounts, which belong to a specific business unit, to individual Organization Units (OU). Set up an IAM Role in the production account which has a policy that allows access to the EC2 instances including resource-level permission to terminate the instances owned by a particular business unit. Associate the cross-account access and the IAM policy to every member accounts of the OU.</p><p>C) Centrally manage all of your accounts using a multi-account aggregator in AWS Config and AWS Control Tower. Configure AWS Config to allow access to certain Amazon EC2 instances in production per business unit. Launch the Customizations for AWS Control Tower (CfCT) in the different account where your AWS Control Tower landing zone is deployed. Configure the CfCT to only allow a specific business unit that owns the EC2 instances and other AWS resources to terminate their own resources.</p><p>D) Centrally manage all of your accounts using AWS Service Catalog. Group your accounts, which belong to a specific business unit, to the individual Organization Unit (OU). Set up a Service Control Policy in the production account which has a policy that allows access to the EC2 instances including resource-level permission to terminate the instances owned by a particular business unit. Associate the cross-account access and the SCP to the OUs, which will then be automatically inherited by its member accounts.</p><h4>Correta: Letra B</h4><p><strong>Explicação: A alternativa correta utiliza AWS Organizations para organizar as contas por unidade de negócio e implementa uma IAM Role na conta de produção com permissões em nível de recurso, utilizando condições baseadas em tags para restringir ações como a terminação de instâncias apenas aos recursos pertencentes à respectiva unidade. O acesso é realizado via cross-account, garantindo controle centralizado e seguro. Essa abordagem permite granularidade no controle de acesso, o que não seria possível utilizando apenas Service Control Policies (SCPs), que não suportam restrições detalhadas por recurso.</strong></p><h3>Indicações de Estudo</h3><ul><li><a href="https://portal.tutorialsdojo.com/courses/aws-certified-devops-engineer-professional-practice-exams/ref/G33713">Simulado Jon Bonso</a></li><li><a href="https://www.udemy.com/course/aws-certified-devops-engineer-professional-hands-on/">Curso Stephane Mareek Udemy</a></li><li><a href="https://www.youtube.com/watch?v=lvBgoWzDDgg">Simulado em Video Gratuito Algoholic</a></li><li><a href="https://docs.aws.amazon.com/aws-certification/latest/devops-engineer-professional-02/devops-engineer-professional-02.html">Guia do Exame Oficial AWS</a></li><li><a href="https://skillbuilder.aws/learn/KE7KPXG5TV/official-practice-question-set-aws-certified-devops-engineer--professional-dopc02--english/B1S6SB2JP6">Skill Builder Simulado</a></li></ul><h3>Minha opnião</h3><p>A certificação AWS DevOps Engineer — Professional é uma prova bem cansativa, realmente é uma prova que quer testar seu conhecimento prático e de troubleshootings já realizados, até mesmo de ideias que surgiram em discovery’s, ela valida sua habilidade de sair do outro lado em cenários complexas e de arquiteturas distribuídas, multi-account, multi-region etc. Um ponto importantíssimo esteja seguro tanto técnicamente (faça muitos labs, explore os cenários que encontra nas questões, desenhe os fluxos) e teoricamente também, acho que até hoje das provas que já fiz da AWS, ela e a SAA-PRO são as mais exigentes de experiência mão na massa comprovadas. Saiba adminstrar seu tempo durante a prova e caso não tenha um bom conhecimento em inglês explore no paralelo.</p><p>Qualquer dúvida e caso queiram trocar uma idéia só me chamar no <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso">LinkedIn</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=642e3622b432" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guia de Estudos Para a Certificação Security Specialty (SCS-C03)]]></title>
            <link>https://joaogaioso.medium.com/guia-de-estudos-para-a-certifica%C3%A7%C3%A3o-security-specialty-scs-c03-25789db905a6?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/25789db905a6</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws-security]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-certified-security]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 18:23:22 GMT</pubDate>
            <atom:updated>2026-02-05T05:03:24.413Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayOcgj_6iVrIG9aeXWb_7Q.png" /></figure><p>Se você está se preparando para a certificação Security Specialty da AWS, eu montei esse guia de estudos para te orientar e apoiar na sua jornada para realização da mesma.</p><p>Essa é uma certificação nível Specialty da AWS, ideal para quem já tem experiência com segurança em ambientes AWS e quer se destacar no mercado como especialista.</p><h3>Para quem é essa certificação?</h3><p>A Security Specialty é voltada para profissionais que:</p><ul><li>Trabalham ou desejam trabalhar com segurança em nuvem AWS;</li><li>Precisam projetar, implementar e gerenciar controles de segurança;</li><li>São responsáveis por proteger dados, aplicações e arquiteturas AWS complexas;</li><li>Desejam aprofundar conhecimento em segurança além do nível Associate.</li></ul><h3>Pré-requisitos recomendados:</h3><ul><li>Experiência prática sólida com AWS (recomenda-se 2+ anos em ambientes reais);</li><li>Experiência em TI e segurança da informação.</li></ul><h3>Estrutura do exame SCS-C03</h3><p>O exame SCS-C03 é organizado em 6 domínios de conhecimento, cada um com uma proporção de questões que contribuem para sua nota final.</p><p>Domain 1 — Detection 16%<br>Domain 2 — Incident Response 14%<br>Domain 3 — Infrastructure Security 18%<br>Domain 4 — Identity &amp; Access Management 20%<br>Domain 5 — Data Protection 18%<br>Domain 6 — Security Foundations &amp; Governance 14%</p><h3><strong>O que cada domínio aborda?</strong></h3><h4>1) Detection: Foco em visibilidade e monitoramento de ambiente — coletar logs, métricas e eventos para detectar atividades suspeitas ou anômalas. Você deve entender como configurar e usar:</h4><ul><li>Amazon CloudWatch Logs &amp; Metrics</li><li>AWS CloudTrail</li><li>Amazon GuardDuty, AWS Config, AWS Security Hub</li></ul><p>Integração de logs com soluções SIEM e ferramentas de terceiros.</p><h4>2) Incident Response: Esse domínio testa sua habilidade em investigar e responder a incidentes de segurança, incluindo:</h4><ul><li>Processo de resposta a incidentes e playbooks;</li><li>Analisar eventos de segurança;</li><li>Isolar recursos comprometidos;</li><li>Contenção, erradicação e recuperação.</li></ul><p>Aqui o <strong>AWS Config, GuardDuty, CloudTrail</strong> e análise de logs são fundamentais.</p><h4>3) Infrastructure Security: Focado em projetar e proteger infraestruturas AWS, incluindo:</h4><ul><li>Proteção de redes (VPC, subnets, NACLs, Security Groups);</li><li>Bastion Hosts e controles de acesso a instâncias;</li><li>AWS WAF, AWS Shield;</li><li>Proteção de endpoints públicos e privados.</li></ul><p>Garantir que a infraestrutura esteja segura por design é o ponto chave deste domínio.</p><h4>4) Identity &amp; Access Management: Um dos maiores domínios (20%), pois IAM é parte crítica da segurança. Aqui você deve dominar:</h4><ul><li>AWS IAM (políticas, roles, permission boundaries);</li><li>AWS Organizations e governança multi-conta;</li><li>Autenticação federada e SSO;</li><li>Princípios de mínimo privilégio e revisão de políticas.</li></ul><p>Entender controle de identidade e acesso seguro é essencial.</p><h4>5) Data Protection: Como proteger dados em repouso e em trânsito, usando:</h4><ul><li>Criptografia com AWS KMS (chaves gerenciadas e customizadas);</li><li>Criptografia em serviços como S3, EBS, RDS;</li><li>Gerenciamento de certificados com AWS Certificate Manager;</li><li>Segurança de backup e ciclo de vida;</li></ul><p>Esse domínio também aborda classificação de dados e requisitos de conformidade.</p><h4>6) Security Foundations &amp; Governance:</h4><ul><li>Menos técnico mas igualmente crucial — esse domínio abrange:</li><li>Governança de segurança em escala</li><li>Organizações AWS e SCPs</li><li>Compliance e frameworks de segurança</li><li>Monitoramento de conformidade com AWS Config Rules</li><li>Boas práticas para operar um ambiente seguro na AWS</li></ul><p>Entender como organizar e governar grandes contas AWS é um requisito.</p><h3>Formato da prova</h3><p>O exame geralmente inclui:</p><blockquote>Questões de múltipla escolha e múltipla resposta<br>Duração 170 minutos<br>Idiomas: inglês, japonês, português e outros<br>Pontuação mínima de aprovação 750 pontos<br>65 perguntas, sendo que 15 não pontuadas.</blockquote><h3>Serviços AWS que você deve conhecer</h3><p>Você não precisa decorar todos, mas deve saber como usar e configurar:</p><ul><li>IAM, SSO, Organizations</li><li>CloudTrail, CloudWatch</li><li>GuardDuty, Security Hub, AWS Config</li><li>Shield, WAF, Firewall Manager</li><li>KMS, ACM</li><li>Proteção de armazenamento: S3, EFS</li><li>Redes: VPC, Security Groups, NACLs</li></ul><h3>Minha Experiência</h3><p>Me deparei muito com questões relacionadas a Organizations, cenários de resolução de troubleshooting de incidentes de segurança, utilização do KMS tanto em pontos de liberação de permissão pra consumo do mesmo quanto especifidades do tipo de chaves, material da chave etc, configurações de Security Hub e GuardDuty.</p><h3>Dicas de preparo (prática e estratégia)</h3><ul><li>Hands-on é obrigatório (na minha opnião rs), extraia o máximo do Console AWS</li><li>Use simulados atualizados e confiáveis.</li><li>Crie ambientes de teste (VPCs, roles IAM, políticas)</li><li>Pratique resposta a incidentes com logs do CloudTrail</li><li>Estude casos reais de uso de Criptografia, IAM e Governança</li></ul><h3>Questões de Exemplo</h3><blockquote><strong>Questão 1 — Federation: Active Directory com AWS</strong></blockquote><blockquote>A company has hundreds of Amazon VPCs and AWS accounts that are connected to their on-premises data center via the AWS Transit Gateway. The Chief Information Security Officer (CISO) wants to leverage their existing on-premises Active Directory as an identity provider to allow their employees to access AWS resources.</blockquote><blockquote>Which combination of options should be done to federate the company’s on-premises Active Directory with AWS? (Select TWO.)</blockquote><blockquote>Configure the on-premises Active Directory Federation Services (ADFS) to add a relying party trust between Active Directory and AWS. ✅</blockquote><blockquote>Set up IAM roles with permissions corresponding to each Active Directory group. Use the AssumeRoleWithSAML in STS to generate the temporary credentials. ✅</blockquote><blockquote>Launch a new Amazon Cognito Identity Pool and add a relying party trust between the on-premises Active Directory and AWS.</blockquote><blockquote>Use AWS Resource Access Manager to establish a relying party trust between the on-premises Active Directory and AWS.</blockquote><blockquote>Set up IAM groups with permissions corresponding to each Active Directory group. Use STS to generate the temporary credentials.</blockquote><blockquote>Questão 2 — Amazon GuardDuty (Master / Member Accounts)</blockquote><blockquote>A Security Administrator is managing hundreds of AWS accounts. She has invited the other accounts to enable GuardDuty and be associated with their central AWS account, which acts as the master GuardDuty account. The ones that accept the invitation will become a member account associated with the master account. With this configuration, the Administrator can centrally view and manage the GuardDuty findings on behalf of the member account.</blockquote><blockquote>What are the other considerations that the Administrator should know of when using GuardDuty? (Select THREE.)</blockquote><blockquote>Users from a member account can’t generate sample findings in their own member account but can generate sample findings in the master or other member accounts.</blockquote><blockquote>Users from a member account can’t archive findings either in their own account or in their master’s account, or in other member accounts. ✅</blockquote><blockquote>Users from a master account can’t generate sample findings in their own account but can generate sample findings in members’ accounts.</blockquote><blockquote>Users from a member account can’t upload and further manage trusted IP lists and threat lists. ✅</blockquote><blockquote>Users from a master account can’t archive findings in their own accounts and in all member accounts.</blockquote><blockquote>Users from a master account can upload and further manage trusted IP lists and threat lists in their own account. ✅</blockquote><blockquote>Questão 3 — AWS KMS + CloudTrail (Otimização de Logs)</blockquote><blockquote>An organization is heavily using AWS KMS to encrypt the data of its application. A Security Engineer has been instructed to analyze suspicious KMS API events but is overwhelmed by the volume of audit logs being produced in AWS CloudTrail. Certain AWS KMS actions such as Encrypt, Decrypt, and GenerateDataKey typically generate more than 99% of the events. The Engineer is only tracking certain events such as Disable, Delete, and ScheduleKey actions.</blockquote><blockquote>Which of the following is the MOST efficient solution that will allow the Engineer to track and search through the audit logs?</blockquote><blockquote>Set up Amazon S3 event notifications to track all Disable, Delete, and ScheduleKey actions in AWS KMS.</blockquote><blockquote>In the AWS CloudTrail console, create a new trail and select a separate S3 bucket to receive the audit log files. Set the trail to record read-only management events in the bucket.</blockquote><blockquote>Create a trail in AWS CloudTrail and choose a separate S3 bucket to receive the audit log files. Configure the trail to record write-only management events in the bucket. ✅</blockquote><blockquote>Enable Amazon Macie in the S3 bucket that contains the CloudTrail audit logs to classify and filter all relevant KMS API actions.</blockquote><blockquote>Questão 4 — GuardDuty e Supressão de Falsos Positivos</blockquote><blockquote>A company is using Amazon GuardDuty to continuously monitor its AWS resources for malicious activity, unauthorized port scanning, and other security vulnerabilities. Whenever there are pre-approved port scanning activities from specific Amazon EC2 instances owned by the IT Security team, the Operations team still receives GuardDuty events via Amazon EventBridge. There is a new requirement to suppress alerts on these authorized security tests to prevent false positives. The Security team must ensure that the alerts are still sent for any unauthorized activity in AWS.</blockquote><blockquote>Which of the following is the MOST suitable solution for this scenario?</blockquote><blockquote>Use the GuardDutyExcluded tag to prevent GuardDuty from generating alerts for pre-approved port scanning activities.</blockquote><blockquote>Attach Elastic IP addresses to the EC2 instances and then add these addresses to the Trusted IP list in GuardDuty. ✅</blockquote><blockquote>Exclude and filter out the IP addresses of the pre-approved EC2 instances owned by the Security team in AWS CloudTrail.</blockquote><blockquote>Install the Amazon Inspector agent on the EC2 instances that execute the pre-approved port scanning activities. Configure Inspector to exclude the pre-approved port scanning activities from these instances.</blockquote><blockquote>Questão 5 — Lambda + Parameter Store (SecureString)</blockquote><blockquote>You have created a Lambda function that requires access to an RDS MySQL database. You did not store the database password inside your function code, but instead, you stored it as a “SecureString” type parameter on AWS Systems Manager Parameter Store. You’ve also added the ssm:GetParameter permission on the IAM execution role of your function to enable the retrieval of the database password. Upon testing, your API does not function properly, and you suspected that the database password is not retrieved when the function runs.</blockquote><blockquote>Which of the following is the possible reason for this?</blockquote><blockquote>The Lambda function execution role needs the ssm:DecryptParameter permission to retrieve and decrypt the password stored on Parameter Store.</blockquote><blockquote>Your Lambda function is not associated with the VPC where the RDS instance is hosted. Instead, you should use a Lambda Environment Variable configured with the default settings for easier retrieval of credentials.</blockquote><blockquote>The Lambda function execution role needs the secretsmanager:GetSecretValue in order to retrieve encrypted values of “SecureString” stored on Parameter Store.</blockquote><blockquote>The Lambda function execution role needs the kms:Decrypt permission to decrypt the password stored on the Parameter Store. ✅</blockquote><p>OBS: Logo faço outro post explicando as questões passadas. Deixo o link nos comentários</p><h3>Conclusão</h3><p>A AWS Security Specialty — SCS-C03 é uma certificação desafiadora, mas extremamente valiosa para profissionais especializados em segurança cloud. Ela valida não só conhecimento teórico, mas habilidade prática em proteger ambientes complexos na AWS.</p><p>Se você está comprometido com segurança na AWS (que na minha opnião é essencial em “n” cenários), esse exame ajuda a consolidar e destacar sua expertise.</p><p>Esse post fiz baseado na minha experiência com a certificação, estudos e baseado no <a href="https://d1.awsstatic.com/onedam/marketing-channels/website/aws/pt_BR/certification/approved/pdfs/docs-security-spec/AWS-Certified-Security-Specialty_Exam-Guide-03.pdf">guia do exame oficial da AWS</a>. Recomendo MUITO os <a href="https://portal.tutorialsdojo.com/courses/aws-certified-security-specialty-practice-exams-scs-c03/ref/G33713">simulados do Jon Bonso</a> (vale cada centavo investido), são acima do nível da prova e possuem explicações muito boas!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25789db905a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Lambda: Computação Serverless na Prática]]></title>
            <link>https://joaogaioso.medium.com/aws-lambda-computa%C3%A7%C3%A3o-serverless-na-pr%C3%A1tica-e9dfb34fcc90?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9dfb34fcc90</guid>
            <category><![CDATA[aws-lambda-functions]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Mon, 19 Jan 2026 20:41:33 GMT</pubDate>
            <atom:updated>2026-01-19T20:49:27.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*oKvwcwDoFbowGLxQiutvag.png" /></figure><p>A computação serverless mudou completamente a forma como construímos aplicações na nuvem. Em vez de gerenciar servidores, clusters ou capacidade fixa, passamos a focar exclusivamente no código e na lógica de negócio.</p><p>Neste artigo, vou mostrar o que é o AWS Lambda, por que ele é tão importante, quando usar, casos de uso reais, boas práticas de arquitetura, segurança, performance e decisões críticas para ambientes produtivos.</p><p>Todo o conteúdo é baseado na <a href="https://docs.aws.amazon.com/pt_br/lambda/latest/dg/welcome.html">documentação oficial da AWS</a>, experiência prática em projetos reais.</p><h3>O que é o AWS Lambda?</h3><p>O AWS Lambda é um serviço de computação serverless orientado a eventos, que permite executar código sem provisionar ou gerenciar servidores.</p><p>Com o Lambda, você apenas:</p><ul><li>escreve o código</li><li>define o evento de disparo (trigger)</li><li>configura permissões e parâmetros básicos</li></ul><p>A AWS cuida automaticamente de:</p><ul><li>provisionamento de infraestrutura</li><li>escalabilidade</li><li>alta disponibilidade</li><li>execução</li><li>isolamento do ambiente</li></ul><h3>Principais características</h3><p><strong>Event-driven:</strong> executa código em resposta a eventos</p><p><strong>Escala automática:</strong> de zero a milhares de execuções simultâneas</p><p><strong>Cobrança por uso:</strong> paga apenas pelo tempo de execução</p><p><strong>Integração nativa</strong> com serviços AWS</p><p><strong>Alta disponibilidade</strong> por padrão</p><h3>Por que o AWS Lambda é tão importante?</h3><p>Em arquiteturas modernas, workloads são dinâmicos, distribuídos e imprevisíveis. O Lambda resolve exatamente esse problema.</p><p>Sem uma abordagem serverless, é comum encontrar:</p><ul><li>servidores ociosos</li><li>escalabilidade manual</li><li>alto custo operacional</li><li>baixa elasticidade</li></ul><p>O Lambda elimina tudo isso ao permitir que o código <strong>escale sob demanda</strong>, automaticamente, com <strong>custo proporcional ao uso real</strong>.</p><h3>Impactos práticos</h3><blockquote>Redução drástica de custos em workloads intermitentes</blockquote><blockquote>Menor time-to-market</blockquote><blockquote>Menos preocupações operacionais</blockquote><blockquote>Ideal para arquiteturas cloud-native, event-driven e microsserviços</blockquote><h3>Como o AWS Lambda funciona por dentro?</h3><p>Internamente, o Lambda executa seu código em ambientes isolados baseados em contêineres, gerenciados pela AWS.</p><ul><li>Lifecycle do AWS Lambda (em produção)</li><li>Toda função Lambda segue este ciclo:</li><li>Init → Invoke → Freeze → Reuse → Terminate</li></ul><h4>Cold Start</h4><p>Ocorre quando:</p><ul><li>a função é invocada pela primeira vez</li><li>não existem ambientes disponíveis</li></ul><p><strong>Nesse caso, a AWS:</strong></p><ul><li>cria o ambiente</li><li>carrega o runtime</li><li>executa o código de inicialização</li></ul><p>Isso adiciona latência à primeira execução.</p><h4>Warm Start</h4><p>Quando o ambiente já está ativo:</p><ul><li>o código é executado quase imediatamente</li><li>latência significativamente menor</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*LZl0iUfqMwskg3iApC8OsQ.png" /></figure><h3>Recursos e escalabilidade</h3><ul><li>Cada invocação é isolada</li><li>A memória define proporcionalmente CPU e throughput de rede</li><li>Escalonamento horizontal automático</li><li>Concorrência controlável por função ou conta</li></ul><blockquote>Lambda não é “mágica”: é uma unidade de computação distribuída com modelo próprio de escalabilidade e falha.</blockquote><h3>Casos de uso reais do AWS Lambda</h3><h4>APIs Serverless</h4><p>Lambda + API Gateway permitem criar APIs REST ou HTTP sem servidores.</p><h4>Processamento de arquivos</h4><p>Exemplo clássico:</p><p>upload no S3 → Lambda valida, transforma ou processa arquivos</p><h4>Processamento assíncrono</h4><p>Integração nativa com:</p><ul><li>SQS</li><li>SNS</li><li>EventBridge</li><li>DynamoDB Streams</li></ul><h4>Automação e jobs</h4><p>Substitui:</p><ul><li>cron jobs</li><li>scripts operacionais</li><li>integrações pontuais</li></ul><h3>Boas práticas de arquitetura com AWS Lambda</h3><h4>Código fora do handler</h4><p>Inicializações pesadas devem ficar fora do <strong>handler </strong>para reaproveitamento em warm starts.</p><h4>Uso de Lambda Layers</h4><p>Ideal para:</p><ul><li>bibliotecas compartilhadas</li><li>SDKs</li><li>código comum</li></ul><h4>Princípio do menor privilégio (IAM)</h4><p>Cada Lambda deve ter apenas as permissões estritamente necessárias.</p><h4>Observabilidade</h4><p>Utilize:</p><ul><li>CloudWatch Logs</li><li>métricas customizadas</li><li>logs estruturados</li><li>alarmes para erros, throttles e latência</li></ul><h4>Tratamento de erros e retries</h4><ul><li>controle adequado de timeout</li><li>backoff exponencial</li><li>DLQs quando aplicável</li></ul><h3>Performance e otimizações avançadas</h3><h4>Memória influencia CPU</h4><p>Mais memória = mais CPU e rede.<br>Ajustar memória é uma das principais formas de otimizar performance.</p><h4>ARM64</h4><p>Arquitetura ARM costuma oferecer:</p><ul><li>menor custo</li><li>melhor performance em muitos workloads</li></ul><h4>Concorrência</h4><p><strong>Reserved Concurrency</strong> protege funções críticas</p><p><strong>Provisioned Concurrency</strong> elimina cold starts para workloads sensíveis à latência</p><h4>Versionamento e Aliases</h4><p>Permite:</p><ul><li>deploys seguros</li><li>canary releases</li><li>rollback rápido</li></ul><h3>Segurança no AWS Lambda</h3><ul><li>IAM Roles por função</li><li>Secrets Manager ou Parameter Store para segredos</li><li>Criptografia em trânsito e em repouso</li><li>Integração com VPC apenas quando necessário</li></ul><h3>Conclusão</h3><p>O AWS Lambda é um dos serviços mais importantes e utilizados da AWS para arquiteturas modernas. Ele permite construir aplicações:</p><ul><li>altamente escaláveis</li><li>resilientes</li><li>orientadas a eventos</li><li>com custo eficiente</li></ul><p>Quando <strong>bem utilizado</strong>, o Lambda deixa de ser apenas “uma função” e passa a ser um pilar central de arquiteturas cloud-native em produção.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*qIm3vgQFE-bhwdFmGUab4A.png" /></figure><p>Obrigado por ler até aqui.<br>Se tiver dúvidas ou quiser trocar ideias, me procure no <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9dfb34fcc90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Step Functions: Orquestração Serverless na Prática]]></title>
            <link>https://joaogaioso.medium.com/aws-step-functions-orquestra%C3%A7%C3%A3o-serverless-na-pr%C3%A1tica-097013cc6754?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/097013cc6754</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-step-functions]]></category>
            <category><![CDATA[aws-serverless-services]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[orchestration]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 15:16:44 GMT</pubDate>
            <atom:updated>2026-01-05T01:49:31.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lw6Los6HnBy9CtUEFYlRjA.png" /></figure><p>Neste artigo, vou te mostrar <strong>o que é o Step Functions</strong>, <strong>por que ele é tão valioso</strong>, <strong>quando usar</strong>, <strong>boas práticas</strong> e <strong>exemplos reais de arquitetura</strong>, com base na <strong>documentação oficial da AWS</strong> e em experiências de projetos reais</p><h3>O que é o AWS Step Functions?</h3><p>O AWS Step Functions é um serviço serverless de orquestração, utilizado para coordenar múltiplos serviços da AWS (como Lambda, ECS, Glue, DynamoDB, SNS, SQS, APIs HTTP, entre outros) através de máquinas de estado que chamamos de “State Machines”.</p><p>Essas máquinas de estado permitem definir:</p><ul><li>Fluxos sequenciais</li><li>Processos paralelos</li><li>Condições (if/else)</li><li>Retentativas automáticas</li><li>Tratamento de falhas</li><li>Timeouts e compensações</li></ul><p>Tudo isso usando Amazon States Language (ASL), um JSON declarativo.</p><h3>Por que o Step Functions é tão importante?</h3><p>Quando falamos em arquiteturas modernas, fluxos distribuídos são inevitáveis. Sem uma camada de orquestração, acabamos com:</p><ul><li>Lambdas altamente acopladas</li><li>Lógica de retry espalhada no código</li><li>Dificuldade de observabilidade</li><li>Debug complexo</li><li>Baixa resiliência</li></ul><p>O Step Functions resolve isso <strong>fora do código</strong>, no nível da arquitetura.</p><h3>Principais Benefícios do AWS Step Functions</h3><h4>1. Orquestração Visual e Declarativa</h4><p>Você consegue visualizar todo o fluxo no console da AWS, com cada etapa claramente definida. Isso facilita:</p><ul><li>Entendimento da arquitetura</li><li>Debug de falhas</li><li>Onboarding de novos desenvolvedores</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/0*7OMBq0BNs4A0bGUs.png" /></figure><h4>2. Menos Código, Mais Arquitetura</h4><p>Ao invés de escrever lógica complexa de controle dentro da Lambda, você delega isso para o Step Functions:</p><ul><li>Retry</li><li>Catch</li><li>Timeout</li><li>Fallback</li><li>Branching</li></ul><p>Código mais simples, limpo e focado em negócio.</p><h4>3. Tratamento de Erros Nativo</h4><p>O Step Functions possui suporte nativo a:</p><ul><li>Retry com backoff exponencial</li><li>Catch para fluxos alternativos</li><li>Dead-letter patterns</li><li>Fail states</li></ul><p>Isso aumenta drasticamente a resiliência da aplicação.</p><h4>4. Observabilidade e Auditoria</h4><p>Cada execução gera um execution history completo, permitindo:</p><ul><li>Ver exatamente onde falhou</li><li>Quanto tempo cada etapa levou</li><li>Inputs e outputs por estado</li></ul><p>Perfeito para:</p><ul><li>Ambientes regulados</li><li>Auditoria</li><li>Troubleshooting avançado</li></ul><h4>5. Integração Nativa com Serviços AWS</h4><p>O Step Functions se integra diretamente, sem Lambda intermediária, com serviços como:</p><ul><li>DynamoDB</li><li>ECS / EKS</li><li>Glue</li><li>SNS / SQS</li><li>EventBridge</li><li>API Gateway</li><li>Athena</li></ul><p>Menos latência, menos custo, menos código.</p><h3>Tipos de Workflows no Step Functions</h3><h4>Standard Workflows</h4><ul><li>Execuções longas (até 1 ano)</li><li>Exactly-once execution</li><li>Ideal para processos críticos, ETL, financeiros</li></ul><h4>Express Workflows</h4><ul><li>Alta taxa de execuções</li><li>Baixa latência</li><li>Ideal para APIs, eventos e streaming</li></ul><p>Saber escolher corretamente o tipo impacta diretamente custo e performance.</p><h3>Casos de Uso Comuns do AWS Step Functions</h3><ul><li><strong>Orquestração de Microsserviços:<br></strong>Coordena serviços independentes para concluir uma tarefa maior. Por exemplo, em um cenário de e-commerce, o Step Functions pode validar pedidos, processar pagamentos e notificar clientes utilizando diferentes microsserviços.</li><li><strong>Pipelines de Processamento de Dados:<br></strong>Automatiza fluxos de trabalho para o processamento de grandes volumes de dados. Por exemplo, coletar dados no Amazon S3, realizar limpeza e transformação com AWS Lambda ou caso seja uma massa e transformação mais complexa pode realizar com o AWS Glue e armazenar os resultados em um banco de dados.</li><li><strong>Workflows de Machine Learning:<br></strong>Automatiza o treinamento, teste e implantação de modelos de Machine Learning, integrando o Amazon SageMaker com o AWS Step Functions.</li><li><strong>ETL (Extração, Transformação e Carga):<br></strong>Automatiza tarefas de ETL, como extrair dados de múltiplas fontes, transformá-los e carregá-los em um data warehouse.</li><li><strong>Automação DevOps:<br></strong>Automatiza pipelines de CI/CD, incluindo execução de testes, build de aplicações e implantação em diferentes ambientes.</li><li><strong>Processamento de Jobs em Lote (Batch):<br></strong>Orquestra jobs que exigem múltiplas etapas, como transcodificação de vídeos ou geração de relatórios.</li></ul><h3>Amazon States Language (ASL): Conceitos-Chave</h3><p>Estados mais comuns:</p><ul><li><strong>Task </strong>→ executa uma ação</li><li><strong>Choice </strong>→ decisões condicionais</li><li><strong>Parallel </strong>→ execuções simultâneas</li><li><strong>Map </strong>→ processamento em lote</li><li><strong>Wait </strong>→ delays controlados</li><li><strong>Fail e Succeed </strong>→ controle de término</li></ul><p>Exemplo:</p><pre>{<br>  &quot;Comment&quot;: &quot;A simple SFN to validate and process an order&quot;,<br>  &quot;StartAt&quot;: &quot;ValidateInput&quot;,<br>  &quot;States&quot;: {<br>    &quot;ValidateInput&quot;: {<br>      &quot;Type&quot;: &quot;Task&quot;,<br>      &quot;Resource&quot;: &quot;arn:aws:lambda:us-east-1:&lt;account-id&gt;:function:Validate&quot;,<br>      &quot;Next&quot;: &quot;ProcessOrder&quot;<br>    },<br>    &quot;ProcessOrder&quot;: {<br>      &quot;Type&quot;: &quot;Task&quot;,<br>      &quot;Resource&quot;: &quot;arn:aws:lambda:us-east-1:&lt;account-id&gt;:function:Process&quot;,<br>      &quot;End&quot;: true<br>    }<br>  }<br>}</pre><h3>Como o AWS Step Functions Interage com as Tasks</h3><p>No AWS Step Functions, States não executam lógica por si só, eles orquestram Tasks que executam ações em outros serviços da AWS ou sistemas externos.</p><h4>Uma Task State pode:</h4><ul><li>Invocar uma função AWS Lambda</li><li>Chamar serviços AWS diretamente (AWS SDK integration)</li><li>Executar containers no ECS</li><li>Iniciar jobs no Glue</li><li>Chamar APIs HTTP</li></ul><h4>Exemplo simples de Task (Lambda)</h4><pre>{<br>  &quot;Type&quot;: &quot;Task&quot;,<br>    &quot;Resource&quot;: &quot;arn:aws:states:::lambda:invoke&quot;,<br>      &quot;Parameters&quot;: {<br>    &quot;FunctionName&quot;: &quot;ProcessOrderFunction&quot;,<br>      &quot;Payload.$&quot;: &quot;$&quot;<br>  },<br>  &quot;ResultPath&quot;: &quot;$.lambdaResult&quot;,<br>    &quot;Next&quot;: &quot;NextState&quot;<br>}</pre><p>O que acontece nessa Tasks é:</p><ul><li>O input do estado ($) é enviado para a Lambda</li><li>O retorno da Lambda é armazenado em $.lambdaResult</li><li>O fluxo segue para o próximo estado</li></ul><h3>Como os Dados Fluem Entre Estados</h3><p>O Step Functions trabalha com JSON do início ao fim.</p><p><strong>Cada estado:</strong></p><ul><li>Recebe um input</li><li>Executa uma ação</li><li>Produz um output que alimenta o próximo estado</li></ul><p><strong>Esse controle acontece principalmente através de:</strong></p><ul><li>InputPath</li><li>Parameters</li><li>ResultPath</li><li>OutputPath</li></ul><p>Esses campos determinam o que entra, o que sai e onde o resultado é armazenado.</p><h3>Introdução a JSONPath no Step Functions</h3><p>O JSONPath é a forma tradicional de selecionar, filtrar e mapear dados JSON dentro do Step Functions.</p><p><strong>Exemplo de JSON de entrada</strong></p><pre>{<br>  &quot;order&quot;: {<br>    &quot;id&quot;: &quot;123&quot;,<br>    &quot;total&quot;: 250,<br>    &quot;customer&quot;: {<br>      &quot;email&quot;: &quot;cliente@email.com&quot;<br>    }<br>  }<br>}</pre><p><strong>Usando JSONPath</strong></p><pre>&quot;Parameters&quot;: {<br>  &quot;orderId.$&quot;: &quot;$.order.id&quot;,<br>  &quot;email.$&quot;: &quot;$.order.customer.email&quot;<br>}</pre><ul><li>O sufixo .$ indica que o valor vem de uma expressão JSONPath, não de um valor literal.</li></ul><p>JSONPath é usado principalmente para:</p><ul><li>Extrair partes do input</li><li>Montar payloads para Tasks</li><li>Controlar Map e Parallel states</li></ul><h3>JSONata no Step Functions</h3><p>O JSONata é uma linguagem mais poderosa e expressiva para transformação de JSON, recentemente suportada pelo Step Functions.</p><p>Enquanto o JSONPath é simples e declarativo, o JSONata permite:</p><ul><li>Condições</li><li>Funções</li><li>Transformações complexas</li><li>Expressões mais ricas</li></ul><p><strong>Exemplo simples com JSONata</strong></p><pre>&quot;Parameters&quot;: {<br>  &quot;orderValue&quot;: &quot;{% $.order.total * 1.1 %}&quot;<br>}</pre><p>Neste exemplo acima o JSONata está:</p><ul><li>Aplicando uma regra de negócio</li><li>Calculando um valor dinamicamente</li><li>Sem precisar de Lambda intermediária</li></ul><h3>E por que isso é tão importante em Step Functions?</h3><ul><li>Reduz a necessidade de Lambdas apenas para “formatar JSON”</li><li>Diminui latência</li><li>Reduz custo</li><li>Torna o fluxo mais legível</li><li>Centraliza a lógica no nível da orquestração</li></ul><p>Em arquiteturas maduras, o Step Functions deixa de ser apenas um orquestrador e passa a ser um motor de decisão.</p><h3>Boas Práticas com Step Functions</h3><ul><li>Use IAM Roles com menor privilégio</li><li>Prefira integrações diretas em vez de Lambda quando possível</li><li>Centralize retries no Step Functions, não no código</li><li>Use timeouts explícitos</li><li>Nomeie estados de forma semântica</li><li>Monitore com CloudWatch + X-Ray</li><li>Versione State Machines com IaC (Terraform, CloudFormation, SAM ou CDK)</li></ul><h3>Quando NÃO usar Step Functions?</h3><p>Apesar de poderoso, ele não é bala de prata:</p><ul><li>Fluxos extremamente simples</li><li>Lógica 100% síncrona e linear</li><li>Casos onde uma única Lambda resolve</li></ul><p>Arquitetura boa não é a mais complexa, é a que resolve o problema certo no nível certo.</p><h3>Hora do Hands-On</h3><p>Segue um exemplo para replicarem no ambiente AWS de vocês leitores, <strong>lembrem-se</strong> os testes podem gerar custos.</p><h4>Arquitetura do nosso hands-on</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*VfoQgYoga-0WUPGLJojz_w.png" /></figure><p>Segue abaixo nosso arquivo “<strong>main.tf</strong>”</p><pre>terraform {<br>  required_providers {<br>    aws = {<br>      source  = &quot;hashicorp/aws&quot;<br>      version = &quot;~&gt; 4.16&quot;<br>    }<br>  }<br><br>  required_version = &quot;&gt;= 1.2.0&quot;<br>}<br><br>provider &quot;aws&quot; {<br>  profile = &quot;default&quot;<br>  region  = var.region<br>}<br><br>data &quot;aws_caller_identity&quot; &quot;current&quot; {}<br><br>data &quot;template_file&quot; &quot;SFDefinitionFile&quot; {<br>  template = file(&quot;${path.module}/statemachines/statemachine.asl.json&quot;)<br>  vars = {<br>    SF_TableName = aws_dynamodb_table.imagesTable.id<br>  }<br>}<br><br># Random string generator<br>resource &quot;random_id&quot; &quot;randomID&quot; {<br>  byte_length = 8<br>}<br><br># Create an IAM role for the Step Functions state machine<br>resource &quot;aws_iam_role&quot; &quot;StateMachineRole&quot; {<br>  assume_role_policy = &lt;&lt;Role1<br>{<br>  &quot;Version&quot; : &quot;2012-10-17&quot;,<br>  &quot;Statement&quot; : [<br>    {<br>      &quot;Effect&quot; : &quot;Allow&quot;,<br>      &quot;Principal&quot; : {<br>        &quot;Service&quot; : &quot;states.amazonaws.com&quot;<br>      },<br>      &quot;Action&quot; : &quot;sts:AssumeRole&quot;<br>    }<br>  ]<br>}<br>Role1<br>}<br><br># Get the Managed Policy AmazonRekognitionReadOnlyAccess<br>data &quot;aws_iam_policy&quot; &quot;AmazonRekognitionReadOnlyAccess&quot; {<br>  arn = &quot;arn:aws:iam::aws:policy/AmazonRekognitionReadOnlyAccess&quot;<br>}<br><br># Get the Managed Policy AmazonS3ReadOnlyAccess<br>data &quot;aws_iam_policy&quot; &quot;AmazonS3ReadOnlyAccess&quot; {<br>  arn = &quot;arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess&quot;<br>}<br><br># Create an IAM policy for the Step Functions state machine<br>resource &quot;aws_iam_policy&quot; &quot;StateMachinePolicy&quot; {<br>  policy = &lt;&lt;POLICY1<br>{<br>  &quot;Version&quot; : &quot;2012-10-17&quot;,<br>  &quot;Statement&quot; : [<br>    {<br>      &quot;Effect&quot; : &quot;Allow&quot;,<br>      &quot;Action&quot; : [<br>        &quot;xray:PutTraceSegments&quot;,<br>        &quot;xray:PutTelemetryRecords&quot;,<br>        &quot;xray:GetSamplingRules&quot;,<br>        &quot;xray:GetSamplingTargets&quot;,<br>        &quot;logs:CreateLogGroup&quot;,<br>        &quot;logs:CreateLogStream&quot;,<br>        &quot;logs:PutLogEvents&quot;,<br>        &quot;logs:CreateLogDelivery&quot;,<br>        &quot;logs:GetLogDelivery&quot;,<br>        &quot;logs:UpdateLogDelivery&quot;,<br>        &quot;logs:DeleteLogDelivery&quot;,<br>        &quot;logs:ListLogDeliveries&quot;,<br>        &quot;logs:PutResourcePolicy&quot;,<br>        &quot;logs:DescribeResourcePolicies&quot;,<br>        &quot;logs:DescribeLogGroups&quot;,<br>        &quot;cloudwatch:PutMetricData&quot;<br>      ],<br>      &quot;Resource&quot; : &quot;*&quot;<br>    },<br>    {<br>        &quot;Action&quot;: [<br>            &quot;dynamodb:*&quot;<br>        ],<br>        &quot;Resource&quot;: &quot;${aws_dynamodb_table.imagesTable.arn}&quot;,<br>        &quot;Effect&quot;: &quot;Allow&quot;<br>    }<br>  ]<br>}<br>POLICY1<br>}<br><br># Attach all the IAM policies to the equivalent roles<br>resource &quot;aws_iam_role_policy_attachment&quot; &quot;StateMachinePolicyAttachment&quot; {<br>  role       = aws_iam_role.StateMachineRole.name<br>  policy_arn = aws_iam_policy.StateMachinePolicy.arn<br>}<br><br># Attach all the IAM policies to the equivalent roles<br>resource &quot;aws_iam_role_policy_attachment&quot; &quot;StateMachineManagedPolicyAttachment1&quot; {<br>  role       = aws_iam_role.StateMachineRole.name<br>  policy_arn = data.aws_iam_policy.AmazonRekognitionReadOnlyAccess.arn<br>}<br><br># Attach all the IAM policies to the equivalent roles<br>resource &quot;aws_iam_role_policy_attachment&quot; &quot;StateMachineManagedPolicyAttachment2&quot; {<br>  role       = aws_iam_role.StateMachineRole.name<br>  policy_arn = data.aws_iam_policy.AmazonS3ReadOnlyAccess.arn<br>}<br><br># Create a new DynamoDB table with all attributes and Indexes<br>resource &quot;aws_dynamodb_table&quot; &quot;imagesTable&quot; {<br>  name         = &quot;images-data-workflow-pattern-${data.aws_caller_identity.current.account_id}&quot;<br>  billing_mode = &quot;PAY_PER_REQUEST&quot;<br>  hash_key     = &quot;id&quot;<br>  attribute {<br>    name = &quot;id&quot;<br>    type = &quot;S&quot;<br>  }<br>}<br><br># Create a new S3 bucket<br>resource &quot;aws_s3_bucket&quot; &quot;MyS3Bucket&quot; {<br>  bucket = &quot;data-workflow-pattern-terraform-${data.aws_caller_identity.current.account_id}&quot;<br>}<br><br># Upload all images to the new S3 bucket<br>resource &quot;aws_s3_object&quot; &quot;object-building&quot; {<br>  bucket = aws_s3_bucket.MyS3Bucket.id<br>  key    = &quot;building.jpg&quot;<br>  source = &quot;resources/images/building.jpg&quot;<br>  etag   = filemd5(&quot;resources/images/building.jpg&quot;)<br>}<br><br>resource &quot;aws_s3_object&quot; &quot;object-desk&quot; {<br>  bucket = aws_s3_bucket.MyS3Bucket.id<br>  key    = &quot;desk.jpg&quot;<br>  source = &quot;resources/images/desk.jpg&quot;<br>  etag   = filemd5(&quot;resources/images/desk.jpg&quot;)<br>}<br><br>resource &quot;aws_s3_object&quot; &quot;object-dinos&quot; {<br>  bucket = aws_s3_bucket.MyS3Bucket.id<br>  key    = &quot;dinos.jpg&quot;<br>  source = &quot;resources/images/dinos.jpg&quot;<br>  etag   = filemd5(&quot;resources/images/dinos.jpg&quot;)<br>}<br><br>resource &quot;aws_s3_object&quot; &quot;object-office&quot; {<br>  bucket = aws_s3_bucket.MyS3Bucket.id<br>  key    = &quot;office.jpg&quot;<br>  source = &quot;resources/images/office.jpg&quot;<br>  etag   = filemd5(&quot;resources/images/office.jpg&quot;)<br>}<br><br>resource &quot;aws_s3_object&quot; &quot;object-stage&quot; {<br>  bucket = aws_s3_bucket.MyS3Bucket.id<br>  key    = &quot;stage.jpg&quot;<br>  source = &quot;resources/images/stage.jpg&quot;<br>  etag   = filemd5(&quot;resources/images/stage.jpg&quot;)<br>}<br><br># Create an Log group for the Step Functions<br>resource &quot;aws_cloudwatch_log_group&quot; &quot;MySFNLogGroup&quot; {<br>  name_prefix       = &quot;/aws/vendedlogs/states/StateMachine-terraform-&quot;<br>  retention_in_days = 60<br>}<br><br># Create the AWS Step Functions State Machine<br>resource &quot;aws_sfn_state_machine&quot; &quot;sfn_state_machine&quot; {<br>  name       = &quot;ProcessImageDataPatternStateMachine-${random_id.randomID.id}&quot;<br>  role_arn   = aws_iam_role.StateMachineRole.arn<br>  definition = data.template_file.SFDefinitionFile.rendered<br>  logging_configuration {<br>    log_destination        = &quot;${aws_cloudwatch_log_group.MySFNLogGroup.arn}:*&quot;<br>    include_execution_data = true<br>    level                  = &quot;ALL&quot;<br>  }<br>}</pre><p>Segue “<strong>outputs.tf</strong>” será bem necessário para nosso hands-on, pois através do mesmo teremos a saída necessária para o input manual da nossa SFN.</p><pre># Display the S3 bucket <br>output &quot;S3-Bucket&quot; {<br>  value       = aws_s3_bucket.MyS3Bucket.id<br>  description = &quot;The S3 Bucket&quot;<br>}<br><br># Display the State Machine ARN<br>output &quot;StateMachine&quot; {<br>  value       = aws_sfn_state_machine.sfn_state_machine.id<br>  description = &quot;The AWS Step Functions State Machine ARN&quot;<br>}<br><br># Display the DynamoDB table name<br>output &quot;DynamoDBTable&quot; {<br>  value       = aws_dynamodb_table.imagesTable.id<br>  description = &quot;The DynamoDB Table Name&quot;<br>}<br><br># Display the Input for the Step Functions<br>output &quot;StepFunctionInput&quot; {<br>  # value       = &quot;{ \&quot;Objects\&quot;: [ {\&quot;Key\&quot;: \&quot;building.jpg\&quot;,\&quot;Bucket\&quot;: \&quot;${aws_s3_bucket.MyS3Bucket.id}\&quot;},{\&quot;Key\&quot;: \&quot;desk.jpg\&quot;,\&quot;Bucket\&quot;: \&quot;${aws_s3_bucket.MyS3Bucket.id}\&quot;},{\&quot;Key\&quot;: \&quot;dinos.jpg\&quot;,\&quot;Bucket\&quot;: \&quot;${aws_s3_bucket.MyS3Bucket.id}\&quot;},{\&quot;Key\&quot;: \&quot;office.jpg\&quot;,\&quot;Bucket\&quot;: \&quot;${aws_s3_bucket.MyS3Bucket.id}\&quot;},{\&quot;Key\&quot;: \&quot;stage.jpg\&quot;,\&quot;Bucket\&quot;: \&quot;${aws_s3_bucket.MyS3Bucket.id}\&quot;}]}&quot;<br>  value       = &lt;&lt;EOF<br>{<br>  &quot;Objects&quot;: [<br>      {<br>          &quot;Key&quot;: &quot;building.jpg&quot;,<br>          &quot;Bucket&quot;: &quot;${aws_s3_bucket.MyS3Bucket.id}&quot;<br>      },<br>      {<br>          &quot;Key&quot;: &quot;desk.jpg&quot;,<br>          &quot;Bucket&quot;: &quot;${aws_s3_bucket.MyS3Bucket.id}&quot;<br>      },<br>      {<br>          &quot;Key&quot;: &quot;dinos.jpg&quot;,<br>          &quot;Bucket&quot;: &quot;${aws_s3_bucket.MyS3Bucket.id}&quot;<br>      },<br>      {<br>          &quot;Key&quot;: &quot;office.jpg&quot;,<br>          &quot;Bucket&quot;: &quot;${aws_s3_bucket.MyS3Bucket.id}&quot;<br>      },<br>      {<br>          &quot;Key&quot;: &quot;stage.jpg&quot;,<br>          &quot;Bucket&quot;: &quot;${aws_s3_bucket.MyS3Bucket.id}&quot;<br>      }<br>  ]<br>}<br>  EOF<br>  description = &quot;Use this JSON as input to the Step Function&quot;<br>}</pre><p>No arquivo de “<strong>variables.tf</strong>” podem adicionar esse codigo (uso north-virginia como default em prol de custos):</p><pre>variable &quot;region&quot; {<br>  description = &quot;The AWS Region to use&quot;<br>  type        = string<br>  default     = &quot;us-east-1&quot;<br>}</pre><p>Crie uma pasta statemachines e adicione um arquivo “<strong>statemachinae.asl.json</strong>” com o seguinte conteúdo:</p><pre>{<br>  &quot;StartAt&quot;: &quot;IterateS3Objects&quot;,<br>  &quot;States&quot;: {<br>    &quot;IterateS3Objects&quot;: {<br>      &quot;Type&quot;: &quot;Map&quot;,<br>      &quot;End&quot;: true,<br>      &quot;Iterator&quot;: {<br>        &quot;StartAt&quot;: &quot;Parallel&quot;,<br>        &quot;States&quot;: {<br>          &quot;Parallel&quot;: {<br>            &quot;Type&quot;: &quot;Parallel&quot;,<br>            &quot;Next&quot;: &quot;DynamoDB PutItem&quot;,<br>            &quot;Branches&quot;: [<br>              {<br>                &quot;StartAt&quot;: &quot;GetObjectAttributes&quot;,<br>                &quot;States&quot;: {<br>                  &quot;GetObjectAttributes&quot;: {<br>                    &quot;Type&quot;: &quot;Task&quot;,<br>                    &quot;Parameters&quot;: {<br>                      &quot;Bucket.$&quot;: &quot;$.ObjectDetails.Bucket&quot;,<br>                      &quot;Key.$&quot;: &quot;$.ObjectDetails.Key&quot;,<br>                      &quot;ObjectAttributes&quot;: [<br>                        &quot;StorageClass&quot;,<br>                        &quot;ObjectSize&quot;<br>                      ]<br>                    },<br>                    &quot;Resource&quot;: &quot;arn:aws:states:::aws-sdk:s3:getObjectAttributes&quot;,<br>                    &quot;ResultPath&quot;: &quot;$.ObjectMetadata&quot;,<br>                    &quot;End&quot;: true<br>                  }<br>                }<br>              },<br>              {<br>                &quot;StartAt&quot;: &quot;DetectLabels&quot;,<br>                &quot;States&quot;: {<br>                  &quot;DetectLabels&quot;: {<br>                    &quot;Type&quot;: &quot;Task&quot;,<br>                    &quot;Parameters&quot;: {<br>                      &quot;Image&quot;: {<br>                        &quot;S3Object&quot;: {<br>                          &quot;Bucket.$&quot;: &quot;$.ObjectDetails.Bucket&quot;,<br>                          &quot;Name.$&quot;: &quot;$.ObjectDetails.Key&quot;<br>                        }<br>                      }<br>                    },<br>                    &quot;Resource&quot;: &quot;arn:aws:states:::aws-sdk:rekognition:detectLabels&quot;,<br>                    &quot;ResultPath&quot;: &quot;$.Labels&quot;,<br>                    &quot;End&quot;: true<br>                  }<br>                }<br>              }<br>            ]<br>          },<br>          &quot;DynamoDB PutItem&quot;: {<br>            &quot;Type&quot;: &quot;Task&quot;,<br>            &quot;Resource&quot;: &quot;arn:aws:states:::dynamodb:putItem&quot;,<br>            &quot;Parameters&quot;: {<br>              &quot;TableName&quot;: &quot;${SF_TableName}&quot;,<br>              &quot;Item&quot;: {<br>                &quot;id&quot;: {<br>                  &quot;S.$&quot;: &quot;$[0].ObjectDetails.Key&quot;<br>                },<br>                &quot;size&quot;: {<br>                  &quot;N.$&quot;: &quot;States.JsonToString($[0].ObjectMetadata.ObjectSize)&quot;<br>                },<br>                &quot;lastModified&quot;: {<br>                  &quot;S.$&quot;: &quot;$[0].ObjectMetadata.LastModified&quot;<br>                },<br>                &quot;storageClass&quot;: {<br>                  &quot;S.$&quot;: &quot;$[0].ObjectMetadata.StorageClass&quot;<br>                },<br>                &quot;labels&quot;: {<br>                  &quot;S.$&quot;: &quot;States.JsonToString($[1].Labels)&quot;<br>                }<br>              }<br>            },<br>            &quot;End&quot;: true<br>          }<br>        }<br>      },<br>      &quot;ItemsPath&quot;: &quot;$.Objects&quot;,<br>      &quot;Parameters&quot;: {<br>        &quot;ObjectIndex.$&quot;: &quot;$$.Map.Item.Index&quot;,<br>        &quot;ObjectDetails.$&quot;: &quot;$$.Map.Item.Value&quot;<br>      }<br>    }<br>  },<br>  &quot;Comment&quot;: &quot;Retrieves objects from S3, processes and stores metadata in DynamoDB&quot;<br>}</pre><p>Crie uma pasta chamada “<strong>resources</strong>” e dentro de resources umas pasta “<strong>images</strong>”, dentro adicione essas imagens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*21FElfcfMMNXhCj_w2oEgQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w3DUUjYGrcHtJTD80JDIAQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VHQ5f1xa-VrQq3lbpPR44w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MpGVPceboTaPeyqcaDlzXw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9FlEgmSdZ6V3QuhvGOKuWw.jpeg" /></figure><ul><li>Salve as como: dinos.jpg, office.jpg, stage.jpg, building.jpg e desk.jpg</li></ul><p>Terá um resultado visual na Step Functions assim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*BcmdfRLeroVBJic4z2WgGA.png" /></figure><p>Para testar implemente o Terraform e insira o ouput na SFN, logo após a execução com sucesso valide no DynamoDB a inserção realizada, pode validar as nossas iterações em cima dos arquivos S3 através do map state na SFN na parte visual do seu workflow também.</p><h3>Conclusão</h3><p>A Step Functions é mais poderosa do que imaginamos, aproveite para aprofundar seus conhecimentos sobre a mesma através da documentação oficial da AWS e também pode fazer o <a href="https://catalog.workshops.aws/workshops/318b6bc5-b0cf-4b6e-b072-ba1c4d3234f9/en-US">workshop</a> oficial da AWS sobre SFN.</p><p>Obrigado por ter lido este post até aqui e qualquer dúvida podem me chamar através do <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso-7825551a0">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=097013cc6754" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guia de Estudos para a Certificação AWS Data Engineer Associate (DEA–C01)]]></title>
            <link>https://joaogaioso.medium.com/guia-de-estudos-para-a-certifica%C3%A7%C3%A3o-aws-data-engineer-associate-dea-c01-87be97ccbc37?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/87be97ccbc37</guid>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 13:20:00 GMT</pubDate>
            <atom:updated>2026-02-05T05:01:00.170Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlEToL7USVGarhPu7Dj2-g.png" /></figure><p>Se você está pensando em iniciar sua preparação para a <strong>AWS Data Engineer Associate</strong>, este post vai te ajudar bastante. Reuni aqui tudo que você realmente precisa saber sobre o exame — com base no <strong>guia oficial da AWS</strong>, materiais da comunidade, experiência prática em dados e certificação na AWS.</p><h3>Para quem é essa certificação?</h3><p>A DEA–C01 é voltada para profissionais que desejam validar habilidades em:</p><ul><li>Processamento de dados em larga escala</li><li>Pipelines em tempo real e batch</li><li>Modelagem, transformação e otimização de dados</li><li>Orquestração e observabilidade de pipelines</li><li>Governança, qualidade, custo e segurança</li></ul><p>Se você trabalha com <strong>S3, Glue, Athena, EMR, Redshift, Kinesis, Lake Formation, Step Functions, DynamoDB</strong> ou deseja migrar para a área de Engenharia de Dados na AWS — essa é a sua prova rs.</p><h3>Estrutura do Exame (segundo o guia oficial da AWS)</h3><p>O exame é dividido em <strong>4 domínios principais</strong>:</p><h3>Domínio 1 — Data Ingestion &amp; Transformation (34%)</h3><p>Coleta, extração, padronização, ETL/ELT, formato ideal de dados, organização de lagos e boas práticas de ingestão.</p><h3>Domínio 2 — Data Store Management (26%)</h3><p>Modelagem, particionamento, governança, otimização de consultas, escolha de serviços (S3, DynamoDB, Redshift, OpenSearch, EMR HDFS).</p><h3>Domínio 3 — Data Operations &amp; Support (22%)</h3><p>Orquestração com Glue Workflows, Step Functions, MWAA, EventBridge; pipelines automatizados; versionamento; monitoramento.</p><h3>Domínio 4 — Data Security, Governance &amp; Compliance (18%)</h3><p>KMS, controle de acesso, Lake Formation, criptografia, políticas, tags, catálogos, auditoria e gerenciamento de custos.</p><p><em>Ou seja: essa prova cobra a pura engenharia de dados voltada para o cenário AWS — arquitetura, desempenho, segurança e custo.</em></p><h3>Serviços que mais caem na prova</h3><p><strong>Data Lake e Processamento</strong></p><ul><li>S3 (Partitioning, Storage Classes, Object Lock)</li><li>Athena (CTAS, particionamento, views, otimização)</li><li>AWS Glue (Jobs Spark, Crawler, Data Catalog, DataBrew, DQ)</li><li>EMR (Spark, Hive, Presto, EMRFS, clusters provisionados vs serverless)</li></ul><p><strong>Streaming / Tempo Real</strong></p><ul><li>Kinesis Data Streams</li><li>Kinesis Data Firehose</li><li>Amazon MSK</li><li>Managed Flink (KDA for Apache Flink)</li></ul><p><strong>Bancos de Dados</strong></p><ul><li>DynamoDB (GSI/LSI, Provisioned/On-Demand, DAX, TTL)</li><li>Amazon Redshift (Spectrum, Sort/Dist Keys, WLM)</li><li>OpenSearch (indexing, ingestão, queries)</li></ul><p><strong>Orquestração</strong></p><ul><li>AWS Step Functions</li><li>Glue Workflows</li><li>EventBridge</li><li>Amazon MWAA (Managed Airflow)</li></ul><p><strong>Governança e Segurança</strong></p><ul><li>Lake Formation</li><li>IAM e SCPs</li><li>KMS</li><li>CloudTrail / Config</li><li>Tags e Cost Explorer</li></ul><h3>Conceitos MUITO importantes (que caem direto)</h3><h4>Formatos de dados e otimização</h4><ul><li>Parquet vs ORC vs CSV vs JSON</li><li>Compressões: Snappy, GZIP, LZO</li><li>Pushdown predicates</li></ul><h4>Particionamento</h4><ul><li>Dynamic partitioning</li><li>Partition projection</li><li>Melhores práticas para Athena/S3</li></ul><h4>Modelagem e Performance</h4><ul><li>Redshift: DistStyle, SortKeys, VACUUM, ANALYZE</li><li>DynamoDB: hot partitions, partition key best practices</li></ul><h4>Governança e Segurança</h4><ul><li>Lake Formation permissions</li><li>Encrypt/Decrypt com KMS</li><li>S3 bucket policies para data lakes empresariais</li></ul><h4>Qualidade de Dados</h4><ul><li>Glue Data Quality: statistics, rules, evaluations</li><li>Expectations (builtin e custom)</li></ul><h4>Custos</h4><ul><li>Escolher a melhor classe de armazenamento do S3</li><li>Redshift RA3 vs DC2</li><li>Glue jobs cobram por DPUs</li><li>Athena cobra por data scanned</li></ul><h3>Por Onde Estudar?</h3><h4>Cursos recomendados</h4><ul><li><a href="https://www.udemy.com/course/aws-data-engineer">Stephane Maarek com Frank Kane</a> (Data Engineer completo + hands-on)</li></ul><h4>Simulados</h4><ul><li>Tutorials Dojo (<a href="https://portal.tutorialsdojo.com/courses/aws-certified-data-engineer-associate-practice-exam-dea-c01/ref/G33713">Jon Bonso</a>) → em dólar porém na minha opnião o melhor, sempre acima do nível da prova.</li><li>Skill Builder → sempre tem uma questões free liberadas por lá.</li><li>Simulado comentado da <a href="https://www.youtube.com/watch?v=qxYEv_-KciM">Algoholic</a>.</li></ul><h4>Leia a Documentação AWS!</h4><h3>Pratique muito!</h3><p>Essa prova cobra <strong>prática</strong> real.<br>Recomendo fazer labs no console envolvendo:</p><ul><li>Criar pipelines Glue → S3 → Athena</li><li>Criar um fluxo Kinesis → Lambda → Firehose</li><li>Criar um workflow com Step Functions</li><li>Otimizar consultas no Athena com partições</li><li>Configurar Lake Formation com permissões por coluna</li></ul><p>Quanto mais prática, mais claro ficam os cenários das questões.</p><h3>Tipos de Questões</h3><p>A prova traz os mesmos tipos modernos das certificações mais recentes:</p><ul><li>Múltipla escolha</li><li>Múltiplas respostas</li><li>Ordenação (Sequencing)</li><li>Correspondência (Matching)</li><li>Estudo de caso (Case Study com múltiplas perguntas)</li></ul><p>Os estilos de questão misturam cenários reais com detalhes técnicos — por isso é fundamental praticar.</p><h4>Boa preparação, bons estudos e qualquer dúvida é só me chamar no <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso-7825551a0">LinkedIn</a>!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87be97ccbc37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Machine Learning Engineer Associate — MLA-C01]]></title>
            <link>https://joaogaioso.medium.com/aws-machine-learning-engineer-associate-mla-c01-07374bd75ccf?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/07374bd75ccf</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 13:01:59 GMT</pubDate>
            <atom:updated>2026-03-30T19:19:29.378Z</atom:updated>
            <content:encoded><![CDATA[<h3>Guia de Estudos para a Certificação AWS Machine Learning Engineer Associate (MLA-C01)</h3><h3>Guia de Estudos para a Certificação AWS Machine Learning Engineer Associate</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o-YBSLFm6G9RazqxWQIpzQ.png" /></figure><h3>Guia de Estudos para a Certificação AWS Machine Learning Engineer Associate</h3><p>Se você está pensando em iniciar seus estudos para a certificação AWS Machine Learning Engineer Associate, este post é pra você! Reuni aqui um resumo completo dos principais conteúdos que caem na prova — com base no <a href="https://d1.awsstatic.com/training-and-certification/docs-machine-learning-engineer-associate/AWS-Certified-Machine-Learning-Engineer-Associate_Exam-Guide.pdf">guia oficial da AWS</a> e nas melhores fontes da comunidade.</p><h3>Para quem é essa certificação?</h3><p>Voltada para profissionais que desejam validar suas habilidades em <strong>desenvolver, treinar, implantar e monitorar modelos de Machine Learning</strong> na nuvem AWS.</p><h3>Estrutura do exame</h3><p>Segundo o<strong> </strong>guia oficial da AWS, o exame é dividido em 4 domínios principais:</p><p><strong>Domínio</strong> <strong>1 - Data Preparation for Machine Learning ML: </strong>Coleta, limpeza, transformação de dados, engenharia de features. (28%)</p><p><strong>Domínio 2 - ML Model Development: </strong>Seleção de algoritmos, treinamento, tuning e avaliação de modelos. (26%)</p><p><strong>Domínio 3 - Deployment &amp; Orchestration of ML Workflows: </strong>Implantação de modelos em endpoints, batch, pipelines e CI/CD<strong>. (</strong>22%<strong>)</strong></p><p><strong>Domínio 4 - Monitoring, Maintenance &amp; Security: </strong>Monitoramento de drift, segurança, custo e ajustes em produção. (24%)</p><p>Ou seja: não basta entender só de algoritmos rs, é preciso ter visão completa de <strong>MLOps</strong> na AWS.</p><h3>Tipos de Questões</h3><p>O exame contém um ou mais dos seguintes tipos de questões:</p><ul><li><strong>Múltipla escolha:</strong> Tem uma resposta correta e três respostas incorretas (distratores).</li><li><strong>Múltiplas respostas:</strong> Tem duas ou mais respostas corretas entre cinco ou mais opções de resposta. Você deve selecionar todas as respostas corretas para receber crédito pela questão.</li><li><strong>Ordenação:</strong> Apresenta uma lista de 3 a 5 respostas para completar uma tarefa específica. Você deve selecionar as respostas corretas e colocá-las na ordem correta para receber crédito pela questão.</li><li><strong>Correspondência:</strong> Apresenta uma lista de respostas a serem associadas com uma lista de 3 a 7 instruções. Você deve corresponder todos os pares corretamente para receber crédito pela questão.</li><li><strong>Estudo de caso:</strong> Apresenta um cenário com duas ou mais questões sobre ele. O cenário é o mesmo para cada questão do estudo de caso. Cada questão no estudo de caso será avaliada separadamente. Você receberá crédito por cada questão que responder corretamente dentro do estudo de caso.</li></ul><p><strong>OBS:</strong> Mais abaixo deixarei algumas questões de exemplo</p><h3><strong>Conteúdos/ Serviços Mais Abordados na Certificação</strong></h3><ul><li><strong>SageMaker AI</strong> (Built-In Algorithms, Clarify, Data Wrangler, Jump Start, Debugger, Autopilot,etc.)</li><li><strong>Serviços Gerenciados de Gen AI AWS </strong>(Amazon Bedrock, Rekognition, Comprehend, Textract, Polly, Transcribe)</li><li><strong>Serviços de Processamento/ Integração de Dados</strong> (AWS Glue, Glue DataBrew, Glue DataQuality, Kinesis, Athena, EMR)</li><li><strong>Orquestração / Aplicação </strong>(AWS Step Functions, EventBridge, MWAA-Managed Airflow)</li><li><strong>Infraestrutura / containers / computação</strong> (EC2, Lambda, EKS, ECS, ECR)</li><li><strong>Gerenciamento / Governança / Monitoramento / Segurança</strong> (CloudFormation, CDK, CloudWatch, CloudTrail, IAM, KMS, AWS Config, tagging, orçamentos, Cost Explorer etc.)</li></ul><h3>Conceitos MUITO Importantes!!</h3><ul><li><strong>Técnicas de Regularização para Redes Neurais</strong> (reduzir risco de overfitting), por exemplo, dropout, weight decay, L1 and L2</li><li><strong>Técnicas de Avaliação de um Modelo e Métricas</strong> (confusion matrix, heat maps, F1 score, accuracy, precision, recall, Root Mean Square Error [RMSE], receiver operating characteristic [ROC], Area Under the ROC Curve [AUC])</li><li><strong>Tipos de Endpoint para Implantação do Modelo</strong>, exemplo, Serverless Endpoint, Real-Time Endpoints, Asynchronous Endpoints, Batch Inference.</li><li><strong>Tipos de Deployment</strong>, como Canary, Blue/Green, Linear, All-at-Once.</li><li><strong>Otimização de Custos, Monitoramento de Custos e Soluções que Geram Menor Sobrecarga Operacional.</strong></li></ul><h3>Por Onde se Preparar?</h3><p>Recomendo muito o <a href="https://www.udemy.com/course/aws-certified-machine-learning-engineer-associate-mla-c01">curso do Stephane Mareek com Frank Kane</a> que inclusive contém alguns hands-on, a didática é extremamente clara.</p><p>Para simulados <strong>sem dúvida alguma</strong> os <a href="https://portal.tutorialsdojo.com/courses/aws-certified-machine-learning-engineer-associate-mla-c01-practice-exams/ref/G33713">exames práticos do Jon Bonso</a> da Tutorials Dojo. Os simulados do Skill Builder também gostei muito, porém na licença free são poucas questões disponíveis.</p><p>Na minha preparação também fiz um <a href="https://www.youtube.com/watch?v=PawmSLxSduI">simulado comentado no Youtube</a> que está bem alinhado ao guia do exame.</p><p>Outro ponto bem interessante é que se você já possui a AWS AI Practitioner já tem uma boa base para essa certificação, já vai trazer uma boa noção (arrisco a dizer que uns 30% do conteúdo já foi bem introduzido através da AI Practitioner) mas não confunda, o nível de dificuldade e complexidade entre as 2 certificações é <strong>bem </strong>diferente. Caso não tenha a certificação e se interessa em se certificar tenho um <a href="https://medium.com/@joaogaioso/aws-ai-practitioner-certification-aif-c01-4061f4c3f61b">post</a> similar a esse para a mesma.</p><h3>Pratique!</h3><p>É muito necessário que pratique alguns laboratórios, acesse o console do SageMaker, faça alguns testes, realmente ponha a mão na massa pois essa prova tem muitas questões que pegam na vírgula e ai separamos quem realmente praticou, vive a prática, de quem só estudou teoria. No Skill Builder possuem alguns labs, Youtube e vasculhe as docs da AWS.</p><h3>Exemplos Questões</h3><p>Aqui segue algumas questões as quais passei pelos meus estudos e estão muito bem alinhadas com as que encontrei na prova!</p><blockquote>A machine learning engineer needs to use an Amazon EMR cluster for batch processing of large datasets. Data loss is unacceptable. Which instance purchasing option is the MOST cost-effective while meeting these requirements?</blockquote><blockquote><strong>A.</strong> Run the primary node, core nodes, and task nodes on On-Demand Instances.</blockquote><blockquote><strong>B.</strong> Run the primary node, core nodes, and task nodes on Spot Instances.</blockquote><blockquote><strong>C.</strong> Run the primary node on an On-Demand Instance. Run the core nodes and task nodes on Spot Instances.</blockquote><blockquote><strong>D.</strong> Run the primary node and core nodes on On-Demand Instances. Run the task nodes on Spot Instances.</blockquote><ul><li>Resposta correta: Letra D</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente da Algoholic</em></p><blockquote>An ML engineer needs to process thousands of existing CSV objects and new CSV objects that are uploaded. The CSV objects are stored in a central Amazon S3 bucket and have the same number of columns. One of the columns is a transaction date. The ML engineer must query the data based on the transaction date. Which solution will meet these requirements with the LEAST operational overhead?</blockquote><blockquote><strong>A.</strong> Use an Amazon Athena CREATE TABLE AS SELECT statement to create a table based on the transaction date from data in the central S3 bucket. Query the objects from the table.</blockquote><blockquote><strong>B.</strong> Create a new S3 bucket for processed data. Set up S3 replication from the central S3 bucket to the new S3 bucket. Use S3 Object Lambda to query the objects based on transaction date.</blockquote><blockquote><strong>C.</strong> Create a new S3 bucket for processed data. Use AWS Glue for Apache Spark to create a job to query the CSV objects based on transaction date. Configure the job to store the results in the new S3 bucket. Query the objects from the new S3 bucket.</blockquote><blockquote><strong>D.</strong> Create a new S3 bucket for processed data. Use Amazon Data Firehose to transfer the data from the central S3 bucket to the new S3 bucket. Configure Firehose to run an AWS Lambda function to query the data based on transaction date.</blockquote><ul><li>Resposta correta: Letra A</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente da Algoholic</em></p><blockquote>A company wants to use cost allocation tags to manage and optimize its AWS costs related to Machine Learning (ML) workloads more effectively. It also aims to track and report on its spending across different ML projects and departments.</blockquote><blockquote>Select and order the correct steps from the following list to implement cost allocation tagging for this purpose. Each step should be selected one time or not at all. (Select and order THREE.)</blockquote><blockquote>Create user-defined tags (key-value pairs) for the ML resources.</blockquote><blockquote>Configure tag-based cost and usage reports for detailed analysis.</blockquote><blockquote>Enable the cost allocation tags in the AWS Billing console.</blockquote><blockquote>Set up automated alerts based on budget thresholds for ML expenses.</blockquote><blockquote>Attach the tags to the ML resources in the AWS Management Console.</blockquote><p>1- Create user-defined tags (key-value pairs) for the ML resources.</p><p>2- Attach the tags to the ML resources in the AWS Management Console.</p><p>3- Enable the cost allocation tags in the AWS Billing console.</p><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>An international banking corporation is developing a machine learning model using Amazon SageMaker. The training dataset contains sensitive financial data and is stored in an Amazon S3 bucket in the us-east-1 region. SageMaker instances in the us-west-2 region are required for training. The company mandates that the data transfer between regions must be secure, ensuring no exposure to the public internet at any stage.</blockquote><blockquote>What solution best satisfies these requirements?</blockquote><blockquote><strong>A.</strong> Ensure the direct internet access feature is disabled for the SageMaker instances. Establish an interface endpoint within the VPC to securely connect to Amazon S3.</blockquote><blockquote><strong>B.</strong> Use AWS Transfer Family to securely transfer the data between the regions using SFTP.</blockquote><blockquote><strong>C.</strong> Configure SageMaker instances to operate without direct internet access. Set up a gateway endpoint within the VPC for secure communication with Amazon S3.</blockquote><blockquote><strong>D.</strong> Use Amazon S3 Cross-Region Replication to securely replicate data to the us-west-2 region, then train the model in that region.</blockquote><ul><li>Resposta correta: Letra A</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>A team is currently working on a project that involves gathering real-time data from thousands of IoT sensors deployed across a widespread network. These sensors monitor various parameters, including air quality, traffic flow, and energy consumption. The goal is to develop a system capable of identifying abnormalities in this continuous data stream.</blockquote><blockquote>Which of the following AWS services are best suited for implementing the real-time anomaly detection system described in the scenario? (Select TWO.)</blockquote><blockquote>A. Amazon SageMaker AI</blockquote><blockquote>B. Amazon Data Firehose</blockquote><blockquote>C. Amazon Managed Service for Apache Flink</blockquote><blockquote>D. AWS Lambda</blockquote><blockquote>E. Amazon Kinesis Data Streams</blockquote><ul><li>Resposta correta: Letra C e E</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>An ML model is being evaluated for its predictive performance. During evaluation, it is observed that the model tends to miss a lot of true positive cases. Given that missing a true positive case can have severe consequences, it is crucial to ensure that the model captures as many true positive cases as possible, even if it means flagging a few false positives.</blockquote><blockquote>Which metric should be used to properly evaluate the model in this scenario?</blockquote><blockquote><strong>A.</strong> Low recall<br><strong>B.</strong> High recall<br><strong>C.</strong> High F1 score<br><strong>D.</strong> Low F1 score</blockquote><ul><li>Resposta correta: Letra B</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>A data science team manages a machine learning model that uses an Amazon SageMaker AI endpoint for real-time predictions. The team is concerned about data drift and wants to set up a monitoring system that compares incoming data to the original training data stored in an S3 bucket. The team needs to establish a baseline of the training data for effective drift detection.</blockquote><blockquote>Which approach should the team take to establish this baseline and enable continuous monitoring for data drift in the deployed model?</blockquote><blockquote><strong>A. </strong>Use Amazon SageMaker Model Dashboard to visualize the training data and manually set a baseline for comparison.</blockquote><blockquote><strong>B.</strong> Use Amazon SageMaker Clarify to analyze the model’s predictions on the inference data and generate a baseline from the model’s explanations.</blockquote><blockquote><strong>C.</strong> Use Amazon SageMaker Model Monitor to analyze the training data and generate a baseline of statistics and constraints.</blockquote><blockquote><strong>D.</strong> Use Amazon SageMaker Data Wrangler to preprocess and analyze the training data and create a baseline from the processed data.</blockquote><ul><li>Resposta correta: Letra C</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>A machine learning model is being trained to classify emails into “spam” and “not spam” using Amazon SageMaker. After training, the model’s performance needs to be evaluated using various metrics. The goal is to understand the proportion of correct predictions (both spam and not spam) out of all predictions made by the model.</blockquote><blockquote>Which metric will provide this information?</blockquote><blockquote><strong>A.</strong> Root mean squared error (RMSE)</blockquote><blockquote><strong>B.</strong> Recall</blockquote><blockquote><strong>C.</strong> Accuracy</blockquote><blockquote><strong>D. </strong>F1 score</blockquote><ul><li>Resposta correta: Letra C</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>A healthcare company is building a Cox model to predict patient survival times. The company aims to run an Amazon SageMaker training job using a pre-built scikit-learn container. The training dataset is stored in Amazon S3, and the company needs to include third-party Python libraries, such as NumPy and pandas, along with custom dependencies that are not part of the default SageMaker scikit-learn container. The goal is to keep operational overhead as low as possible while ensuring all dependencies are included for the training job.</blockquote><blockquote>Which solution will run the training job?</blockquote><blockquote><strong>A.</strong> Create a custom Docker image with all necessary dependencies and push it to Amazon ECR.</blockquote><blockquote><strong>B.</strong> Use the SageMaker pre-built scikit-learn container and install necessary third-party libraries, such as NumPy and pandas, at runtime in the training script using pip install.</blockquote><blockquote><strong>C.</strong> Use the default SageMaker scikit-learn container to run the Cox model training job without modifying the container.</blockquote><blockquote><strong>D.</strong> Create a new Docker image by extending the SageMaker pre-built scikit-learn container to include the necessary third-party libraries and custom dependencies. Push this new image to Amazon ECR and use it for the training job.</blockquote><ul><li>Resposta correta: Letra D</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><blockquote>A logistics company relies on a 2 GB custom machine learning model hosted in an on-premises environment to forecast delivery times. The company needs to migrate this model to AWS to lower operational overhead and use a fully managed service. The model experiences unpredictable traffic with peak loads during business hours and low activity at night and on weekends. The solution must scale automatically based on demand and be cost-effective during idle times.</blockquote><blockquote>Which AWS service is the most suitable for these requirements?</blockquote><blockquote><strong>A.</strong> Deploy the model as a serverless SageMaker AI endpoint with Provisioned Concurrency.</blockquote><blockquote><strong>B.</strong> Use Amazon SageMaker AI real-time endpoints with auto-scaling enabled.</blockquote><blockquote><strong>C.</strong> Deploy the model as a serverless SageMaker AI endpoint without Provisioned <br>Concurrency.</blockquote><blockquote><strong>D.</strong> Use AWS Lambda to host the model, loading it from Amazon S3 on each invocation.</blockquote><ul><li>Resposta correta: Letra C</li></ul><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><h4><strong><em>Exemplo de questão que aparece com essas caixinhas com opções para escolher a correta condizente com o texto proposto.</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eLh6YRRWKBnKS1oDfL39wA.png" /></figure><p><em>Referência: Simulado comentado recomendado anteriormente do Jon Bonso.</em></p><h4>Desejo boa sorte à todos e qualquer dúvida podem me chamar no meu <a href="http://www.linkedin.com/in/%20jo%C3%A3o-gaioso-7825551a0">LinkedIn</a>!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07374bd75ccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Construindo uma Arquitetura Serverless para Rotular Imagens Automaticamente com o AWS Rekognition]]></title>
            <link>https://joaogaioso.medium.com/construindo-uma-arquitetura-serverless-para-rotular-imagens-automaticamente-com-o-aws-rekognition-671393a36ea3?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/671393a36ea3</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 11:31:55 GMT</pubDate>
            <atom:updated>2025-08-19T13:13:16.117Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*nJ4E1yesDxkSjuqPwKB6mA.png" /></figure><h3>Neste artigo, mostro como criar uma arquitetura <strong>100% serverless</strong> na AWS para:</h3><ul><li>Receber imagens em um bucket S3.</li><li>Acionar uma função Lambda automaticamente.</li><li>Processar a imagem com o <strong>Amazon Rekognition</strong>.</li><li>Armazenar os resultados em uma tabela <strong>DynamoDB</strong>.</li></ul><h3>Arquitetura</h3><p>A arquitetura é formada por 4 componentes:</p><ul><li><strong>Amazon S3</strong> → ponto de entrada das imagens.</li><li><strong>AWS Lambda</strong> → orquestrador do fluxo.</li><li><strong>Amazon Rekognition</strong> → motor de análise de imagens.</li><li><strong>Amazon DynamoDB</strong> → banco NoSQL no qual armazenamos os metadados.</li></ul><h3>Hands-On!</h3><h4>1- Passo: Criação do Bucket S3</h4><ul><li>Lembre-se de um nome único e deixa as configurações padrão.</li></ul><h4>2 - Passo: Criando a Tabela do DynamoDB</h4><ul><li>Definir um nome para a tabela do Dynamo, ex: “<strong>rekognition_123_table</strong>”</li><li><strong>Partition Key</strong>: “Image” tipo do dado “String” e o resto das configurações padrão.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2btQ17pe3EWirzK2fT6xQ.png" /></figure><h4>3 - Passo: Construção da Função Lambda</h4><ul><li>Defina um nome para sua função como: “<strong>Detect-Label-Function</strong>”</li><li><strong>Runtime</strong>: Python 3.11</li><li>Altere a “<strong>execution role</strong>” sugiro que crie antes uma role específica para essa função no IAM, com permissões de GetObject no S3, DetectLabels do Rekognition, PutItem do DynamoDB e Permissões de Logs do CloudWatch. Neste passo desafio vocês a explorarem e fazerem a criação dessa role 😉, caso tenham dúvida podem me chamar no <a href="http://www.linkedin.com/in/jo%C3%A3o-gaioso-7825551a0">LinkedIn</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8k8-LEoYLEHJpD3J868b9A.png" /></figure><ul><li>Após a criação da função em “<strong>Code</strong>” altere o código para esse e faça o deploy:</li></ul><pre>import boto3<br>import os<br><br>DYNAMO_DB_TABLE = os.environ[&#39;DYNAMO_DB_TABLE&#39;]<br><br>rekognition = boto3.client(&#39;rekognition&#39;, &#39;us-east-1&#39;)<br>table = boto3.resource(&#39;dynamodb&#39;).Table(DYNAMO_DB_TABLE)<br><br>def lambda_handler(event, context):<br>    bucket_data = event[&#39;Records&#39;][0][&#39;s3&#39;]<br>    bucket = bucket_data[&#39;bucket&#39;][&#39;name&#39;]<br>    key = bucket_data[&#39;object&#39;][&#39;key&#39;]<br>    try:<br>        response = label_prediction(bucket, key)<br>        return response<br>    except Exception as e:<br>        raise e<br><br>def label_prediction(bucket, key):<br>    response = rekognition.detect_labels(<br>        Image={&quot;S3Object&quot;: {&quot;Bucket&quot;: bucket, &quot;Name&quot;: key}},<br>        MaxLabels=10,<br>        MinConfidence=90,<br>    )<br><br>    labels = [label_prediction[&#39;Name&#39;] for label_prediction in response[&#39;Labels&#39;]]<br> <br>    table.put_item(Item={<br>        &#39;Image&#39;: key,<br>        &#39;Labels&#39;: labels,<br>    })<br><br>    print( &#39;Image: &#39; + key + &#39; | Labels: &#39; + str(labels) )<br><br>    return response</pre><h4>O que esse código acima faz?</h4><ul><li>Basicamente esse código da função Lambda conecta S3 → Rekognition → DynamoDB de forma automática:</li><li>A função Lambda recebe o evento do S3 com nome do bucket e da imagem.</li><li>Chama o Rekognition (<strong>detect_labels</strong>) para identificar até 10 labels(objetos) na imagem, com confiança mínima de 90%.</li><li>Extrai apenas os nomes das labels retornadas.</li><li>Grava no DynamoDB um item contendo a chave da imagem e a lista de labels detectadas.</li><li>Em “<strong>Configuration</strong>” altere o timeout da função para 10 segundos e logo após configure “<strong>Enviroment Variables</strong>” e crie a variável “<strong>DYNAMO_DB_TABLE</strong>” e valor preencha com o nome da sua tabela do DynamoDB.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_rN0cYbIYZ0Qx0IUMbCX6w.png" /></figure><h4>4 - Passo: Configurando o S3 Events para Invocar nossa Função Lambda</h4><ul><li>Ir no nosso Bucket no console na aba Properties.</li><li>Procurar por Event Notifications e clicar em “<strong>Create Event Notification</strong>”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GLZm8Z_Bwa-k8JwqrKJLoA.png" /></figure><ul><li>Mais abaixo em “<strong>Destination</strong>” e selecionar o ARN da sua função Lambda.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XIFFvy0T1gwlzqq2eW76aQ.png" /></figure><h4>5- Passo: Testar!!!</h4><ul><li>Faça o Upload de uma imagem no seu bucket e logo após pode ir no Log groups da sua função Lambda e analisar os logs da execução da mesma.</li><li>Dentro de Log Streams, acesse o Log events terá um resultado similar a esse(vai depender da imagem a qual fizer o upload):</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tP3AXtNHbRl5RhI_Tizedw.png" /></figure><ul><li>Depois vá na sua tabela do DynamoDB em “<strong>explore items</strong>” e análise o resultado!</li></ul><h3>Conclusão</h3><p>Em poucos passos, montamos uma arquitetura serverless e escalável para análise automática de imagens.</p><p>O que é mais interessante desse lab é como a AWS nos permite conectar vários serviços com pouco código.<br>Com essa arquitetura, temos uma pipeline que pode ser aplicada em alguns cenários reais como:</p><ul><li>Classificação de imagens em e-commerce.</li><li>Indexação automática de catálogos.</li><li>Moderação de uploads em redes sociais</li></ul><p><strong>OBS:</strong> Para esses outros cenários com certeza poderíamos implantar outras melhorias, configurações etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=671393a36ea3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Em 15 de julho de 2025, a AWS reformulou completamente seu modelo de Free Tier para clientes que…]]></title>
            <link>https://joaogaioso.medium.com/o-novo-free-tier-da-aws-o-que-mudou-em-julho-de-2025-0d33fc82481c?source=rss-ca64b7ad9c5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d33fc82481c</guid>
            <dc:creator><![CDATA[João Vitor Gaioso de Faria Ribeiro]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 05:14:23 GMT</pubDate>
            <atom:updated>2025-07-30T05:15:06.250Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odzRtQSqsNpA_lUeDYQilw.png" /></figure><p>Em 15 de julho de 2025, a AWS reformulou completamente seu modelo de Free Tier para clientes que criam contas <strong>após essa data</strong>. A mudança traz um novo formato de <strong>Free Plan baseado em créditos</strong>, substituindo o antigo modelo de 12 meses grátis por sempre.</p><h3>Principais novidades (para contas criadas a partir de 15/07/2025):</h3><ul><li>Você recebe automaticamente <strong>US $ 100</strong> de créditos ao criar a conta.</li><li>É possível ganhar até <strong>mais US $ 100 adicionais</strong> ao realizar atividades como: Lançar uma EC2, criar um budget para sua conta, criar um banco de dados RDS, etc..</li><li>O plano dura no máximo <strong>6 meses ou até os créditos serem consumidos</strong>, o que ocorrer primeiro. Após o término, há 90 dias de <strong>grace period</strong>, depois dos quais a conta é fechada automaticamente e os dados são excluídos se não for feita a atualização para plano pago</li><li>O plano Free não permite acesso a serviços que possam consumir rapidamente todos os créditos, como compras no<strong> AWS Marketplace ou instâncias reservadas.</strong></li></ul><h3>Comparativo Free Plan vs Paid Plan</h3><ul><li><strong><em>Créditos inciais:</em></strong> Tanto no Free quanto no Paid, disponível US $100 ao criar a conta e + até US $ 100 adicionais (cumprindo as atividades)</li><li><strong><em>Acesso a serviços AWS:</em></strong> No Free possui serviços sempre grátis e trials, já no Paid todos serviços AWS liberados.</li><li><strong><em>Duração:</em> </strong>O Free tem a duração de 6 meses ou total utilização dos créditos, o Paid indefinida, ou seja, não possui encerramento automático.</li><li><strong><em>Período de retenção dos dados:</em></strong> Free 90 dias após expirar e já o Paid continua ativo sem exclusão automática como já vimos.</li><li><strong><em>Elegibilidade para promoções:</em></strong> O Free não elegível para outros créditos, já o Paid pode participar de diversos programas promocionais.</li></ul><h3>Serviços Always Free disponíveis (mesmo após 6 meses)</h3><p>Mesmo quando os créditos acabam ou o período expira, os serviços <strong>Always Free</strong> continuam disponíveis indefinidamente. Entre os principais:</p><ul><li><strong>AWS Lambda:</strong> até 1 milhão de invocações por mês e 400.000 GB‑segundos</li><li><strong>Amazon DynamoDB:</strong> 25 GB de armazenamento com capacidade provisionada</li><li><strong>Amazon S3:</strong> 5 GB de armazenamento padrão, 20.000 GETs, 2.000 PUTs/COPY/POST com até 100 GB de saída por mês</li><li><strong>Amazon CloudFront:</strong> inclui até 1 TB de transferência de dados para fora + 10 milhões de requisições</li><li><strong>Amazon SNS:</strong> até 1 milhão de publishes por mês</li></ul><p>A lista completa ultrapassa <strong>30 </strong>serviços com ofertas Always Free! Confira neste <a href="https://aws.amazon.com/pt/free/?ams%23interactive-card-vertical%23pattern-data-339318104.filter=%257B%2522filters%2522%253A%255B%257B%2522id%2522%253A%2522GLOBAL%2523local-tags-free-tier-products-plan-type.and%2522%252C%2522value%2522%253A%255B%2522always-free%2522%255D%257D%255D%257D">link</a>.</p><h3><strong>O que acontece se eu ainda tiver créditos após 6 meses?</strong></h3><p>Mesmo que ainda restem créditos promocionais na sua conta, o plano gratuito da AWS será encerrado automaticamente após seis meses, caso você não tenha feito o upgrade para um plano pago.</p><p><strong><em>Regras de validade do novo Free Plan:</em></strong></p><ul><li>O plano expira ao final de 6 meses ou assim que os créditos forem utilizados, o que acontecer primeiro.</li></ul><p><strong><em>Após o término:</em></strong></p><ul><li>Sua conta será encerrada automaticamente.</li><li>Todos os recursos (instâncias, bancos de dados, buckets etc.) são desligados.</li><li>Os dados são excluídos depois de um período de carência de 90 dias, que permite a recuperação.</li><li>Créditos não utilizados serão <strong>perdidos</strong>.</li></ul><h3>Como manter sua conta ativa e preservar os créditos</h3><p>Se quiser continuar utilizando os créditos promocionais após o período de 6 meses, você precisa fazer o upgrade para o plano pago (paid):</p><ul><li>Acesse o AWS Billing Console e entre com sua conta.</li><li>Vá até Account Settings (Configurações da Conta).</li><li>Clique em “<strong>Upgrade to Paid Plan</strong>” (Atualizar para plano pago).</li><li>Confirme a alteração.</li></ul><p><strong>Após a atualização:</strong></p><ul><li>Sua conta não será mais encerrada automaticamente.</li><li>Créditos remanescentes continuam válidos até serem consumidos ou expirarem.</li><li>Você passa a ter acesso completo a todos os serviços da AWS.</li><li>Não haverá cobrança imediata: você só começa a pagar se<strong><em> ultrapassar</em></strong> os limites gratuitos ou os créditos disponíveis.</li></ul><h3>Benefícios do novo Free Plan da AWS</h3><ul><li>Exploração <strong><em>sem riscos</em></strong>: ideal para aprendizado, PoCs e testes com isolamento contra cobranças indesejadas</li><li>Créditos recorrentes: até US $200 no total se você fizer as atividades recomendadas!</li><li>Acesso aos<strong><em> Always Free</em></strong> para uso contínuo mesmo após término dos créditos esses serviços permanecem gratuitos</li><li><strong><em>Encerramento automático</em></strong> protege recursos: se você não migrar para plano pago, a conta fecha e evita surpresas financeiras</li><li><strong><em>Transparência e controle:</em></strong> alertas por e-mail e dashboard ajudam a manter visibilidade sobre o uso.</li></ul><h3>Como criar uma conta no plano Free — passo a passo</h3><ul><li>Acesse o site da <a href="https://aws.amazon.com/pt/free/?trk=3d4f296a-86dd-4b2f-9400-31e54faf5b3f&amp;sc_channel=ps&amp;ef_id=Cj0KCQjw4qHEBhCDARIsALYKFNMpJf8ZqJYIfFrgu-yMJnwTOi8j17a-yX5ykPqFc1tJJR9OjsCfD8QaAoi9EALw_wcB%3AG%3As&amp;s_kwcid=AL%214422%213%21507891927296%21p%21%21g%21%21aws%2112582854283%21122410197969&amp;gad_campaignid=12582854283&amp;gbraid=0AAAAADjHtp99KdoOu3m_XqughbQ6nl90y&amp;gclid=Cj0KCQjw4qHEBhCDARIsALYKFNMpJf8ZqJYIfFrgu-yMJnwTOi8j17a-yX5ykPqFc1tJJR9OjsCfD8QaAoi9EALw_wcB&amp;ams%23interactive-card-vertical%23pattern-data-339318104.filter=%257B%2522filters%2522%253A%255B%255D%257D">AWS Free Tier</a> e clique em “<strong><em>Create a Free Account</em></strong>”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*MASz2C7yztjdv1o_2JXM_g.png" /></figure><ul><li>Preencha os dados (nome, e-mail, telefone e cartão válido — necessário mesmo <strong>sem custo imediato</strong>). Utilize um <strong>novo</strong> e-mail <strong>nunca<em> </em></strong>utilizado na AWS e crie um<strong><em> </em>novo </strong>cartão virtual também <strong>nunca<em> </em></strong>utilizado/cadastrado na <strong>AWS<em>.</em></strong></li><li>Na etapa de “account plan”, selecione o Free Plan (opção gratuita).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*2SeesfYRvL4T5a5R9_MtOA.png" /></figure><ul><li>Após criação, você recebe US $100 de crédito automaticamente.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*1fOA4iMO0XF2Wf4UOE7QIA.png" /></figure><ul><li>Para ganhar até US $100 adicionais, faça as atividades recomendadas no console AWS.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*IjAnddJcSVi5qSUhGRCtOQ.png" /></figure><ul><li>Configure alertas orçamentários usando AWS Budgets para ser notificado quando chegar a 50%, 25% e 10% de crédito restante; AWS também envia alertas conforme ficam 15, 7 e 2 dias do fim do período de 6 meses.</li><li>Use o console de Billing &amp; Cost Management para acompanhar o uso do Free Tier mensalmente</li></ul><h3>Conclusão</h3><p>Com essa reformulação da AWS sobre o Free Tier em julho de 2025 torna o acesso ao mundo da nuvem mais seguro e previsível: tendo um plano de 6 meses com até <strong>US $200 em créditos</strong><em>,</em> monitoramento integrado e acesso a inúmeros serviços sempre gratuitos. Ideal para quem quer <strong>aprender, validar soluções na nuvem sem preocupações e até mesmo estudar para alguma certificação validando os aprendizados de forma prática!</strong></p><p><strong>Links úteis:</strong></p><ul><li><a href="https://docs.aws.amazon.com/pt_br/awsaccountbilling/latest/aboutv2/free-tier-plans.html">Documentação AWS</a></li><li><a href="https://aws.amazon.com/pt/free/?ams%23interactive-card-vertical%23pattern-data-339318104.filter=%257B%2522filters%2522%253A%255B%257B%2522id%2522%253A%2522GLOBAL%2523local-tags-free-tier-products-plan-type.and%2522%252C%2522value%2522%253A%255B%2522always-free%2522%255D%257D%255D%257D">Site AWS sobre os serviços “always free”</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d33fc82481c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>