Use AWS Lambda Layers to package a Headless Chrome Browser for use in Lambda Functions
February 15, 2021Using Lambda Layers you can package a Chrome binary prepared for serverless usage that can be reused across multiple Lambda functions.
Written by Dave Kerr who lives and works in New York solving problems with software. Follow him on Twitter, GitHub, and Stack Overflow.
Using Lambda Layers you can package a Chrome binary prepared for serverless usage that can be reused across multiple Lambda functions.
Leveraging the mkcert tool to generate locally-trusted certificates can allow you to develop with HTTPS requests to a Docker Nginx proxy.
With Lambda@Edge you can add security headers to all responses from your CloudFront distribution to follow website security best practices.
Understanding the Cloudfront request lifecycle to trigger Lambda@Edge functions can help you to customize and simplify your Gatsby site deployment.
Using VPC Endpoints you can lower the Data Processing portion of your AWS Costs.
Using bash functions you can better structure your bash scripts and have finer-grained control over output redirection.
Using AWS Route53 (or other DNS service) you can set up a custom subdomain for your Ghost blog by adding a CNAME record.