Tag: python

  • Check EC2 Instance Tags on Launch

    In my ever-growing quest to automate my AWS infrastructure deployments, I realized that just checking my tags wasn’t good enough. I should force myself to put tags in otherwise my instances won’t launch at all. I find this particularly useful because I utilize AWS Backup to do automated snapshots nightly of all of my instances.…

  • Lambda Function Post to Slack

    I wrote this script out of a need to practice my Python skills. The idea is that if a file gets uploaded to an S3 bucket then the function will trigger and a message with that file name will be posted to a Slack channel of your choosing. To utilize this you will need to…

  • Automatically Transcribing Audio Files with Amazon Web Services

    Automatically Transcribing Audio Files with Amazon Web Services

    I wrote this Lambda function to automatically transcribe audio files that are uploaded to an S3 bucket. This is written in Python3 and utilizes the Boto3 library. You will need to give your Lambda function permissions to access S3, Transcribe and CloudWatch. The script will create an AWS Transcribe job with the format: ‘filetranscription’+YYYYMMDD-HHMMSS I…