Install a Variable Store on S3 with AWS Lambda

S3 Storage Lambda

OverOps can use AWS Lambda for a serverless Variable Store on S3. A CloudFormation stack is used to facilitate the deployment of these services.


git - in order to clone the repository with the CloudFormation template
docker - we use docker to encapsulate the dependencies for deploying to AWS
S3 bucket - an S3 bucket for the overops storage
IAM Credentials - AWS credentials, which we'll copy into the deploy folder. If you already have credentials in ~/.aws/credentials file you may use this file.

The credentials must have appropriate access to AWS services to read/write S3, API gateway, lambda and create/manage roles to apply to those as well as CloudFormation itself.
The required roles are as follows:


These may be applied in AWS IAM (Identity and Access Management):


Setup / Configuration

The first thing you will need to do is clone the takipi-storage repository from github and checkout the branch with the lambda implementation.

git clone
git checkout s3-storage-lambda

After completing the above, the AWS credentials need to be copied into takipi-storage/deploy/docker/credentials.

Enter the name of the S3 bucket to be used for storage in takipi-storage/deploy/docker/Dockerfile:

ENV S3_BUCKET=your-overops-storage

If you are not deploying to us-east-1, you will need to edit takipi-storage/deploy/docker/config:



The deploy script ( will package and deploy the CloudFormation stack for the overops-storage S3 Lambda services.

To execute the script make sure you are in the deploy directory before running it from a terminal.
For example:

cd takipi-storage/deploy

When the script completes successfully, you should see output in the console with the storage URL, similar to what is seen below.

Key                 StorageApi                                                                                                                                  
Description         URL for application                                                                                                                         

To view and manage what is deployed directly on AWS, navigate to


Before finishing the setup, verify the deployment is healthy by using the StorageApi URL from the output above and appending "/storage/v1/diag/ping" to it.

For example:

The response should give an "ok" indicating that the services are deployed and operational.

Using the Storage Server

Use the StorageApi URL (eg for the "Host name" in the OverOps Management Console.


Once entered, test the connection and then save it. Your OverOps installation is now configured to use AWS Lambda for handling all storage requests with S3.