Simple Lambda Service
Lambda is a framework for building Serverless functions with Docker which has first-class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding.
Deploy
- Install Docker with Docker Compose
- Create external docker network
docker network create proxy - Build and deploy project
cd ./deployments && docker-compose up --build
API
Your function available on custom port. For example 8080 is function port.
Triger function
Allow all http methods
curl -X GET \
http://localhost:3000/v1/function/{uuid}Create new function
curl -X POST \
http://localhost:3000/v1/create \
-H 'Content-Type: application/json' \
-d '{
"name": "example",
"runtime": {
"executor": "/bin/cat",
"cmd": ""
},
"repository": {
"image": "deissh/lambda-runner:latest"
},
"service": {
"port": "8080"
}
}'Result
{
"uuid": "c80d737d0040dff9c9b0341908273dfd71f66f4e5eb8302a0b9d8b26e9b87089"
}Inspect function
/v1/inspect/:uuid
curl -X GET \
http://localhost:3000/v1/inspect/{uuid}Delete function
/v1/delete/:uuid
You need change uuid befour use.
curl -X GET \
http://localhost:3000/v1/delete/{uuid}
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

