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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
360
もめんと会 Momento Cache
ra1211
0
81
JAWS-UG 名古屋 AVAハンズオン+re:Inforceの復習
ra1211
0
130
JAWS ミート 2023
ra1211
0
79
JAWS-UG大阪 AWS re:Invent 2022 re:Cap
ra1211
0
140
20221112_四国クラウドお遍路.pdf
ra1211
0
360
Other Decks in Programming
See All in Programming
Webの地図
yosuke_furukawa
PRO
6
4.6k
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
110
Security issues being discussed on Web Platforms
petamoriken
0
960
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
4
2.2k
Building an Out-of-Order CPU
latte72
1
780
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
120
Family mrubyの進捗
kishima
1
120
XHTMLが残したもの
yosuke_furukawa
PRO
2
810
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
480
SREの越境 / SRE Collaboration
y0hgi
2
220
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
210
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
280
Building the Perfect Custom Keyboard
takai
2
880
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
420
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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を使うデメリット