AWS automation scripts and lambda functions
| Lambda functions and Scripts | Documentation |
|---|---|
| Export CloudWatch logs to S3 | |
| CloudWatch logs group retention | |
| EC2 automated Snapshots | |
| DynamoDB Table Backup | |
| Lambda Function Tuning | |
| Update Lambda Functions Timeout | |
| Update Lambda Functions Memory | |
| Update Lambda Functions Run Time | |
| Update Lambda Functions Environment Variable | |
| Set Invocations Alarm for Lambda Functions | |
| Enable all ApiGateway APIs logging to CLoudWatch | |
| Stop running EC2 instances | |
| Redshift DC to DS cluster migration |
First we fetch all videos data and store it as a json file in local. Here we fetch 20 videos and retrancode them at a time.
Execute the following command in terminal to store videos data in local :
$ CLIENT_SECRET= CLIENT_ID= BRIGHTCOVE_ACCOUNT_ID= FUNCTION_NAME=storeBrightcoveVideoDataInJson FILE_DIR_PATH= node brighcove_videos_bulk_retranscode.js
Execute the following command in terminal to retranscode videos :
$ CLIENT_SECRET= CLIENT_ID= BRIGHTCOVE_ACCOUNT_ID= INGETION_PROFILE= BRIGHTCOVE_VIDEO_MIN_VIEWS= FUNCTION_NAME=retranscodeVideos FILE_DIR_PATH= sh brightcove_all_videos_retranscode.sh
No open issues yet, or sync has not completed.