Day - 10 | Global Infrastructure | AWS Cloud Practitioner Certification CLF-C02

Day - 10 | Global Infrastructure | AWS Cloud Practitioner Certification CLF-C02

➢ Why make a global application?

⇾ Global AWS Infrastructure

⇾ Global Applications in AWS

➢ Amazon Route 53 Overview

⇾ Route 53 - Diagram for A Record

➢ Route 53 Routing Policies

⇾ simple routing policy

⇾ weighted routing policy

⇾ latency routing policy

⇾ failover routing policy

➢ AWS CloudFront

⇾ CloudFront - Origins

⇾ CloudFront vs S3 Cross Region Replication

⇾ S3 Transfer Acceleration

➢ AWS Global Accelerator

⇾ AWS Global Accelerator vs CloudFront

➢ AWS Outposts

⇾ AWS Outposts Benefits

➢ AWS WaveLength

➢ AWS Local Zones

➢ Global Applications - Summary


Why make a global application?

  • A global application is an application deployed in multiple geographies
  • On AWS: this could be Regions and / or Edge Locations
  • Decreased LatencyLatency is the time it takes for a network packet to reach a serverIt takes time for a packet from Asia to reach the USDeploy your applications closer to your users to decrease latency, better experience
  • Disaster Recovery (DR)If an AWS region goes down (earthquake, storms, power shutdown, politics)…You can fail-over to another region and have your application still workingA DR plan is important to increase the availability of your application
  • Attack protection: distributed global infrastructure is harder to attack

Global AWS Infrastructure

  • Regions: For deploying applications and infrastructure
  • Availability Zones: Made of multiple data centers
  • Edge Locations (Points of Presence): for content delivery as close as possible to users
  • More at: https://infrastructure.aws/

Global Applications in AWS

  • Global DNS: Route 53Great to route users to the closest deployment with least latencyGreat for disaster recovery strategies
  • Global Content Delivery Network (CDN): CloudFrontReplicate part of your application to AWS Edge Locations – decrease latencyCache common requests – improved user experience and decreased latency
  • S3 Transfer AccelerationAccelerate global uploads & downloads into Amazon S3
  • AWS Global Accelerator:Improve global application availability and performance using the AWS global network


Amazon Route 53 Overview

  • Route53 is a Managed DNS (Domain Name System)
  • DNS is a collection of rules and records which helps clients understand how to reach a server through URLs.
  • In AWS, the most common records are:www.google.com => 12.34.56.78 == A record (IPv4)www.google.com => 2001:0db8:85a3:0000:0000:8a2e:0370:7334 == AAAA IPv6search.google.com => www.google.com == CNAME: hostname to hostnameexample.com => AWS resource == Alias (ex: ELB, CloudFront, S3, RDS, etc…)

Route 53 - Diagram for A Record


Route 53 - Diagram for A Record

Route 53 Routing Policies

Need to know them at a high-level for the Cloud Practitioner Exam

  • simple routing policy
  • weighted routing policy
  • latency routing policy
  • failover routing policy

simple routing policy

  • Use for a single resource that performs a given function for your domain
  • for example, a web server that serves content for the example.com website.
  • You can use simple routing to create records in a private hosted zone

weighted routing policy

  • Use to route traffic to multiple resources in proportions that you specify.
  • You can use weighted routing to create records in a private hosted zone.

latency routing policy

  • Use when you have resources in multiple AWS Regions and you want to route traffic to the region that provides the best latency.
  • You can use latency routing to create records in a private hosted zone.

failover routing policy

  • Use when you want to configure active-passive failover.
  • You can use failover routing to create records in a private hosted zone.


AWS CloudFront

CloudFront - Origins

  • S3 bucketFor distributing files and caching them at the edgeEnhanced security with CloudFront Origin Access Identity (OAI)CloudFront can be used as an ingress (to upload files to S3)
  • Custom Origin (HTTP)Application Load BalancerEC2 instanceS3 website (must first enable the bucket as a static S3 website)Any HTTP backend you want

CloudFront vs S3 Cross Region Replication

CloudFrontS3 Cross Region ReplicationGlobal Edge networkMust be setup for each region you want replication to happenFiles are cached for a TTL (Time to Live) (maybe a day)Files are updated in near real-time, Read onlyGreat for static content that must be available everywhereGreat for dynamic content that needs to be available at low-latency in few regions

S3 Transfer Acceleration


AWS Global Accelerator

  • Improve global application availability and performance using the AWS global network
  • Leverage the AWS internal network to optimize the route to your application (60% improvement)
  • 2 Anycast IP are created for your application and traffic is sent through Edge Locations
  • The Edge locations send the traffic to your application
  • Test the tool at: https://speedtest.globalaccelerator.aws/#/

AWS Global Accelerator vs CloudFront

  • They both use the AWS global network and its edge locations around the world
  • Both services integrate with AWS Shield for DDoS protection.
  • CloudFront – Content Delivery NetworkImproves performance for your cacheable content (such as images and videos)Content is served at the edge
  • Global AcceleratorNo caching, proxying packets at the edge to applications running in one or more AWS Regions.Improves performance for a wide range of applications over TCP or UDPGood for HTTP use cases that require static IP addressesGood for HTTP use cases that required deterministic, fast regional failover


AWS Outposts

  • Hybrid Cloud: businesses that keep an on - premises infrastructure alongside a cloud infrastructure
  • Therefore, two ways of dealing with IT systems: • One for the AWS cloud (using the AWS console, CLI, and AWS APIs)
  • One for their on-premises infrastructure
  • AWS Outposts are “server racks” that offers the same AWS infrastructure, services, APIs & tools to build your own applications on-premises just as in the cloud
  • AWS will setup and manage “Outposts Racks” within your on-premises infrastructure and you can start leveraging AWS services on-premises
  • You are responsible for the Outposts Rack physical security

AWS Outposts Benefits

  • Low-latency access to on-premises systems
  • Local data processing
  • Data residency
  • Easier migration from on-premises to the cloud
  • Fully managed service
  • Some services that work on Outposts:EC2EBSS3EKSECSRDSEMR


AWS WaveLength

  • WaveLength Zones are infrastructure deployments embedded within the telecommunications providers’ datacenters at the edge of the 5G networks
  • Brings AWS services to the edge of the 5G networks
  • Example: EC2, EBS, VPC…
  • Ultra-low latency applications through 5G networks
  • Traffic doesn’t leave the Communication Service Provider’s (CSP) network
  • High-bandwidth and secure connection to the parent AWS Region
  • No additional charges or service agreements
  • Use cases: Smart Cities, ML-assisted diagnostics, Connected Vehicles, Interactive Live Video Streams, AR/VR, Real-time Gaming


AWS Local Zones

  • Places AWS compute, storage, database, and other selected AWS services closer to end users to run latency-sensitive applications
  • Extend your VPC to more locations – “Extension of an AWS Region”
  • Compatible with EC2, RDS, ECS, EBS, ElastiCache, Direct Connect …
  • Example:AWS Region: N. Virginia (us-east-1)AWS Local Zones: Boston, Chicago, Dallas, Houston, Miami


Global Applications - Summary

  • Global DNS: Route 53Great to route users to the closest deployment with least latencyGreat for disaster recovery strategies
  • Global Content Delivery Network (CDN): CloudFrontReplicate part of your application to AWS Edge Locations – decrease latencyCache common requests – improved user experience and decreased latency
  • S3 Transfer AccelerationAccelerate global uploads & downloads into Amazon S3
  • AWS Global AcceleratorImprove global application availability and performance using the AWS global network
  • AWS OutpostsDeploy Outposts Racks in your own Data Centers to extend AWS services
  • AWS WaveLengthBrings AWS services to the edge of the 5G networksUltra-low latency applications
  • AWS Local ZonesBring AWS resources (compute, database, storage, …) closer to your usersGood for latency-sensitive applications


Happy Learning!

Swathi Punreddy

Senior Associate | Developer | AWS CCP Certified | Devops | Git | Jenkins | Docker | Kubernetes | Ansible | Terraform | Python

3w

Insightful!

Like
Reply

To view or add a comment, sign in

More articles by Anshul Agarwal

Insights from the community

Others also viewed

Explore topics