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.2k
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
JavaScript 研修 (2026)
recruitengineers
PRO
2
590
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
モバイルアプリ開発概論2026
recruitengineers
PRO
6
640
ブラウザ研修 2026
recruitengineers
PRO
6
1.1k
Reference-Free Image Quality Assessment for Virtual Try-On via Human Feedback
zozotech
PRO
0
460
ラジオの科学
frievea
0
330
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
1
670
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
410
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
5.9k
猫付きpingコマンドを自作
uyuki234
0
250
Goでデータパイプラインを作ろう
sansantech
PRO
1
480
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
280
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Paper Plane (Part 1)
katiecoart
PRO
1
10k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
440
Navigating Weather and Climate Data
rabernat
0
480
For a Future-Friendly Web
brad_frost
183
10k
Design in an AI World
tapps
1
280
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
280
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
340
So, you think you're a good person
axbom
PRO
2
2.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
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.