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
さっそくチェック! Amplify Gen2のデプロイ体験
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
oto trip
December 14, 2023
Technology
490
1
Share
さっそくチェック! Amplify Gen2のデプロイ体験
oto trip
December 14, 2023
More Decks by oto trip
See All by oto trip
AWS Amplify Gen2 GA ! 裏側をちょっと覗いて、Gen2と仲良くなろう.pdf
ototrip
1
380
Maestroで楽がしたい!
ototrip
0
270
Amplify + React Nativeで挑む! 新規事業アプリの開発
ototrip
0
460
TypeScript と Amplify を使った概念検証術
ototrip
0
470
Other Decks in Technology
See All in Technology
20260528_生成AIを専属DSに_Howの次にすべきことを考える
doradora09
PRO
0
270
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
300
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
190
Javaで学ぶSOLID原則
negima
1
240
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
140
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
310
NFLコンペ2026 解法
lycorptech_jp
PRO
0
130
組織の中で自分を経営する技術
shoota
0
230
基礎から解説!Icebergで紐解くSnowflake×Databricks連携の現在地
cm_yasuhara
0
410
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
190
Cloud Run のアップデート 触ってみる&紹介
gre212
0
270
なぜハノーバーメッセに行くべきなのか 〜初参加だから語れること〜
tanakaseiya
0
190
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
830
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Unsuck your backbone
ammeep
672
58k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Ethics towards AI in product and experience design
skipperchong
2
290
Testing 201, or: Great Expectations
jmmastey
46
8.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
570
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Transcript
Copyright © MEC Co., Ltd. All Rights reserved. 1 ͬͦ͘͞νΣοΫʂ
Amplify Gen2ͷσϓϩΠମݧ 2023.12.14ɹAmplify Boost Up #04
Copyright © MEC Co., Ltd. All Rights reserved. Amplify Gen2
🎉
Copyright © MEC Co., Ltd. All Rights reserved. Amplify Gen2
🎉 Amplify Gen2ύϒϦοΫϓϨϏϡʔͷஈ֊Ͱ͢ɻ ࠓޙɺେ෯ͳมߋ͕ൃੜ͢ΔՄೳੑ͕͋Γ·͢ɻ
Copyright © MEC Co., Ltd. All Rights reserved. 4 ໊લ
ཱ ༏࢘ʢ@adt0705 ʣ ॴଐ ϝοΫגࣜձࣾ Amplify Japan UG ӡӦ ͬͯΔ͜ͱ ৽نࣄۀͷϞόΠϧΞϓϦ։ൃ Α͘͏ AWS, Next.js / React Native ٕज़, ݴޠ Python, TypeScript ࣗݾհ
Copyright © MEC Co., Ltd. All Rights reserved. 5 •
Amplify Gen2ͷσϓϩΠମݧ ࠓ͢͜ͱ • ͦͦAmplify • Amplify Hosting ࠓ͞ͳ͍͜ͱ
Copyright © MEC Co., Ltd. All Rights reserved. 6 https://docs.amplify.aws/gen2/build-a-backend/
ࠓɺ͜ͷ͋ͨΓͷΛ͠·͢ɻ Gen2 Amplify ΧςΰϦ
Copyright © MEC Co., Ltd. All Rights reserved. σϞ &
ݱঢ়ͷνΣοΫ Amplify Gen2ͷಛ ·ͱΊ ͘͡
Copyright © MEC Co., Ltd. All Rights reserved. 8 •
Full TypeScript όοΫΤϯυఆٛํ๏͕ɺैདྷͷCLI͔ΒTypeScriptʹ • Sandboxڥ ։ൃڥͷߏங͕༰қʹ • AWS Cloud Development Kit (CDK) ʹΑΔ֦ு ओཁΧςΰϦҎ֎ͷϦιʔεఆ͕ٛ༰қʹ Amplify Gen2ͷಛ
Copyright © MEC Co., Ltd. All Rights reserved. 9 Gen1͔ΒGen̎
Gen1 Gen2
Copyright © MEC Co., Ltd. All Rights reserved. σϞ &
ݱঢ়ͷνΣοΫ Amplify Gen2ͷಛ ·ͱΊ ͘͡
Copyright © MEC Co., Ltd. All Rights reserved. 11 V
Init App
Copyright © MEC Co., Ltd. All Rights reserved. 12 DataΧςΰϦ
ʢσϞʣ
Copyright © MEC Co., Ltd. All Rights reserved. 13 SandboxͷதԿͳͷ͔ʁ
←CDKίϚϯυ ͭ·Γɺ σϓϩΠํ๏ͦͷͷ͕ CDKʹஔ͖ΘͬͯΔ https://github.com/aws-amplify/amplify-backend/blob/main/packages/backend-deployer/src/cdk_deployer.ts
Copyright © MEC Co., Ltd. All Rights reserved. 14 StorageΧςΰϦ
ʢσϞʣ
Copyright © MEC Co., Ltd. All Rights reserved. 15 StorageΧςΰϦকདྷతʹʁ
←কདྷతʹ͜͏ͳΔɺ ɹΒ͍͠ ͳͷͰɺ ͓ͦΒ͘౷߹͞Ε·͢ https://docs.amplify.aws/gen2/reference/project-structure/
Copyright © MEC Co., Ltd. All Rights reserved. 16 FunctionsΧςΰϦ
https://docs.amplify.aws/gen2/build-a-backend/data/custom-business-logic/ ͔͠͠Step1 import {Func} from '@aws-amplify/backend’; ͕Ͱ͖ͣɺஅ೦͠·ͨ͠ Gen1ͷ@function directiveʹ νϟϨϯδʂ
Copyright © MEC Co., Ltd. All Rights reserved. 17 •
Full TypeScriptͰܕ҆શͳ։ൃ͕ՄೳʹͳΔ • SandboxڥͰAWS্Ͱ͙͢ʹࢼͤΔ • CDKʹΑΔ֦ு͕༰қʹͳΔ • ͜Ε͔ΒͷਐԽʹظ͍ͯ͠·͢ʂ ·ͱΊ