Live data from Hacker News

AWS Lambda now supports up to 10 GB Ephemeral Storage

aws.amazon.com

1–10 of 18 posts

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#4
post #3

this is fantastic for anyone wanting to run Chrome inside of Lambda (one of the biggest challenges is getting Chrome to fit)

What's the use case? I see a sibling commenter mentioned puppeteer which I'm aware is essentially Chrome. Are you too referring to running puppeteer in Lambda? If so, what is the purpose?

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#5
post #3

this is fantastic for anyone wanting to run Chrome inside of Lambda (one of the biggest challenges is getting Chrome to fit)

What's the use case? I see a sibling commenter mentioned puppeteer which I'm aware is essentially Chrome. Are you too referring to running puppeteer in Lambda? If so, what is the purpose?

Puppeteer-core can already fit in a lambda around 60mb and can be used for web scraping, taking screenshots, or performance testing.

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#6
post #3

this is fantastic for anyone wanting to run Chrome inside of Lambda (one of the biggest challenges is getting Chrome to fit)

What's the use case? I see a sibling commenter mentioned puppeteer which I'm aware is essentially Chrome. Are you too referring to running puppeteer in Lambda? If so, what is the purpose?

Chrome headless

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#7
post #5

Earlier quoted context omitted.

What's the use case? I see a sibling commenter mentioned puppeteer which I'm aware is essentially Chrome. Are you too referring to running puppeteer in Lambda? If so, what is the purpose?

Puppeteer-core can already fit in a lambda around 60mb and can be used for web scraping, taking screenshots, or performance testing.

How’s the overhead? Are you launching full chrome every lambda invocation?

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#8
post #3

this is fantastic for anyone wanting to run Chrome inside of Lambda (one of the biggest challenges is getting Chrome to fit)

What's the use case? I see a sibling commenter mentioned puppeteer which I'm aware is essentially Chrome. Are you too referring to running puppeteer in Lambda? If so, what is the purpose?

scalable pdf rendering

Re: AWS Lambda now supports up to 10 GB Ephemeral Storage

#9
post #7
post #5

Earlier quoted context omitted.

Puppeteer-core can already fit in a lambda around 60mb and can be used for web scraping, taking screenshots, or performance testing.

How’s the overhead? Are you launching full chrome every lambda invocation?

In one lambda I can load chrome, visit a website, take a screenshot and save it to S3 in around 2s with around 280mb memory used. You could keep chrome open and reuse it if available, but you can't count on it with lambda being stateless.

I use this Chromium binary https://www.npmjs.com/package/chrome-aws-lambda

Post reply on HN