Evented: a talk
Deploying microservices with AWS Lambda, API
Gateway, and Serverless: How marketing does implicit
enrichment at ActiveCampaign
What will we build?
Blink an LED on physical
device (Particle Photon)
when email is sent from AC.
How will we build?
AWS API Gateway → AWS Lambda
via Serverless
What is
AWS Lambda?
AWS Lambda is an event-
driven, serverless
computing platform.
It is a compute service
that runs code in response
to events and
automatically manages the
compute resources required
by that code.
What is
API GATEWAY?
Amazon API Gateway is a
fully managed service that
makes it easy for
developers to create,
publish, maintain,
monitor, and secure APIs
at any scale.
What is
Serverless?
The Serverless Framework
is a CLI tool that allows
users to build & deploy
auto-scaling, pay-per-
execution, event-driven
functions.
Simple Infrastructure
Autoscaling
What are
pre-reqs?
$ npm install -g serverless
$ pip install awscli
What are
Pre-reqs (cont)?
$ export AWS_ACCESS_KEY_ID=
$ export AWS_SECRET_ACCESS_KEY=
# or
$ aws configure
# or
$ vi ~/.aws/credentials
Configure Credentials
ActiveCampaign API Developer Talks - Motivating Sales with Code

ActiveCampaign API Developer Talks - Motivating Sales with Code

Editor's Notes

  • #5 Supported event sources for Lambda: - S3 - DynamoDB - Kinesis - SNS - SES - Cognito - CloudFormation (too meta :mindblown:) - Cloudwatch Logs + Events - CodeCommit - Scheduled Events (like a CRON) - Alexa (fun!) - Lex - API Gateway (what we are doing today) - On Demand Lambda event sources supported by Serverless Docs: https://serverless.com/framework/docs/providers/aws/events/ API Gateway Kinesis & DynamoDB S3 Schedule SNS Alexa Skill IoT CloudWatch Event CloudWatch Log Cognito User Pool