Mod 12 Edge Services
Mod 12 Edge Services
Lab 6
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Poll question What percentage of your workloads requires
ultra-low latency to devices and users?
A. 0%
B. 1-25%
C. 26-50%
D. 51-75%
E. 76-100%
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 2
Module overview
• Business requests
• Edge fundamentals
• Amazon Route 53
• Amazon CloudFront
• DDoS protection
• AWS Outposts
• Present solutions
• Knowledge check
• Lab 6: Configure an Amazon CloudFront distribution with an Amazon S3 origin
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 3
Business requests The network engineer needs to know:
• Is there a DNS solution for AWS that is both
highly available and scalable?
• What service can provide the content delivery
network that we need?
• How can we protect public-facing
applications?
• Does AWS support any services running on
Network Engineer premises to meet our latency and residency
requirements?
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 4
Edge fundamentals
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Cloud at the edge
Delivering the cloud anywhere customers need it:
AWS Regions Edge locations AWS Local Zones AWS Outposts AWS Snow Family
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 6
Edge services architecture
In this module, you learn about each AWS service involved in this example:
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 7
Amazon Route 53
“Is there a DNS solution for AWS that is both highly available and
scalable?”
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route 53
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 9
Route 53 public and private DNS
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 10
Routing policies
Routing policies:
• Simple
• Failover
• Geolocation
• Geoproximity
• Latency-based
• Multivalue answer
• Weighted
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 11
Failover routing
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 12
Geolocation routing
Europe user
Route 53
US user
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 13
Geoproximity routing
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 14
Latency-based routing
Route 53
76 millisecond latency
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 15
Multivalue answer routing
example.com 10.1.1.2
example.com Unhealthy 10.1.1.3
example.com 10.1.1.4
example.com 10.1.1.1
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 16
Weighted routing
Route 53
New production
10 % weighted traffic environment
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 17
Amazon CloudFront
“What service can provide the content delivery network that we need?”
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Content delivery networks
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 19
Amazon CloudFront
Global content delivery Integrated with AWS Static or dynamic Built-in security
network WAF and AWS Shield content features
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 20
Edge caching
• Decrease
latency by
caching data at
Custom Elastic Load Amazon
edge locations origin Balancing S3
• Increase
security Origin
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 22
CloudFront caching steps
1. The request is
routed to the
optimal edge
location.
2. Non-cached content
is retrieved from the
origin.
3. Origin content is
transferred to a
CloudFront edge
location for caching.
4. Data is transferred
to the user.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 23
Configuring CloudFront
1 2
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 24
Improving performance
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 25
DDoS protection
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DDoS attacks
Each of the
compromised hosts
participates in the attack,
generating a flood of
requests to overwhelm
the intended target.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 27
OSI layer attacks
DDoS attacks can be categorized by the
Open Systems Interconnection (OSI) layer they attack.
Media Layer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 28
AWS Shield
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 29
AWS WAF
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 31
Components of access control
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 32
Control traffic with ACL rule statements
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 33
AWS Firewall Manager
• Centrally set
AWS Firewall Manager
up baseline
security.
• Consistently
enforce the
protections.
• Seamlessly
manage
multiple
accounts. AWS Amazon AWS AWS
WAF VPC Shield Network
security Advanced Firewall
groups
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 34
AWS Firewall Manager use cases
Large number of accounts and New applications created all Central organization-wide
resources the time visibility into threats
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 35
DDoS-resilient reference architecture
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 36
AWS Outposts
“Does AWS support any services running on premises to meet our latency
and residency requirements?”
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
37
AWS Outposts family
(U = rack unit)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 38
Outposts rack and Outposts servers
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 39
Outposts extend your VPC
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 40
AWS resources on Outposts
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 41
Review
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Present Consider how you would answer the
solutions following:
• Is there a DNS solution for AWS that is both
highly available and scalable?
• What service can provide the content delivery
network that we need?
• How can we protect public-facing
applications?
Network Engineer • Does AWS support any services running on
premises to meet our latency and residency
requirements?
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 43
Module review
Lab introduction
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 44
Knowledge check
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Knowledge check question 1
What are the potential benefits of implementing a CloudFront distribution? (Select TWO.)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 46
Knowledge check question 1 and answer
What are the potential benefits of implementing a CloudFront distribution? (Select TWO.)
A
correct Increased application security
D
correct Reduced latency for access to application content
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 47
Knowledge check question 2
A AWS Outposts
B Amazon EC2
D AWS Shield
E AWS WAF
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 48
Knowledge check question 2 and answer
A AWS Outposts
B Amazon EC2
D
correct AWS Shield
E
correct AWS WAF
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 49
Knowledge check question 3
A network engineer wants to route 80 percent of web traffic to the ap-southeast-2 Region. The remaining 20
percent of traffic will be directed to the eu-west-1 Region. Which Route 53 routing policy is the best choice for this
use case?
A Simple routing
B Weighted routing
C Geoproximity routing
D Geolocation routing
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 50
Knowledge check question 3 and answer
A network engineer wants to route 80 percent of web traffic to the ap-southeast-2 Region. The remaining 20
percent of traffic will be directed to the eu-west-1 Region. Which Route 53 routing policy is the best choice for this
use case?
A Simple routing
B
Weighted routing
correct
C Geoproximity routing
D Geolocation routing
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 51
Knowledge check question 4
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 52
Knowledge check question 4 and answer
C
A smaller-sized device can be placed in your own rack
correct
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 53
Lab 6:
Configure an Amazon CloudFront distribution
with an Amazon S3 origin
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lab 6 diagram
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 55
Lab tasks
Task 4: Upload an object into the bucket and test the public access.
Task 7: Test direct access to the file in the bucket using the S3 URL.
Task 8: Test access to the object in the bucket using the CloudFront distribution.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 56
End of Module 12
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.