Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 811 Bytes

readme.md

File metadata and controls

24 lines (17 loc) · 811 Bytes

Purpose

Deploy a Lambda function within your infrastructure to enable Formal HTTP Sidecar to decrypt sensitive data.

How to deploy the lambda?

You can deploy this AWS Lambda function in two ways:

  1. Using the serverless framework To deploy using the Serverless framework, run the following commands:
make deploy
sls deploy

Once deployed you will be able to use the API url provided by AWS API Gateway to configure the Formal frontend to call the lambda and decrypt encrypted log payload.

  1. Using Docker and the provided Dockerfile To deploy using Docker, you should follow those steps:
  2. Build the docker image
  3. Push the docker image to your docker registry (ECR)
  4. Create a lambda function using the docker image as the runtime
  5. Create an API Gateway to expose the lambda function