Apex Lambda

1 min read apex, lambda

Written in 2016. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/apex-lambda-playground.

learn Apex serverless architecture

Example Session

apex init
apex deploy
apex logs --follow
apex invoke hello
echo -n '{"name": "brian"}' | apex invoke hello
apex list
echo -n '{"q": "heroku"}' | apex invoke search

# file upload example
# see screenshot of how to access file contents from lambda @
#   http://static-content-01.s3-website-us-east-1.amazonaws.com/2__apex_logs_-f__apex__1DF7126D.png
curl -i -F name=test -F filedata=@README.md https://UPDATEME.execute-api.us-east-1.amazonaws.com/prod/playground_api-gateway

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.