Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SST ( Serverless Stack Toolkit ) 使ってみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
koara
September 26, 2023
Programming
0
230
SST ( Serverless Stack Toolkit ) 使ってみた
2023-09-26 緊急開催!サーバーレス座談会 in JAWS-UG 大阪
koara
September 26, 2023
Tweet
Share
More Decks by koara
See All by koara
AWSでデータ解析を始めたーい
ra1211
0
310
もめんと会 Momento Cache
ra1211
0
73
JAWS-UG 名古屋 AVAハンズオン+re:Inforceの復習
ra1211
0
130
JAWS ミート 2023
ra1211
0
73
JAWS-UG大阪 AWS re:Invent 2022 re:Cap
ra1211
0
120
20221112_四国クラウドお遍路.pdf
ra1211
0
330
Other Decks in Programming
See All in Programming
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.4k
CSC307 Lecture 03
javiergs
PRO
1
490
並行開発のためのコードレビュー
miyukiw
0
290
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
CSC307 Lecture 07
javiergs
PRO
1
550
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
Fluid Templating in TYPO3 14
s2b
0
130
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Data-Centric Kaggle
isax1015
2
780
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
68
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
30 Presentation Tips
portentint
PRO
1
220
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Exploring anti-patterns in Rails
aemeredith
2
250
How GitHub (no longer) Works
holman
316
140k
Building Adaptive Systems
keathley
44
2.9k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
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を使うデメリット