Skip to content

Instantly share code, notes, and snippets.

View danteay's full-sized avatar
:atom:
Working from home

Eduardo Aguilar Yépez danteay

:atom:
Working from home
View GitHub Profile
@danteay
danteay / StarUml-V3.md
Created August 22, 2018 17:43
Active StarUml 3 license
@danteay
danteay / CloudWatch-EC2-logs.md
Last active September 16, 2020 04:09
Add logs from EC2 instance to CloudWatch logs

CloudWatch-EC2

Agent Config

1.- Create new Log Group in CloudWatch

2.- Download agent in EC2 instance

sudo wget http://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.py
package main
import (
"fmt"
"io"
"os"
)
var path = "/Users/novalagung/Documents/temp/test.txt"