Configure EC2 logs to Cloudwatch
In this article, ec2 (Amazon Linux) will be configured with Cloud Watch to send its logs.
All the resources will be created with Terraform.
Let's start with VPC, subnet, route tables & etc..
VPC.tf
resource "aws_vpc" "vpc" {
cidr_block = var....
anilappari.hashnode.dev3 min read