This repo contains a serverless application that periodically loads a website, takes a screenshot and saves to an Amazon S3 bucket.
Learn more about this project at: https://acloudguru.com/blog/engineering/serverless-browser-automation-with-aws-lambda-and-puppeteer.
Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.
- AWS CLI already configured with Administrator permission
- NodeJS 12.x installed
-
Create an AWS account if you do not already have one and login.
-
Install Git and install the AWS Serverless Application Model CLI on your local machine.
-
Create a new directory and navigate to that directory in a terminal.
-
Clone this repo:
git clone https://github.com/aws-samples/scheduled-website-screenshot-app
- Deploy the application:
sam deploy --guided
Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0