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
Amplify CLIが作成するバックエンド
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
shonansurvivors
November 11, 2020
Technology
3.3k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Amplify CLIが作成するバックエンド
shonansurvivors
November 11, 2020
More Decks by shonansurvivors
See All by shonansurvivors
SREのキャリアから経営に近づく - Enterprise Risk Managementを基に -
shonansurvivors
2
1.7k
Adminaで実現するISMS/SOC2運用の効率化 〜 アカウント管理編 〜
shonansurvivors
4
770
SOC2取得の全体像
shonansurvivors
4
3.1k
非エンジニアによるDevin開発のためにSREができること
shonansurvivors
0
300
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
1.1k
スタートアップがAWSパートナーになって得られたこと
shonansurvivors
3
1.4k
AWSで構築するCDパイプラインとその改善
shonansurvivors
5
4.3k
Terraformでmoduleを使わずに複数環境を構築して感じた利点
shonansurvivors
3
4.3k
クロステナントアクセスを要件とするsmartroundのマルチテナントSaaSアーキテクチャ
shonansurvivors
0
700
Other Decks in Technology
See All in Technology
Patterns in AI Driven Software Development
akosma
PRO
0
440
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
740
Adversary Infrastructure Hunting101
disconinja
0
190
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
110
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
210
新卒エンジニア、 介護士になる
ryu1013
1
670
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
ALBのLCU予約とトラフィックの波によるプロダクト理解 / Understanding ALB LCU and Traffic Spikes
mito201
1
130
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
140
ドメインエキスパートは いかにして AI を使って プロダクト開発をするか
tatsuyashiraishi
1
260
Consistency for mere mortals - A gentle guide to consistency
ufried
0
120
これだけは抑えておきたい!後悔しない re:Invent の過ごし方 / AWS re:Invent 2026 prestudy
kinunori
2
670
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
390
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
340
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
The Pragmatic Product Professional
lauravandoore
37
7.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Documentation Writing (for coders)
carmenintech
77
5.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Facilitating Awesome Meetings
lara
57
7.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Transcript
Amplify CLIが作成するバックエンド @shonansurvivors
• 山原 崇史 (Takashi Yamahara) • JAWS-UG 初心者支部 運営メンバー
• 某Web系企業のSRE • Twitter : @shonansurvivors 自己紹介
Amplifyって何なん?
Amplifyって何なん?というのも・・・ • 自分が普段仕事で関わる多くのWebアプリは以下のような構成 • AmplifyによるWebアプリ構築の方法が全くイメージできていない
そこでAmplifyのチュートリアルにトライ • Amplify Docs (OSSであるAmplify CLIの公式) ◦ Getting started -
Amplify Docs (https://docs.amplify.aws/start ) ▪ チュートリアルの数が多い(Vue, React, Android, iOS etc.) ▪ 英語のみ ▪ Vueのコードを編集するパートが少しわかりづらい (つまづきポイント) • builders.flash (日本のAWS開発者向けWebマガジン) ◦ AWS AmplifyとVue.jsを使って、基本的な認証とCRUD操作ができるWebアプリケーションを作る (https://aws.amazon.com/jp/builders-flash/202008/amplify-crud-app/ ) ▪ 日本語 ▪ わかりやすい (特につまづくような箇所が無い)
Todoアプリ作成の流れ(Vue版) No. 実施内容 コマンド 1 Vue CLI, Amplify CLIのインストール
npm i -g @vue/cli @aws-amplify/cli 2 Vueプロジェクトのセットアップ vue create { プロジェクト名 } 3 Amplify CLIの初期設定 amplify configure 4 バックエンドの初期設定 amplify init 5 認証機能の作成 amplify add auth 6 GraphQL APIとデータベースの作成 amplify add api 7 バックエンドのデプロイ amplify push 8 フロントエンドの作成 npm i aws-amplify aws-amplify-vue等と各種js, Vueファイルの編集 9 静的ファイルのホスティング amplify add hosting (Amplifyコンソールからデプロイする方法もあり) 10 アプリケーションの公開 amplify publish
認証付きCRUDアプリのデプロイ完了
主要コマンドが実施していることを紐解く No. 実施内容 コマンド 1 Vue CLI, Amplify CLIのインストール
npm i -g @vue/cli @aws-amplify/cli 2 Vueプロジェクトのセットアップ vue create { プロジェクト名 } 3 Amplify CLIの初期設定 amplify configure 4 バックエンドの初期設定 amplify init 5 認証機能の作成 amplify add auth 6 GraphQL APIとデータベースの作成 amplify add api 7 バックエンドのデプロイ amplify push 8 フロントエンドの作成 npm i aws-amplify aws-amplify-vue等と各種js, Vueファイルの編集 9 静的ファイルのホスティング amplify add hosting (Amplifyコンソールからデプロイする方法もあり) 10 アプリケーションの公開 amplify publish
amplify init
amplify add auth (&& amplify push)
amplify add api (&& amplify push)
amplify add hosting && amplify publish
Amplifyとは何だったのか?
まとめ インフラ寄りエンジニアから見たAmplify所感 • フロントエンドからインフラ構築&デプロイまでの領域を1人でこなせる エンジニアは少ない(もちろん世の中には沢山存在するが相対的には) • 分業となるとコミュニケーションコスト等のオーバーヘッドもあるはず • 上記領域をフロントエンドエンジニア1人で完結可能なAmplifyは強力
(特に高速でのMVPが求められる場面などは活かせそう)
ご静聴ありがとうございました