# AWS Global Accelerator

#### **Le contexte et le problème (Many hops = Latency)**

Quand vous naviguez sur Internet pour atteindre un serveur à l'autre bout du monde, vos paquets de données passent par le "public internet". Ils sautent de routeur en routeur chez différents fournisseurs d'accès (ce sont les **hops**). S'il y a de la friture sur la ligne ou un routeur surchargé au milieu de l'océan, votre connexion ralentit ou coupe.

#### **À quoi ça sert ?**

**Global Accelerator** contourne l'Internet public. Dès que le paquet sort de chez l'utilisateur, il entre immédiatement dans l'**Edge Location AWS** la plus proche et voyage ensuite exclusivement sur le **réseau privé mondial d'AWS** (une autoroute de fibre optique ultra-rapide et ultra-stable) jusqu'à votre application.

#### **Ce qu'il faut retenir pour l'examen**

- **Unicast vs Anycast IP :** En *Unicast* classique, chaque serveur a une IP unique. Si vous voulez router vers le serveur le plus proche, c'est complexe.
    
    
    - Global Accelerator vous fournit **2 adresses IP statiques Anycast** uniques pour le monde entier. Peu importe où se trouve l'utilisateur sur Terre, il tape les mêmes IP, et le réseau AWS route magiquement son trafic vers le point d'entrée AWS le plus proche de lui physiquement.
- **Ressources supportées :** Il peut diriger le trafic vers des **Elastic IP**, des instances **EC2**, des **ALB** (Application Load Balancers) ou des **NLB** (Network Load Balancers), que ces ressources soient publiques ou privées.
- **Performances constantes (Consistent performance) :** Comme on évite les embouteillages de l'Internet public, la latence est réduite et surtout ultra-stable.
- **Health Checks (Tests de santé) :** Global Accelerator surveille vos applications dans toutes les régions. Si votre application à Francfort tombe en panne, il redirige instantanément (en quelques secondes) tout le trafic mondial vers votre application de secours en Irlande.
- **Sécurité :** Il masque l'adresse IP réelle de vos serveurs derrière ses IP Anycast, ce qui protège votre architecture des attaques directes.

---

#### **CloudFront vs. Global Accelerator**

<table data-path-to-node="43" id="bkmrk-crit%C3%A8re-amazon-cloud" style="margin-bottom: 32px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><thead style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Critère**</td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Amazon CloudFront**</td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**AWS Global Accelerator**</td></tr></thead><tbody style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,1,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Principe de base**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,1,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Met le contenu en **cache** au plus près de l'utilisateur.</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,1,2,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Optimise le **chemin réseau** via l'autoroute AWS.</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,2,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Type de contenu**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,2,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Idéal pour le contenu HTTP/HTTPS (statique ou dynamique) comme les images, vidéos, fichiers HTML/JS.</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,2,2,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Idéal pour une large gamme de protocoles (**TCP et UDP**), le gaming, la VoIP, la data brute, ou les API HTTP.</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,3,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Mise en cache**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,3,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Oui**, c'est son but principal.</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,3,2,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Non**, il ne stocke aucun fichier. Il ne fait que transporter les données plus vite.</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,4,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">**Adresses IP**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,4,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Fournit un nom de domaine (ex: `d111111abcdef8.cloudfront.net`).</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;"><span data-path-to-node="43,4,2,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;">Fournit **2 adresses IP statiques et fixes** (Anycast).</span></td></tr></tbody></table>