Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Serverless Slack bot
Search
lielran
February 27, 2017
Technology
270
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Slack bot
Serverless slack bot @Hibob
lielran
February 27, 2017
More Decks by lielran
See All by lielran
aws-sageMaker
lielran
0
23
All-In-On-Serverless
lielran
1
54
the future of development environment
lielran
0
50
Other Decks in Technology
See All in Technology
Apache Iceberg が拓く AI 時代のオープンレイクハウス
tomtanaka
0
130
猫でもわかるKiro Web
kentapapa
1
140
AIエージェントを安全で速い現場監督にする:Jev・Obsidian・メタハーネス
x5gtrn
PRO
0
140
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
3
21k
音声コミュニティを守るAI監視基盤_ 90%以上の入力削減を支えたServerless設計と運用判断
shuheioka123
0
110
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
130
Lambda MicroVMsは常駐サーバーの代わりに なるか? Kiro Crew を動かして検証してみた / Kiro Crew on Lambda MicroVMs
k_adachi_01
2
300
IR Today: Theory, Practice, and Agents
dtunkelang
0
200
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
130
エージェントはローカル、検証はMicroVM — Lambda MicroVMsでつくるServerless CI
fujioka6789
4
850
AIに書かせて、プラットフォームで縛る ― EKSプラットフォームで実践した責任境界と権限設計
elmodev09
1
930
Harness Engineering on Rails
joelq
0
710
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Claude Code のすすめ
schroneko
67
230k
We Have a Design System, Now What?
morganepeng
55
8.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Chasing Engaging Ingredients in Design
codingconduct
0
340
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Building the Perfect Custom Keyboard
takai
2
890
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
350
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Transcript
None
Private & Confidential 2 HIBOB.COM SORTING THE PEOPLE STUFF
Private & Confidential 3 HR Bob in a nutshell Digital
Broker & All in one cloud-based platform for SMEs
Private & Confidential 4 Employee Engagement . Leveraging the platforms
Buying power. Up-selling private insurance. Bob in a nutshell
The mission Slack service @hibob Serverless framework Benefits Challenges The
Agenda
Build a Slack Service Simple setup Fast development Easy to
onboard new team members The Mission
Slack service @hibob
The Serverless framework Cli tool(Nodejs) Cloudformation based Supports multiple regions
Supports multiple Stages per region Can deploy all(function) or only one of them Versioning and Rollback supported. Support environments variables for each environment
Serverless 101 Serverless.yml file (config) Function Handlers (code)
Serverless.yml(config) file service: hello-lambda provider: name: aws runtime: nodejs4.3 #
(Support LTS versions) functions: hello: handler: handler.hello memorySize: 1524 # optional, default is 1024 timeout: 10 # timeout in secs events: - http: #other events: S3, schedule, sns, DynamoDbStream, alexaSkill, IOT path: users/create method: get custom: FOO: BAR resources: … # CloudFormation resource templates
The function • Event - event data to the handler
• Context - runtime information • Callback - optional callback to return information to the caller
The Serverless framework - deployment $ serverless deploy Serverless.yml Zip
Cloudformation update Update Lambda
Other frameworks Apex Aws SAM And many more!
None
Slack - OAuth
Slack - Scopes 1. Webhook - url that you can
post messages to 2. Command - invoke request for data (e.g /giphy ) 3. Bot - read your channel data
Slack Service - OAuth
Slack Service - Webhooks(Cron)
Slack Service - Command
Slack Service - Command
Serverless Slack Service - Benefits Cost effective Fast development Infinite
scale Easy setup Easy onboarding new team members
Pitfalls
Pitfall #1 - Submit request only after long live token
Pitfall #2 - Use Lambda Proxy integration
Pitfall #3 - Node.Js On lambda Aws Lambda support only
LTS version Keep the setup simple - avoid babel/webpack if you can
Challenges Unit / Integration testing Debug Development flow in teams
Service discovery Architecture Communication with other lambdas Cold starts Monitoring/Health checks
Questions?