---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLndfMUVPTWstcndj
videoId: w_1EOMk-rwc
title: "Sending logs to CloudWatch from Amazon Linux 2"
date: "2021-09-28T17:23:21Z"
slug: "sending-logs-to-cloudwatch-from-amazon-linux-2"
image: 
  name: "sending-logs-to-cloudwatch-from-amazon-linux-2.jpg"
  alt: "Sending logs to CloudWatch from Amazon Linux 2"
  width: 1280
  height: 720
status: 'published'
description: "Learn how to send logs from an Amazon Linux 2 EC2 instance to cloud watch. "
tags: ['aws', 'cloud computing', 'syslog']
---

Learn how to send logs from an Amazon Linux 2 EC2 instance to cloud watch. 

[https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/QuickStartEC2Instance.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/QuickStartEC2Instance.html)

## Chapters:

* 0:00​ Intro
* 1:00 IAM Role for Cloud Watch
* 2:50 Setting up an  EC2 instance
* 6:30 Installing and configuring cloud watch agent
* 8:47 Viewing logs in Cloud Watch
* 10:43 Summary

🔗Other tutorials:
Cloud Computing Playlist: [https://youtube.com/playlist?list=PL0X6fGhFFNTcU-_MCPe9dkH6sqmgfhy_M](https://youtube.com/playlist?list=PL0X6fGhFFNTcU-_MCPe9dkH6sqmgfhy_M)


