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
LINE Bot & Clova CEK開発者2018大忘年会LT
Search
mochan-tk
December 21, 2018
710
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LINE Bot & Clova CEK開発者2018大忘年会LT
mochan-tk
December 21, 2018
More Decks by mochan-tk
See All by mochan-tk
Azure AI によって広がる開発者の可能性と最新動向/MSBuild AzureAI for Everyone
mochan_tk
0
510
IT活用・自動化にも繋がるLINEの開発者向け テクノロジー紹介 / LINE Technology for External Developer at RPACommunity Event
mochan_tk
0
2.7k
あなたのアプリをもっとスマートに!Azure AIできり拓く新しいアプリ開発の可能性あなたのアプリをもっとスマートに!Azure AIできり拓く新しいアプリ開発の可能性 / talking about Azure AI for LINE API Expert x Microsoft MVP Community Day
mochan_tk
0
190
機械学習の民主化が加速する! 新サービス SageMaker Canvas について /new service sagemaker canvas for reinvent 2021
mochan_tk
0
1.4k
[GitHub Copilot]あなたもコードの自動生成を体験できる! with VSCode/vscodemeetup #17 GitHub Copilot with VS Code
mochan_tk
0
780
Azure OpenAI Service関連について! / cogbot #34 Ignite 2021 Nov Recap about Azure OpenAI Service
mochan_tk
0
590
Azure OpenAI Service関連について! / Microsoft Ignite autumn 2021 about Azure OpenAI Service
mochan_tk
0
1.7k
Getting Started with LINE Notify / SORACOM IoT Meetup #4
mochan_tk
0
4.2k
様々なオンラインイベントを開催して見えたリアルな情報の共有 / comucal#4
mochan_tk
0
2k
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
First, design no harm
axbom
PRO
2
1.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
750
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
440
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Transcript
AWS Lambda Layersで Clova開発をちょっと楽にしよう 1 Dec 12th, 2018 -- LINE
Bot & Clova CEK開発者2018大忘年会
自己紹介 もっちゃんでーす 2
Clovaのスキル開発にAWS Lambda使ってますか? 3
Lambda使っている方に朗報です! 便利な新機能が最近発表されました!! 4
その名も AWS Lambda Layers その名もAWS Lambda Layers 5
nodeのモジュールを事前にLambda側に配置が可能 6
layerを作成する 7
layerにアップロードするnodejs.zip作成 以下のコマンドでlayerにアップロードする「nodejs.zip」を作成します。 ついでにLambdaにアップロードする「upload.zip」も作成しています。 ※ 各言語でフォルダ階層は決められている。nodejsは「nodejs/node_modules/」な階層。 https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/configuration-layers.html#configuration-layers-path $ git clone
https://github.com/mochan-tk/clova-handson-20180904.git $ cd clova-handson-20180904 $ git checkout -b lambda-layers origin/lambda-layers $ zip -r upload.zip . $ npm i $ mkdir nodejs && cp -r node_modules nodejs $ zip -r nodejs.zip nodejs 8
nodejs.zipをアップロードする 9
Lambdaからlayerを参照するよう設定 10 Lambdaの画面でさきほど作成したlayerを参照するよう設定。
nodeのモジュールを同梱する必要なし 11 ついでに作成していたupload.zipをアップロードした結果。(nodeの モジュール入れてま せん)
この表示を見ることもなくなるかも? 12 nodeのモジュール同梱でアップロードするとLambda内のエディタが使えなかった。。 こ んな経験ありますよね。。
Clovaのスキル開発をちょっと楽にできる そう、AWSならね 13
ちなみにLambda手動デプロイを自動化する方法 14 • 雑にやり方を公開してます、ちなみに私の公開物は全てパクってOK! ◦ https://github.com/mochan-tk/clova-handson-20180904/tree/lambda-deploy ◦ ↑簡単にCI/CDできる方法 ◦ 他のブランチにも雑なノウハウが(
Typescript化やテストコードの仕組み程度なら入ってます)
15 ご清聴ありがとうございました 良いお年をお迎え下さい!