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
SST ( Serverless Stack Toolkit ) 使ってみた
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
koara
September 26, 2023
Programming
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SST ( Serverless Stack Toolkit ) 使ってみた
2023-09-26 緊急開催!サーバーレス座談会 in JAWS-UG 大阪
koara
September 26, 2023
More Decks by koara
See All by koara
AWSでデータ解析を始めたーい
ra1211
0
370
もめんと会 Momento Cache
ra1211
0
85
JAWS-UG 名古屋 AVAハンズオン+re:Inforceの復習
ra1211
0
140
JAWS ミート 2023
ra1211
0
82
JAWS-UG大阪 AWS re:Invent 2022 re:Cap
ra1211
0
140
20221112_四国クラウドお遍路.pdf
ra1211
0
360
Other Decks in Programming
See All in Programming
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
200
速習iPhone Duo対応
yuukiw00w
2
980
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
ジョジョの世界をXRで再現する
mofurune
0
150
すこし踏み込む CancellationToken
htkym
2
1.7k
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
250
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
150
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
990
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
250
mrbgem 三角測量 開発
ogom
0
240
R8 の設定見直しでアプリサイズ削減
andpad
0
210
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
800
Become a Pro
speakerdeck
PRO
31
6.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
30 Presentation Tips
portentint
PRO
1
430
The Cost Of JavaScript in 2023
addyosmani
55
10k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
How to Talk to Developers About Accessibility
jct
2
570
Transcript
SST ( Serverless Stack Toolkit ) 使ってみた 2023.09.23
Who am I ? { "Name": "古賀巧", "X_id": "@koara__fftr", "Age":
27, "Career": [ “C”, ”C++”, ”C#”, ”JavaScript”, ”PHP”], "Hobbies": ["音楽"], "Certifications": [ ], "Favorite_AWS_service": "AWS Lambda", "Other": [ ] }
What is SST?
SSTを使う準備 aws cliをインストールしておく 認証情報を設定しておく npx create-sst@latest my-app cd my-app npm
install npx sst start SSTを使う
SSTコンソールとAWSアカウントの紐づけ
SSTコンソールとAWSアカウントの紐づけ
別タブが開いてAWSコンソールにログイン
SSTとAWSアカウントを紐づけるための CFnスタックをデプロイする
「sst-」から始まるAdminstratorAccess権限をもつIAMロール SSTConnectというカスタムタイプのリソース (Lambda関数)を作成
デプ完
packages\frontend packages\functions stacks フロントエンド Lambda関数 インフラ SSTアプリのディレクトリ構造
SSTアプリにフロントエンドを追加する Reactを追加 npx create-react-app packages/frontend --use-npm .env追加 package.jsonのstartコマンドにsst bindを追加 npm
run start https://sst.dev/examples/how-to-create-a-reactjs-app-with-serverless.html
フロントエンドとバックエンドを一緒に書ける CDKよりも抽象化されていて簡単に書ける ローカルでLambdaを実行してデバッグできる 変更がすぐに適応される CDKよりも速い SSTを使うメリット SST独自の書き方 CDKよりも抽象化されていて簡単に書けてしまう SSTコンソールで確認できるのはサーバーレスサービ スのみ
SSTを使うデメリット