Git Product home page Git Product logo

Comments (8)

tomnight avatar tomnight commented on May 30, 2024 1

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.

marciobuss avatar marciobuss commented on May 30, 2024

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.

vijaysat1 avatar vijaysat1 commented on May 30, 2024

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.

bastianbb avatar bastianbb commented on May 30, 2024

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.

andresrivero avatar andresrivero commented on May 30, 2024

Hi @bastianbb and @marciobuss,
Are you running the build sh script and aws cli commands on Windows?

from live-streaming-on-aws.

marciobuss avatar marciobuss commented on May 30, 2024

from live-streaming-on-aws.

andresrivero avatar andresrivero commented on May 30, 2024

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.

durgendra avatar durgendra commented on May 30, 2024

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)

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.