Cloudwatch Delete All Log Groups

/ Comments off

Setup

Also, if you launched any CloudFormation stacks, there may be log groups associated with custom resources in those stacks that you should delete. From the AWS Console click Services then select CloudWatch under Management Tools. This gives you an overview of all logs in the group, and allows you to drill down into each log stream to look at the logs for a single container. Translating this into k8s language, we have: user. Identifies all existing CloudWatch Logs Groups in the account (in a given region) 2. The application requests AWS CWL to export small timeframes of data to an S3 bucket. Once the export process is finished, the application would read it from the bucket. When it is finished reading the data from the S3 bucket it would delete it from the bucket.

Overview

  • Virtualbox
  • Ubuntu 14.04 LTS VM, 64-bithttp://releases.ubuntu.com/14.04/ubuntu-14.04.4-desktop-amd64.iso
  • create new machine, settings
    • System / Processor
      • Enable PAE/NX
    • System / Acceleration
      • Paravirtualization Interface: Default
      • Enable VT-x/AMD-V
      • Enable Nested Paging
    • Display / Screen
      • Video Memory: 128MB
      • Acceleration: Enable 3D Acceleration
  • boot
  • install

Cloudwatch Delete All Log Groups List

install Virtualbox Guest Additions, passwordless sudo

install AWS CLI

Bash one-liners


Cloudtrail - Logging and Auditing

http://docs.aws.amazon.com/cli/latest/reference/cloudtrail/5 Trails total, with support for resource level permissions

Cloudwatch


IAM

Users

https://blogs.aws.amazon.com/security/post/Tx15CIT22V4J8RP/How-to-rotate-access-keys-for-IAM-usershttp://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.htmlLimits = 5000 users, 100 group, 250 roles, 2 access keys / user

Password policy

Access Keys

Groups, Policies, Managed Policies


S3

EC2

keypairs

Security Groups

Download Cloudwatch Logs

Images

Instances

Tags


Cloudwatch

Log Groups

create a group
list all log groups
delete a group

Log Streams

Cloudwatch - Monitoring