Custom code that’s run in an ephemeral context. Aka Function as a Service (FaaS) • The code that we want to execute • Our Application • The Service we provide to our users
• It’s an abstraction layer • It’s still a server! • Created only to run your code and then destroyed • Has no state or persistence Custom code that’s run in an ephemeral context. Aka Function as a Service (FaaS)
Built-in automatic scaling • Only pay for what you use • You have to manage the persistence of the state A bot in minutes with Serverless Main features
with Bot Builder 2. Define our function 3. Deploy to AWS Lambda 4. Create a Facebook Messenger App 5. Create a Page and get the access token 6. Update function with Page access token 7. Add Facebook Messenger webhook 8. Publish the Facebook App 1. Install Claudia with Bot Builder 2. Define our function 3. Deploy to AWS Lambda 4. Create a Facebook Messenger App 5. Create a Page and get the access token 6. Update function with Page access token 7. Add Facebook Messenger webhook 8. Publish the Facebook App