by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sanath Kumar Ramesh
    @sanathkr
    hey!
    Oak Chantosa
    @digioak
    hey!
    ombozek
    @ombozek
    SUp
    Brett Andrews
    @brettstack
    G'day
    mschersten
    @mschersten
    Not sure if anyone is listening here, but here goes. How can I maintain session variables using aws-serverless-express? If I use req.app.set('name', value) that is available in req.app.settings for a short period of time (API Gateway timeout?), and then needs to be set again.
    Brett Andrews
    @brettstack
    You can't maintain sessions as Lambda containers are ephemeral
    You can either include the information in the request, or store it in a persistence layer like DynamoDB or S3.
    mschersten
    @mschersten
    Makes sense. Is this a use for connect-dynamodb or connect-dynamodb-sessions?
    Brett Andrews
    @brettstack
    Looks like those might be useful, though I've never used them myself
    mschersten
    @mschersten
    Thanks
    Bnaya Peretz
    @Bnaya
    apigateway: path
    Is there a way to declare wildcard? users/*
    i want to put my express app user /express/* or so
    gsaireddy
    @gsaireddy
    hi
    Stefano Buliani
    @sapessi
    sure, you can declare your resource as users/{proxy+} in API Gateway
    kopias
    @fredspivock
    Hi guys! Considering using this package bit of a noob in the amazon space. Wondering if this can be used with API gateway. I am making an internal api, and the architect wants to not use an api gateway, just put the lambda behind a load balancer.
    *without an API gateway
    Stefano Buliani
    @sapessi
    I believe this supports alb as well. Brett can confirm
    @brettstack ^^
    kopias
    @fredspivock
    @sapessi TY!
    kopias
    @fredspivock
    @brettstack Wondering if this can be used without API gateway. I am making an internal api, and the architect wants to not use an api gateway, just put the lambda behind a load balancer.
    Brett Andrews
    @brettstack
    @fredspivock this is being actively worked on in the v4 branch https://github.com/awslabs/aws-serverless-express/tree/v4.
    kopias
    @fredspivock
    @brettstack Very cool! Ill follow closely
    Ajay Gajra
    @gajraajay
    can I host express app without serverless express?
    nyel
    @nyel-dev
    can anyone here pls help me set this up?
    Stefano Buliani
    @sapessi
    What issue are you running into @nyel-dev. Hopefully @brettstack can give you some pointers and I can try my best (not really a JS expert)
    Chris Wells
    @chriswells0
    Anyone have a good example to get this working with Loopback 3 (or could talk me through it briefly)?
    Chris Wells
    @chriswells0
    I need to know things like whether to call app.listen().
    SURAJ DATTA
    @suraj_datta_twitter

    Hi All,
    I've deployed an nodejs+express code in lambda function with the help of ClaudiaJS. After the deployment the api's work properly for certain interval. Once the lambda containers are destroyed automatically & i try to hit lambda via API gateway, i get 504 & 502 errors with following message:

    Error: aws-serverless-express connection error

    Can anyone pls help me out with this issue?
    Thanks.