Git Product home page Git Product logo

aws-automation's Introduction

AWS Automation

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

Brightcove videos retranscode

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.

Step 1: Fetch all videos data and store in local

Execute the following command in terminal to store videos data in local :

$ CLIENT_SECRET=<CLIENT_SECRET> CLIENT_ID=<CLIENT_ID> BRIGHTCOVE_ACCOUNT_ID=<BRIGHTCOVE_ACCOUNT_ID> FUNCTION_NAME=storeBrightcoveVideoDataInJson FILE_DIR_PATH=<FILE_DIR_PATH> node brighcove_videos_bulk_retranscode.js

Step 2: Retranscode videos

Execute the following command in terminal to retranscode videos :

$ CLIENT_SECRET=<CLIENT_SECRET> CLIENT_ID=<CLIENT_ID> BRIGHTCOVE_ACCOUNT_ID=<BRIGHTCOVE_ACCOUNT_ID> INGETION_PROFILE=<INGETION_PROFILE> BRIGHTCOVE_VIDEO_MIN_VIEWS=<BRIGHTCOVE_VIDEO_MIN_VIEWS> FUNCTION_NAME=retranscodeVideos FILE_DIR_PATH=<FILE_DIR_PATH> sh brightcove_all_videos_retranscode.sh

aws-automation's People

Contributors

agnelnandapurapu avatar akashsrinivasan avatar anupsarkar377 avatar dependabot[bot] avatar jawad846 avatar koladilip avatar paragpoddar avatar vlj91 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.