Giter VIP home page Giter VIP logo

cmda's Issues

Timeout issue for large upload

When uploading file(s) over ~50mb, the cmda will throw timeout error due to timeout setting in the lambda function. And the cmda will asked to try to fix it by creating a vpc endpoint to S3.

upload command fails silently when permissions

When uploading to a file system that I do not have write permissions for the upload command fails silently.
When uploading to a non-existent directory the upload command fails noisily, as appropriate.
The mkdir command fails as expected, with appropriate messages.

I realize these are two very different execution paths.

cmda myfile.txt /var/task

fails silently

cmda myfile.txt /bar/no_such_dir

fails noisily.

cmda mkdir /var/fail_dir

fails noisily.

ps thanks for this utility!

General 1st Interaction Feedback

First, amazing tool and thanks so much for the work into this. I've been exploring using this tool for moving a key service to Lambda unlocked by EFS. So far so good when doing simple things like ls and exec/echo writes. But on my first upload I'm getting his error.

Invoking Lambda to copy files remotely...Rate Exceeded.

I can tell that the Lambda did compress a directory of files ~190MB and compressed ~80MB to the coda bucket. While this was happening, I was watching the CloudWatch Logs of the Lambda and this error above was reached long before I saw the cmda Lambda reach the "END RequestId: ..." part in the log. Eventually CloudWatch shoed this.

REPORT RequestId: f4fa646c-685c-44ab-8c2f-effc69a35cb3	Duration: 524145.03 ms	Billed Duration: 524200 ms	Memory Size: 3008 MB	Max Memory Used: 79 MB	

And after that I could confirm that nothing was uploaded. So thinking something happened during the decompress & write. FYI, I have verified that the cmda setup works by doing something like this.

$ cmda sh -c 'echo hello > /mnt/efs/someremotefile.txt'

Right now my EFS is in Bursting and General Purpose modes. Maybe the write to disk is slow and I should change it to provisioned? Other thoughts? Again, thanks for this heroic πŸ¦Έβ€β™‚οΈπŸ¦Έβ€β™€οΈ tool.

Add CDK Construct

The cmda stack could be reduced to a CDK construct to attach to an existing CDK stack

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.