Software Alternatives & Reviews

Building A Serverless Screenshot Service with Lambda

Serverless Phantomjs Amazon CloudFront AWS CloudFormation Amazon API Gateway
  1. Toolkit for building serverless applications
    Pricing:
    A client recently requested a feature involving screenshots of random URLs. Now, there are several services out there that will do this for you. Most of these services have interesting REST APIs and pricing models, but I really wanted to develop something with Serverless. So I took this opportunity to check it out.

    #Developer Tools #Open Source #CMS 39 social mentions

  2. PhantomJS is a headless browser that works hand in hand with Selenium to help developers more efficiently test their sites and apps.
    For this project we will need some extra binaries ( PhantomJS in particular) to take the screenshots. We’ll also use ImageMagick, but that is provided by AWS by default in the Lambda image, so we don’t package it separately.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 11 social mentions

  3. Amazon CloudFront is a content delivery web service.
    Lastly, there will be a function that the app can call to get a list of all available thumbnail sizes. The app can use the returned URLs to present them to the end user and their browser will download it through CloudFront from S3.

    #CDN #Cloud Computing #Content Distribution 67 social mentions

  4. AWS CloudFormation gives developers and systems administrators an easy way to create and manage a...
    Pricing:
    • Open Source
    We use the stage-variables plugin so we can set stage variables in API Gateway, which we can then use in our Lambda functions. You can configure them in the custom section. This also allows us to use CloudFormation references inside our Lambda functions. CloudFormation will fill in the values with the actual output for us.

    #Continuous Integration #DevOps Tools #Continuous Deployment 113 social mentions

  5. Create, publish, maintain, monitor, and secure APIs at any scale
    The app posts to API Gateway, which triggers a Lambda function that will take the screenshot and upload it to the S3 bucket. It will then return the URL for the created screenshot.

    #API Tools #APIs #Web Service Automation 94 social mentions

Discuss: Building A Serverless Screenshot Service with Lambda

Log in or Post with