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
AWS re:Invent 2024 Recap in ZOZO - Serverless で...
Search
OrcaPorca
December 19, 2024
Technology
3.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS re:Invent 2024 Recap in ZOZO - Serverless で好きなものをしゃべってみた
OrcaPorca
December 19, 2024
Other Decks in Technology
See All in Technology
Kiro Ambassador を目指す話
k_adachi_01
0
110
AI-DLCを “そのまま導入しなかった”話 ~組織に合わせてアジャストした 私たちの実践共有~
hiroramos4
PRO
1
260
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
260
サイバーエージェントにおけるAI推進戦略と変革への取り組み
shotatsuge
0
250
クラウドファンディング版StackChan 3体(4体)をインタラクティブな体験型作品にして展示もした話 / スタックチャンお誕生日会2026
you
PRO
0
130
AIAU_UMEMOGU_ninomiya_slide
ninomiya_ii
0
240
Kiroで書いた 設計書 が AI レビューの 採点基準 になる
ezaki
0
140
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
150
OTel × Datadog で 「AI活用」を計測し、改善に繋げる
shihochan
2
460
螺旋型キャリアの生存戦略 / kinoko-conf2026
rakus_dev
0
140
Lightning近況報告
kozy4324
0
210
現地で盛り上がった WWDC26 Keynote
zozotech
PRO
1
270
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
330
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
240
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
220
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Building the Perfect Custom Keyboard
takai
2
800
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Transcript
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Serverless ZOZO Account Teams AWS re:cap Chongmyung Park
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Chongmyung Park(朴 総明/パク チョンミョン) Introduction Solutions Architect 資格 好きなAWSサービス AWS Lambda、Amazon DynamoDB 経歴 ~2021 アプリケーション開発 2022~ Amazon Web Services Japan 2
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. はじめに 3 AWS re:Invent 2024 - Dr. Werner Vogels Keynote (https://www.youtube.com/watch?v=aim5x73crbM) Simplexity Simple な利用 / 多様な機能
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. 1. AWS Step Functions 2. AWS End User Messaging 3. Amazon API Gateway 4. AWS AppSync 5. AWS Lambda 6. Amazon DynamoDB 7. Amazon S3 4 Agenda
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 5 AWS Step Functions
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. 6 AWS Step Functions で変数をサポート start Step 1 Step 2 Step 3 Step 4 end “value” : 1 “value” : 1 • Step Functions 内で変数をサポート – アップデート前はステップ間で値を引き渡していく必要 – アップデートにより変数の保存と参照が簡素化 • ワークフローの途中で値の更新が可能 • 変数のスコープ – 変数に格納したのち、後続のステップから参照可能 – 例外として Map, Parallel内の変数はその内部でのみ参照可能 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. JSONataはOSSのJSON用データクエリおよび変換言語 日付・時刻のフォーマット、文字列操作、四則演算などが可能 JSONPath + Intrinsic Functions + Lambda JSONata JSONata によるデータ変換 7 "Calculate": { "QueryLanguage": "JSONata-2.0", "Type": "Task", ... "Assign": { "sum.$": "$sum($states.result.Product.(Price * Count))" } } "Get prices and quantities": { "Type": "Task", ... "ResultSelector": { "Prices.$": "$.Product.Price", "Counts.$": "$.Product.Count" }, "ResultPath": "$.productInfo", "Next": "Calculate" }, "Calculate": { "Type": "Task", "Resource": "arn:...:lambda:invoke", "Parameters": { "FunctionName": "lambdaArn", "Payload.$": "$.productInfo" }, "ResultSelector": { "sum.$": "$.Payload.sum" }, "ResultPath": "$.ProductSum", ... } 商品の価格・数量から合計⾦額を計算する例 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. ワークフローを IaC テンプレートとしてエクスポート可能に • Step Functions のワークフローを Infrastructure as Code (IaC) テンプレートとして出力可能に • CloudFormation テンプレート (YAML, JSON) • AWS Serverless Application Model (SAM) テンプレート • Infrastructure Composer 8 AWS SAM AWS CloudFormation AWS Infrastructure Composer ⼀ 般 利 ⽤ 開 始 AWS Step Functions
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 9 AWS End User Messaging
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. AWS End User Messaging メッセージフィードバック追跡 10 AWS Infrastructure Composer ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 11 Amazon API Gateway
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Amazon API Gateway プライベートAPI カスタムドメイン対応 12 API Gateway カスタムドメイン種類 リージョン API ⽤ カスタムドメイン プライベート API ⽤ カスタムドメイン HTTP API WebSocket REST(リージョン) REST(プライベート) • 上記 3種類の API に関連づけ可能 • 上記 1種類の API に関連づけ可能 • リソースポリシーを持ち、アクセス元を 制御可能 New!! REST プライベート API にカスタムドメインが設定可能に (従来までは、カスタムドメインを設定できなかった) ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 13 AWS AppSync
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. 組み込みのコネクション管理と メッセージファンアウト AWS AppSync Event API パブリッシャ サブスクライバ Application Clients WebSockets Application Clients Event-driven services Event-driven services AppSync Event API Namespace/channel/segment リアルタイム・エクスペリエンスを構築し、拡張する最も簡単な方法 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. AWS AppSync が AppSync GraphQL に新たに Amazon Bedrock 統合を組み込んだ AI ゲートウェイ機能をリリース • Amazon Bedrock を データソースとして指定可能に • 生成 AI 機能をシームレスに統合 • モデルに対して、短い同期呼び出しを実現 • 10 秒以内に完了する同期呼び出しのみをサポート • 複数の API 呼び出し、モデルをサポート • converse API、invokeModel API の呼び出しをサポート • Claude 3.5 Sonnet や Amazon Titan の使用が可能 15 https://aws.amazon.com/jp/about-aws/whats-new/2024/11/aws-appsync-ai-gateway-bedrock-integration-appsync-graphql/ ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 16 AWS Lambda
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Provisioned Mode for Event Source Mapping (ESM) 予測できず、スパイク的なトラフィックパターンが存在するユースケー スでスパイクをコントロールするためのプロビジョンモード MSK or セルフマネージド型 Kafka のイベントソースマッピング (ESM) のスループットを制御するためのオプトイン型の機能 • 最小 Event Poller 数 : トラフィックのスパイクに対応できる計算リソースを確保 • 最大 Event Poller 数 : 下流のシステムが過負荷になるのを防ぐ ※デフォルトは自動スケール 17 polls Lambda service sync or ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. AWS Lambdaのイベントソースマッピング(ESM)用の新し い Amazon CloudWatch メトリクス追加 読み取りイベント数、実行イベント数、エラーイベント数などをメトリ クスとして扱えるようになり、イベント処理の問題や遅延のモニタリン グが容易に 18 • PolledEventCount • InvokedEventCount • FilteredOutEventCount • FailedInvokeEventCount • DeletedEventCount • DroppedEventCount • OnFailureDestinationDeliveredEventCount 追加メトリクス SQS, Kinesis, DynamoDB に対応 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. 非同期イベントソースおよびストリームイベントソース の失敗イベント送信先として Amazon S3 をサポート • 失敗したレコードのバッチと関数の実行結果を簡単 な構成で S3 にルーティングできるように • 従来設定できていた SNS や SQS ではペイロードサ イズ要件を満たせない場合に、イベントペイロード データを取得して再処理するためのカスタムロジッ クを作成する必要があった • 完全なイベントペイロードデータを失敗イベントの送信先 の S3 バケットに配信できるようになり、失敗イベントの データを確実に取得して再処理するためのカスタムロジッ クの管理のオーバーヘッドを削減できる 19 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. AWS Lambda SnapStart が Python および .NET に対応 実行環境 (microVM) の CPU、メモリ、ディスクを含むスナップ ショットを取得し、以降の呼び出しではスナップショットから環境 を作成 • スナップショットのキャッシュと復元に対して料金が発生 • スナップショット作成前と復元後にカスタムコードを実行可能 ユースケース • Python において依存関係のロードやフレームワークの使用に時間がかかる 場合 • .NET や Java など実行環境の準備に時間がかかる場合 東京リージョンで利用可能 20 *ランタイムごとの ColdStart にかかる時間についての参考情報(AWS re:Invent 2023 で紹介) https://maxday.github.io/lambda-perf/ ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. .NET マネージドランタイムのJSON構造化ログをサポート • Advanced Logging Controls(2023年11月リリース)により、Python、Node.js、 JavaランタイムでネイティブのJSON構造化ログが可能になっていた • .NETランタイムでも、アプリケーションログをネイティブのJSON構造化形式 でキャプチャできるように 21 ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 22 Amazon DynamoDB
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Amazon DynamoDB Global Tablesが マルチリージョンの強い整合性に対応 • Amazon DynamoDB Global Tablesで、マル チリージョンの「強い整合性」に対応 • 「強い整合性」は読み取ったデータは最新である ことが保証される整合性モデル • 従来の「結果整合性」は古いデータが読み取れる 可能性があるもので、それを考慮したアプリケー ション設計が必要だった • Amazon Aurora DSQLと同じ基盤技術を活用 • バージニア、オハイオ、オレゴンのリー ジョンでプレビュー開始に 23 プ レ ビ ュ ー
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 24 Amazon S3
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Amazon S3 Tablesを発表 • Amazon S3がApache Icebergをサポート。表形式の データを保存し、分析処理に活用できる • 新しいバケットタイプであるTable bucketを使用 • セルフマネージドのテーブルと比較して最大3倍のスルー プット、最大10倍のTPSを提供 • 継続的なテーブルメンテナンスによりデータの持ち方とス トレージコストを自動的に最適化 • AWS Glue Data Catalogと統合されておりAWSの分析サービ スからデータを利用できる • バージニア、オハイオ、オレゴンのリージョンで一 般利用開始に 25 ⼀ 般 利 ⽤ 開 始 Tables S3 Table bucket Apache Iceberg 対応 Analytics サービスに よるアクセス AWS Glue Data Catalog
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Amazon S3 Metadataを発表 • Amazon S3にアップロードされたオブジェ クトに自動的にメタデータを取得し、S3 Tablesに格納し、クエリ可能にする • オブジェクト更新後、メタデータも随時更新 • メタデータはオブジェクトサイズやソースなどシ ステム定義のものと、タグによってユーザが定義 可能なカスタムメタデータを扱える • S3 TablesとAWS Glue Data Catalogの統合により、 アップロードされたオブジェクトを素早く分析処 理で活用できる • バージニア、オハイオ、オレゴンでプレ ビューを開始。順次リージョン拡大の予定 26 プ レ ビ ュ ー S3 Metadata Table bucket General purpose bucket PUT-OBJECT メタデータをキャプチャ
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Amazon S3の新しいデータ整合性検証の仕組みを発表 • Amazon S3で新しいデータ整合性検証の仕 組みが導入され、データの信頼性を強化 • 最新のAWS SDKを利用することにより、アップ ロード時にCRCベースのチェックサムを自動計算。 転送中にデータが変化していないことを検証する • マルチパートアップロードでも、オブジェクトメ タデータにオブジェクト全体のチェックサムが保 存され、データ整合性が検証可能に • 数週間ですべてのリージョンに展開される 予定で、追加コストは発生しない 27 Amazon Simple Storage Service (Amazon S3) Instance チェックサムは XYZ 受け取ったファイル のチェックサムを計 算しXYZならOK ⼀ 般 利 ⽤ 開 始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Confidential and Trademark. Thank you! © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.