简体   繁体   中英

Is there any way to automate Window Server 2012/16 EC2 instance log backup directly to AWS S3

就像我上面已经提到的,我正在寻找一种自动将Windows Server的日志备份备份到AWS S3的方法。

There are multiple ways to do this.

  1. You can write a batch script which uses aws cli to push your logs to s3. You can schedule a task which will execute this script. You also have to attach IAM role with s3 permissions to your windows EC2.
  2. You can also stream this logs to cloudwatch using cloudwatch agent. Then you can stream this logs directly to s3. ex. Using CloudWatch Logs Subscription Filter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM