{"id":23071948,"url":"https://github.com/scrapingant/aws-lambda-docker-research","last_synced_at":"2025-09-13T00:38:01.933Z","repository":{"id":57760878,"uuid":"360242520","full_name":"ScrapingAnt/aws-lambda-docker-research","owner":"ScrapingAnt","description":"Testing cold-start and performance for custom docker images, launching chrome as an example workload","archived":false,"fork":false,"pushed_at":"2022-08-23T08:05:41.000Z","size":7,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T16:39:29.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScrapingAnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-21T16:50:52.000Z","updated_at":"2024-09-15T00:59:04.000Z","dependencies_parsed_at":"2022-08-22T17:20:44.765Z","dependency_job_id":null,"html_url":"https://github.com/ScrapingAnt/aws-lambda-docker-research","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ScrapingAnt/aws-lambda-docker-research","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapingAnt%2Faws-lambda-docker-research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapingAnt%2Faws-lambda-docker-research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapingAnt%2Faws-lambda-docker-research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapingAnt%2Faws-lambda-docker-research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScrapingAnt","download_url":"https://codeload.github.com/ScrapingAnt/aws-lambda-docker-research/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapingAnt%2Faws-lambda-docker-research/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274902323,"owners_count":25371074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T07:18:17.400Z","updated_at":"2025-09-13T00:38:01.891Z","avatar_url":"https://github.com/ScrapingAnt.png","language":"JavaScript","readme":"# Puppeteer performance in AWS Lambda Docker containers\nThis repo contains all code and scripts, used in article https://dev.to/megabotan/puppeteer-performance-in-aws-lambda-docker-containers-2325\n## Local run\nYou need to setup docker, and download aws-lambda-rie binaries `./download_rie.sh`\n#### Run custom docker lambda image\n`./custom_build.sh \u0026\u0026 ./custom_run.sh`\n#### Run AWS based docker image\n`./aws_based_build.sh \u0026\u0026 ./aws_based_run.sh`\n#### Test running image locally\n`curl -XPOST \"http://localhost:9000/2015-03-31/functions/function/invocations\" -d '{\"url\": \"https://example.com\"}'`\n## Deploy\nFirst you have to [setup AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html). Don't forget to set credentials and region in AWS cli config files.\nAfter that install [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html).\n\nAll deploy steps are in `deploy/push_image_and_deploy_lambda.sh`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapingant%2Faws-lambda-docker-research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrapingant%2Faws-lambda-docker-research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapingant%2Faws-lambda-docker-research/lists"}