Comments (8)
The build scripts where intended for us in a Linux/mac environment not windows. We'll take a look at this for the next release and either incorporate windows support or update the documentation accordingly. Thanks for the feedback.
from live-streaming-on-aws.
Some additional comments: if I use the template with the default bucket called "solutions", meaning I do not git clone the code nor run the shell script, etc. but alternatively launch the solution via https://docs.aws.amazon.com/solutions/latest/live-streaming/deployment.html, then things actually work. However I don't believe this is the expected result, I would expect the user to create his/her own bucket, run the shell script, sync the s3 bucket, and then create the stack.
from live-streaming-on-aws.
The S3 bucket has to be manually created and the lambda zip file placed in the bucket , incase of adhoc deployment rather than using (https://docs.aws.amazon.com/solutions/latest/live-streaming/deployment.html), please verify the depoloyment process with bucket creation process below
Readme.md
2. Create the deployment packages:
Run the build-s3-dist.sh script, passing in 2 variables:
CODEBUCKET = the name of the S3 bucket (do NOT include the -region extension)
CODEVERSION = this will be the subfolder containing the code.
This will:
copies the console files to ./deployment/dist/.
copies the CloudFormation template to ./deployment/dist/ and updates the source code mappings.
zips and copies the source code to ./deployment/dist/
Example:
cd deployment/
./build-s3-dist.sh bucket 1.01
This will deploy the source code to:
s3://bucket-us-east-1/live-streaming-on-aws/1.01/.
And update the CloudFormation template mappings:
SourceCode:
General:
S3Bucket: bucket
KeyPrefix: live-streaming-on-aws/1.01
3. Upload the Code to Amazon S3.
Use the AWS CLI to sync the lambda code and demo console files to amazon S3:
cd deployment/
aws s3 sync .dist/ s3://bucket-us-east-1/live-streaming-on-aws/1.01/.
from live-streaming-on-aws.
I have the exact same problem with this solution: https://github.com/awslabs/video-on-demand-on-aws
I think that the problem could be related because the deployment process is the same.
from live-streaming-on-aws.
Hi @bastianbb and @marciobuss,
Are you running the build sh script and aws cli commands on Windows?
from live-streaming-on-aws.
from live-streaming-on-aws.
Gotcha. I found that in Windows, it usually wouldn't create the two console ZIP files (console-resource-js and console-resource-py) in the dist folder. The missing ZIP files would trigger the S3 GetObject Error for me, using Linux & Mac fixed that for me - since it created the ZIP files everytime using the build sh
from live-streaming-on-aws.
I was facing similar issue. The solution for me to add region name in the S3 bucket name
e.g.
S3 Bucket: bucket-us-east-1
While in the template it is
Mappings:
SourceCode:
General:
S3Bucket: bucket
........
from live-streaming-on-aws.
Related Issues (17)
- videojs-dash.js file in source has been replaced with a HTML page HOT 2
- [Feature] Add LogsBucket and DemoBucket Logical IDs to Outputs HOT 2
- Pricing: AWS Transfer Family ($.30 per hour - SFTP Endpoint fee) HOT 1
- [Question] Is there an easy way of feed the MediaLive with RTSP stream? HOT 1
- Enconding profiles do not support new attribute QvbrQualityLevel for media live HOT 1
- Convert custom resources to native AWS for MediaLive & MediaPackage resources (Channels/endpoints)
- Input Security Groups not deleted by Delete section HOT 2
- Unable to deploy the 3.1.2 version HOT 1
- Unable to use demo player with RTMP_PUSH configuration HOT 1
- Changes for SonarQube findings
- Rename 'master' branch to 'main'
- cdk-nag updates for CDK conversion
- Update dependencies node
- [Don't Create Medichanel from Cloudformation teamplate] HOT 3
- Update of template fails HOT 1
- Adding support for input creation in a VPC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live-streaming-on-aws.