Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Deploying a Slackbot

To write and deploy our Slackbot, we are going to use Serverless Framework. This is quite suitable because, as you saw in the architecture diagram, we're essentially only building an API that has a different use case. We'll also need to create some integration points for our chatbot service that will be triggered and respond to Slack, so let's do that first.

When asked, our bot's brain is going to respond with a list of ingress ports that are open on a given EC2 instance. For this to work, the brain needs to check the security groups connected to the instance, assemble a list of open ingress ports, and respond appropriately.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355