1 00:00:00,130 --> 00:00:00,963 ‫So this is something 2 00:00:00,963 --> 00:00:02,550 ‫that may look obvious for you 3 00:00:02,550 --> 00:00:03,505 ‫but what is the difference 4 00:00:03,505 --> 00:00:05,040 ‫between CloudTrail, CloudWatch and X-Ray? 5 00:00:05,040 --> 00:00:08,510 ‫I'll just try to summarize it in one slide. 6 00:00:08,510 --> 00:00:11,240 ‫So CloudTrail is to audit API calls 7 00:00:11,240 --> 00:00:12,830 ‫that are made in your account 8 00:00:12,830 --> 00:00:16,120 ‫by user, services or even from the AWS console. 9 00:00:16,120 --> 00:00:17,460 ‫It's really useful when you want 10 00:00:17,460 --> 00:00:18,690 ‫to detect unauthorized calls 11 00:00:18,690 --> 00:00:19,940 ‫or you wanna find the root cause 12 00:00:19,940 --> 00:00:21,623 ‫of changes due to API calls. 13 00:00:22,460 --> 00:00:26,250 ‫Now, CloudWatch is to use metrics for monitoring, 14 00:00:26,250 --> 00:00:27,730 ‫so CloudWatch Metrics for monitoring 15 00:00:27,730 --> 00:00:30,960 ‫and CloudWatch Logs for storing the application logs. 16 00:00:30,960 --> 00:00:32,650 ‫CloudWatch Alarms to send notification 17 00:00:32,650 --> 00:00:35,070 ‫in case of unexpected metrics, for example. 18 00:00:35,070 --> 00:00:38,480 ‫And so all of this has to do with monitoring, okay? 19 00:00:38,480 --> 00:00:39,730 ‫So CloudTrail is API calls, 20 00:00:39,730 --> 00:00:41,690 ‫CloudWatch is going to be around monitoring. 21 00:00:41,690 --> 00:00:44,090 ‫X-Ray is for automated trace analysis 22 00:00:44,090 --> 00:00:46,120 ‫and central service map visualization 23 00:00:46,120 --> 00:00:48,390 ‫so if you have a distributed service, 24 00:00:48,390 --> 00:00:50,040 ‫this is a great way to look at things. 25 00:00:50,040 --> 00:00:51,670 ‫And this is really helpful for debugging 26 00:00:51,670 --> 00:00:53,970 ‫and also looking at stuff like latency, 27 00:00:53,970 --> 00:00:55,940 ‫errors and fault analysis 28 00:00:55,940 --> 00:00:58,190 ‫from within the X-Ray console. 29 00:00:58,190 --> 00:00:59,520 ‫You can also get, as I said, 30 00:00:59,520 --> 00:01:02,250 ‫request tracking across your distributed systems. 31 00:01:02,250 --> 00:01:04,210 ‫So hopefully that makes it pretty clear 32 00:01:04,210 --> 00:01:06,340 ‫which service is used for what. 33 00:01:06,340 --> 00:01:08,540 ‫CloudWatch is really just for overall metrics, 34 00:01:08,540 --> 00:01:10,420 ‫X-Ray is a lot more granular, 35 00:01:10,420 --> 00:01:12,530 ‫trace-oriented type of service 36 00:01:12,530 --> 00:01:15,290 ‫and CloudTrail is going to be for auditing API calls. 37 00:01:15,290 --> 00:01:16,610 ‫Okay, hope that was helpful. 38 00:01:16,610 --> 00:01:18,360 ‫I will see you in the next lecture.