WEBVTT
Kind: captions
Language: en

1
00:00:00.000 --> 00:00:06.873
Welcome back to Domain 2. Last time we encrypted the store's data and locked away its secrets.

2
00:00:06.873 --> 00:00:13.966
Today we guard the front door. First, the services that stop attacks before they reach the store:

3
00:00:13.966 --> 00:00:20.839
AWS Shield for floods of traffic, AWS WAF for malicious web requests, and AWS Network Firewall

4
00:00:20.839 --> 00:00:27.493
for traffic inside a VPC. Second, managing those rules centrally with AWS Firewall Manager,

5
00:00:27.493 --> 00:00:32.100
plus partner tools from AWS Marketplace. This is exam task 2.4.

6
00:00:32.500 --> 00:00:37.914
Think of protection as rings around the store. At the outer ring, the edge,

7
00:00:37.914 --> 00:00:43.183
CloudFront and AWS Shield absorb floods of traffic close to the attacker.

8
00:00:43.183 --> 00:00:48.524
Next, AWS WAF inspects each web request before it reaches the application.

9
00:00:48.524 --> 00:00:55.381
Inside the VPC, Network Firewall and security groups decide which network traffic gets through.

10
00:00:55.381 --> 00:01:01.300
No single control is perfect, so each layer catches what the one before it missed.

11
00:01:01.700 --> 00:01:08.007
The most common threat at the edge is a DDoS attack: distributed denial of service.

12
00:01:08.007 --> 00:01:14.542
An attacker controls thousands of hijacked machines and points them all at one target.

13
00:01:14.542 --> 00:01:20.849
Each request may look harmless, but together they swamp the network or the servers.

14
00:01:20.849 --> 00:01:27.384
The store isn't hacked; it's simply too busy to answer, so real shoppers can't get in.

15
00:01:27.384 --> 00:01:30.500
The goal is to make the site unavailable.

16
00:01:30.900 --> 00:01:37.827
AWS Shield is the DDoS service, with two tiers. Shield Standard protects every AWS customer automatically,

17
00:01:37.827 --> 00:01:42.923
at no extra cost, against the most common network and transport layer attacks.

18
00:01:42.923 --> 00:01:49.131
Shield Advanced is a paid subscription. It adds enhanced detection, including application layer

19
00:01:49.131 --> 00:01:53.967
attacks with AWS WAF, around-the-clock access to the Shield Response Team,

20
00:01:53.967 --> 00:02:00.370
and cost protection against scaling charges caused by an attack, for resources such as CloudFront,

21
00:02:00.370 --> 00:02:02.200
load balancers and Route 53.

22
00:02:02.600 --> 00:02:09.050
AWS WAF is a web application firewall. It works at layer 7, reading each HTTP request.

23
00:02:09.050 --> 00:02:16.325
You attach a web ACL, a list of rules, to the store. Rules can block SQL injection and cross-site

24
00:02:16.325 --> 00:02:23.375
scripting, deny listed IP addresses or countries, and a rate-based rule blocks an address that

25
00:02:23.375 --> 00:02:30.650
sends too many requests. The shopper's request is allowed; the attacker's request is blocked with

26
00:02:30.650 --> 00:02:33.500
an error, and never reaches the store.

27
00:02:33.900 --> 00:02:38.958
WAF protects web-facing resources: CloudFront distributions at the edge,

28
00:02:38.958 --> 00:02:45.280
Application Load Balancers, API Gateway REST APIs, and others such as AppSync and Cognito.

29
00:02:45.280 --> 00:02:51.742
You don't attach it to an EC2 instance directly; put a load balancer or CloudFront in front.

30
00:02:51.742 --> 00:02:58.485
You can write your own rules or start from managed rule groups, ready-made rules from AWS or AWS

31
00:02:58.485 --> 00:03:02.700
Marketplace sellers that cover common exploits and bad bots.

32
00:03:03.100 --> 00:03:08.039
Inside the network, AWS Network Firewall is a managed firewall for your VPC.

33
00:03:08.039 --> 00:03:14.603
Traffic is routed through it, and it filters by ports, protocols, domain names and threat signatures,

34
00:03:14.603 --> 00:03:19.802
using both stateful and stateless rules. Security groups, which you met earlier,

35
00:03:19.802 --> 00:03:24.611
still guard each instance. So Network Firewall protects the whole network,

36
00:03:24.611 --> 00:03:29.485
and security groups protect individual resources. Neither one replaces WAF,

37
00:03:29.485 --> 00:03:31.500
which understands web requests.

38
00:03:31.900 --> 00:03:38.210
Now picture the store growing to many AWS accounts. Setting the same rules in each one by hand

39
00:03:38.210 --> 00:03:44.990
is slow and error-prone. AWS Firewall Manager uses AWS Organizations: from one administrator account,

40
00:03:44.990 --> 00:03:51.501
you define policies for WAF, Shield Advanced, security groups, Network Firewall and DNS Firewall.

41
00:03:51.501 --> 00:03:57.609
It applies them across accounts, and adds them automatically to new accounts and resources.

42
00:03:57.609 --> 00:04:01.100
It manages rules; it doesn't inspect traffic itself.

43
00:04:01.500 --> 00:04:07.815
Sometimes a company already trusts a security vendor. AWS Marketplace is a catalog of third-party

44
00:04:07.815 --> 00:04:13.869
software, including firewalls, endpoint protection, log analysis tools and managed WAF rules.

45
00:04:13.869 --> 00:04:19.272
You can find, buy and deploy them quickly, and the charges appear on your AWS bill.

46
00:04:19.272 --> 00:04:25.326
For the exam, remember that third-party security products are available from AWS Marketplace,

47
00:04:25.326 --> 00:04:27.800
alongside AWS's own security services.

48
00:04:28.200 --> 00:04:33.189
Here's how the exam asks about this. Protect against DDoS at no extra cost:

49
00:04:33.189 --> 00:04:38.842
Shield Standard. Twenty-four seven DDoS experts and cost protection: Shield Advanced.

50
00:04:38.842 --> 00:04:44.762
Block SQL injection or cross-site scripting: AWS WAF. Limit requests from one IP address:

51
00:04:44.762 --> 00:04:49.817
a WAF rate-based rule. A managed firewall for a whole VPC: Network Firewall.

52
00:04:49.817 --> 00:04:56.336
The same firewall rules across all accounts: Firewall Manager. And a third-party security product:

53
00:04:56.336 --> 00:04:57.400
AWS Marketplace.

54
00:04:57.800 --> 00:05:03.359
To recap: Shield Standard protects every customer from common DDoS attacks for free,

55
00:05:03.359 --> 00:05:09.911
and Shield Advanced adds experts, wider detection and cost protection. AWS WAF filters web requests

56
00:05:09.911 --> 00:05:16.132
with rules at layer 7. Network Firewall guards a VPC, and security groups guard each instance.

57
00:05:16.132 --> 00:05:21.426
Firewall Manager pushes the same policies to every account in your organization,

58
00:05:21.426 --> 00:05:27.118
and AWS Marketplace offers partner tools. Next, we'll detect threats that get through,

59
00:05:27.118 --> 00:05:29.500
with GuardDuty, Inspector and Macie.
