Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Selenium series: Deploying a simple Lambda function

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Matthew Casperson
Word Count
1,250
Language
English
Hacker News Points
-
Summary

The blog post by Matthew Casperson, published on October 2, 2018, details the process of setting up a simple AWS Lambda function using the Serverless framework as part of a series on creating a Selenium WebDriver test framework. Following the configuration of necessary AWS credentials and uploading of required binaries to S3, the post outlines the addition of dependencies such as aws-lambda-java-core, aws-java-sdk-lambda, and commons-io to facilitate the Lambda function's operation. It explains the process of writing a basic Lambda function that returns a boolean value and details the setup of a serverless.yml configuration file to define service, provider, package, and function details for deployment. The post describes how to manually build and deploy the Lambda function using the Serverless CLI and concludes with a successful test of the function, setting the stage for subsequent posts to expand its functionality to run WebDriver tests.