This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Launch Chainer via AWS Lambda | |
console.log('Launch-Chainer: Start'); | |
var ec2Region = 'us-east-1'; | |
var s3Region = 'ap-northeast-1'; | |
var snsRegion = 'ap-northeast-1'; | |
var s3Bucket = 'mybucket'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Loading function'); | |
var ec2Region = 'ap-northeast-1'; | |
var s3Region = ec2Region; | |
var snsRegion = ec2Region; | |
var s3Bucket = 'mybucket'; | |
var shellScriptS3Key = 'sh/launch_xgboost.sh'; | |
var shellScriptS3Path = 's3://' + s3Bucket + '/' + shellScriptS3Key; |