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
oto trip
December 14, 2023
Technology
1
370
さっそくチェック! Amplify Gen2のデプロイ体験
oto trip
December 14, 2023
Tweet
Share
More Decks by oto trip
See All by oto trip
AWS Amplify Gen2 GA ! 裏側をちょっと覗いて、Gen2と仲良くなろう.pdf
ototrip
1
190
Maestroで楽がしたい!
ototrip
0
180
Amplify + React Nativeで挑む! 新規事業アプリの開発
ototrip
0
370
TypeScript と Amplify を使った概念検証術
ototrip
0
390
Other Decks in Technology
See All in Technology
Application Development WG Intro at AppDeveloperCon
salaboy
0
200
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
100
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
190
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
Lambdaと地方とコミュニティ
miu_crescent
2
370
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
1
280
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Adopting Sorbet at Scale
ufuk
73
9.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
How GitHub (no longer) Works
holman
310
140k
The Cult of Friendly URLs
andyhume
78
6k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Embracing the Ebb and Flow
colly
84
4.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
A better future with KSS
kneath
238
17k
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ʹΑΔ֦ு͕༰қʹͳΔ • ͜Ε͔ΒͷਐԽʹظ͍ͯ͠·͢ʂ ·ͱΊ