<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lab 4: Notificaciones SNS &#43; Lambda Failover :: Español</title>
    <link>https://aws-route53-labs.rofriday.com/04_notificaciones_sns/index.html</link>
    <description>Lab 4: Notificaciones SNS + Lambda Failover En este lab conectamos todos los piezas: cuando el Health Check detecta que el primario cae, SNS envía un email/SMS y Lambda ejecuta el failover cambiando el Routing Control automáticamente.&#xA;Flujo completo Health Check falla │ ▼ CloudWatch Alarm → &#34;ALARM&#34; │ ├──► SNS Topic → Email (notificación instantánea) │ → SMS (opcional) │ └──► Lambda Function &#34;failover-handler&#34; │ ├── Cambia Primary RC → OFF ├── Cambia Secondary RC → ON └── Publica confirmación en SNS Paso 1: Variables de entorno export AWS_REGION=&#34;us-east-1&#34; export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) # Recuperar ARNs del Lab 3 export PRIMARY_RC_ARN=$(aws cloudformation describe-stacks \ --stack-name route53-arc-routing --region $AWS_REGION \ --query &#39;Stacks[0].Outputs[?OutputKey==`PrimaryRoutingControlArn`].OutputValue&#39; \ --output text) export SECONDARY_RC_ARN=$(aws cloudformation describe-stacks \ --stack-name route53-arc-routing --region $AWS_REGION \ --query &#39;Stacks[0].Outputs[?OutputKey==`SecondaryRoutingControlArn`].OutputValue&#39; \ --output text) export ARC_CLUSTER_ARN=$(aws cloudformation describe-stacks \ --stack-name route53-arc-routing --region $AWS_REGION \ --query &#39;Stacks[0].Outputs[?OutputKey==`ARCClusterArn`].OutputValue&#39; \ --output text) export CW_ALARM_NAME=$(aws cloudformation describe-stacks \ --stack-name route53-arc-routing --region $AWS_REGION \ --query &#39;Stacks[0].Outputs[?OutputKey==`CloudWatchAlarmName`].OutputValue&#39; \ --output text) # IMPORTANTE: reemplaza con tu email real export NOTIFICATION_EMAIL=&#34;tu-email@ejemplo.com&#34; # OPCIONAL: reemplaza con tu número (formato internacional) export NOTIFICATION_PHONE=&#34;+54911XXXXXXXX&#34; echo &#34;Primary RC: $PRIMARY_RC_ARN&#34; echo &#34;Secondary RC: $SECONDARY_RC_ARN&#34; echo &#34;CW Alarm: $CW_ALARM_NAME&#34; Aviso Reemplaza tu-email@ejemplo.com con tu email real antes de continuar. Recibirás un email de confirmación de AWS SNS que debes aceptar para que las notificaciones lleguen.</description>
    <generator>Hugo</generator>
    <language>es-ES</language>
    <atom:link href="https://aws-route53-labs.rofriday.com/04_notificaciones_sns/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>