Files are processed and transformed by AWS Lambda functions and stored on S3. Lambdas are built, managed and deployed by Apex.
All Lambda functions are defined in the "functions" directory:
project.json
functions
├── bar
│ ├── function.json
│ └── index.js
└── foo
├── function.json
└── index.js
Router Lambda is triggered by S3 put events and is responsible for triggering worker Lambas to process files:
Follow instruction to install Apex Lambda Deployment tool
$ apex init --env {prod|stage|dev}
This command will attempt to create a role within your aws account to be used by apex
from project root:
$ apex deploy {lambda-name}