Author: Aaron VanSledright

  • Setting Up AWS Chatbot

    Amazon Web Services pushed their new Chatbot into beta recently. This simple bot will allow you to get alerts and notifications sent to either Slack or Amazon Chime. Because I use Slack for alerting I thought this would be a great tool. Previously I utilized Marbot to accommodate a similar function. Marbot is a great…

  • Copying Files To & From an AWS S3 Bucket

    Copying Files To & From an AWS S3 Bucket

    Recently I needed to download an entire bucket worth of data for an offsite backup. Easy right? Go to the Amazon Web Services Console and hit download! WRONG. You can download individual files but not an entire bucket. Seems silly. Luckily there is an easy way to do it via the Amazon Web Services CLI.…

  • AWS CLI For CPU Credit Balance

    AWS CLI For CPU Credit Balance

    Here is how you create a CloudWatch alarm to monitor CPU Credit Balances less than a certain amount: aws cloudwatch put-metric-alarm –alarm-name YOUR NAME HERE–alarm-description “Alarm when CPU Credits is below 200” –metric-name CPUCreditBalance –namespace AWS/EC2 –statistic Average –period 300 –threshold 200 –comparison-operator LessThanThreshold –dimensions Name=InstanceId,Value=INSTANCEIDHERE –evaluation-periods 2 –alarm-actions ARN:YOURSNSTOPIC CloudFormation Template:https://github.com/avansledright/CloudFormation-CPU-CREDIT-BALANCE

  • Lessons Learned from Migrating 17TB of Data

    Lessons Learned from Migrating 17TB of Data

    I finally pulled the trigger on some new hard drives for my home NAS. I am migrating from a 5U Server down two a small desktop size NAS. Ultimately this removes the need for my 42U standing rack. I did this transfer a year or so ago when I did a full rebuild of my…

  • Encrypt an Existing EBS Volume

    Encrypt an Existing EBS Volume

    Say you have an existing EBS volume on Amazon Web Services that you wanted to encrypt. How would you do that? The following guide shows you how to do so via the AWS Management Console. Login to your console. Navigate to the the EBS Volume you would like to encrypt 3. Right click on your…

  • Fixing Unadoptable Unifi Devices

    Fixing Unadoptable Unifi Devices

    I wrote an article about this before that utilizes Robo3T. I figured I should also have a version for those of you who utilize SSH and Command Line. DISCLAIMER: I am not responsible if you break anything. If you need help let me know before you create a big mess! EDIT: I wrote a Python…

  • Counting Web Requests

    I manage a ton of web servers. Occasionally I see attempts at flooding the servers with traffic. Typically in a malicious way. Generally these are just small attacks and nothing to write home about. But, I wanted a way see how many times a server was getting a request from a specific IP address. Obviously…

  • AWS Backup

    AWS Backup

    Recently Amazon Web Services announced its new service called AWS Backup. The goal is to create a simple, automated backup solution for resources within the AWS Cloud. There have been plenty of other solutions out there for backups but most are quite costly. Here is a look at the pricing for the AWS Backup solution:…

  • Fixing Unifi Controller Errors

    Recently I was working on a device that for the life of me I could not get to attach to my Unifi Controller. Repeatedly I would get used default key in INFORM_ERROR state, reject it! error on my server. The other error that I kept getting on the device itself was Decrypt Error when running…

  • The Security Specialty Certification

    Today I sat the AWS Security Specialty Exam. While I didn’t pass I thought to provide some commentary on the experience in relation to the training that I sought out to assist myself in the process. I have been a big fan of ACloudGuru. They helped me pass my Solutions Architect exam last year so naturally,…