7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

初めに

3日目に参加したセッションなどを記録します。皆さんの参考になれば幸いです。

セッションその一 - Application modernization challenge

セッションのカタログ

Showcase your modernization skills in this hands-on workshop. Following AWS's modernization pathways, you'll decompose monoliths into microservices using AWS Lambda, transition to managed databases, containerize workloads with Amazon ECS and EKS, and implement DevOps practices using AWS CI/CD tools. Leveraging AWS's 'Move to AI' pathway, you'll learn how to integrate Amazon Bedrock and foundation models to build modern applications. In this team-based event, score points by completing modernization challenges in provided AWS accounts while using Amazon Q Developer to accelerate your efforts. Laptop required for participation.

Type: Workshop
Level: 300 – Advanced
Features: Hands-on, Interactive
Topic: Architecture, Migration & Modernization
Area of Interest: Lambda-Based Applications, Innovation & Transformation, Containers
Role: Developer / Engineer, DevOps Engineer, Solution / Systems Architect
Services: Amazon Aurora, Amazon Elastic Kubernetes Service (Amazon EKS), AWS Lambda

内容

Workshopと書かれたのですが、参加してみたらJAM形式でした。
課題が多かったため、それぞれやりたい課題に取り込んだ感じです。

まずはシンプルな課題で、lambda関数の環境変数BEDROCK_MODEL_IDを適切なものに変更するということです。
bedrockのモデルカタログに各モデルのIDがあるため確認できます。
Nova liteの場合、IDはamazon.nova-lite-v1:0でした。

次はmulti-agentのアプリをデプロイすることでした。指示されたコマンドを実行する感じです。
ソースを見るかぎり、knowledge baseやツールがあります。

Workshopではないのでリンクをもらうことができず、再度内容を確認したい場合は会社のJAM活動でやるしかなさそうです。
コードはMAM306-R1になります。

image_jam.png

セッションその二 - Beyond Batch: Modernize with Event-Driven Architecture & Serverless

セッションのカタログ

Legacy systems typically employ a batch processing model, where transactions are retrieved from logs or databases at scheduled times and processed. This builders session introduces event-driven patterns as a solution, enabling near real-time processing and removing the constraints of end-of-batch processing. Through practical analysis and real-world considerations, you'll gain the insights needed to eliminate batch processing and move towards event driven systems at scale. You must bring your laptop to participate.

Type: Builders' session
Level: 400 – Expert
Features: Hands-on, Interactive
Topic: Application Integration, Migration & Modernization
Area of Interest: Event-Driven Architecture, Serverless
Role: Advisor / Consultant, IT Professional / Technical Manager, Solution / Systems Architect

内容

イベント駆動型アーキテクチャについて紹介するワークショップです。

主に使われるのは以下の四つになります。

  • Amazon DynamoDB table
  • Amazon EventBridge pipe
  • Amazon EventBridge custom bus
  • AWS Step Functions workflow

image.png

アーキテクチャは↑の感じです。

アーキテクチャに出たevent pipeは知らなかったですので調べてみました。

パイプは、サポートされているソースとターゲット間のポイントツーポイント統合を目的としており、高度な変換とエンリッチメントをサポートしています。イベント駆動型アーキテクチャを開発する際に専門知識や統合コードが不要になり、会社のアプリケーション全体で一貫性が保持されます。

イベントソースの加工で使わるイメージで、今回のワークショックでは重複排除のために使われているようです。

image.png

既にアプリはデプロイされていて、コマンドでモックデータを作るlambda関数を発動し、Dynamodbにレコードを追加することによって、一連のワークフローを発動します。

次に取引照合のワークフローを追加します。

image.png

image.png

event busにきたイベントをキャッチして、Amazon Kinesis Data FirehoseとS3に送ります。さらにその結果をAthenaで検索します。
教科書的なパターンですがAmazon Kinesis Data Firehoseを初めて触りました。

image.png

最後の課題はAmazon Q in Connect関連でした。

Amazon Q in Connect は、生成 AI カスタマーサービスアシスタントです。これは LLM が強化した Amazon Connect Wisdom の進化形であり、コンタクトセンターのエージェントが顧客の問題を迅速かつ正確に解決できるように、リアルタイムの推奨事項を提供します。

Amazon Q in Connect knowledge baseを使って、お客様の状況に応じて正確な回答を返します。

ワークショップのURLは以下の通りです。

セッションその三 - Build trustworthy AI applications with Amazon Bedrock Guardrails

セッションのカタログ

Discover how Automated Reasoning checks in Amazon Bedrock Guardrails enhance the trustworthiness of AI applications. In this workshop, we will showcase the synergy between automated reasoning and generative AI to create highly reliable systems, delivering up to 99% verification accuracy. Through hands-on exercises, learn to use the Automated Reasoning checks console and APIs to create and refine policies, then use them to validate your AI application outputs. Dive into a customer support assistant use case that combines various Amazon Bedrock features, including Knowledge Bases, Flows, and Guardrails, to deliver robust and trustworthy solutions.

Type: Workshop
Level: 300 – Advanced
Features: Hands-on, Interactive
Topic: Artificial Intelligence, Business Applications
Area of Interest: Generative AI, Machine Learning
Industry: Financial Services, Software & Internet
Segment: Developer Community, Enterprise, Independent Software Vendor
Role: Business Executive, Developer / Engineer, IT Professional / Technical Manager
Services: Amazon Bedrock

IMG_6243.jpg

内容

生成AIを受け入れるのに2つのチャレンジがあります。

  • regulations(規則)
  • auditability(可監査性)

Amazon Bedrock Guardrailsはいろんなポリシーからお客様を守っています。

IMG_6246.jpg

  • Content filter
  • Sensitive information filters(PII)
  • Denied topics
  • Word filters
  • Prompt attacks
  • Contextual grounding checks
  • Automated reasoning check

調べてみたら、Amazon Bedrock Guardrailsが日本語に対応したのは割と最近のようです。(2025/06)
https://aws.amazon.com/jp/blogs/news/amazon-bedrock-guardrails-supports-japanese/

今回のワークショップはAutomated reasoning check(自動推論チェック)についてのワークショップになります。

IMG_6247.jpg

数学的な手法であり、それを使うことによって、レスポンスにハルシネーションを検出するなど、レスポンスの精度を担保します。

IMG_6248.jpg

生成AIの正確性を99%まで上げているようです。

image.png

image.png

AWSコンソール画面からまず自動推論チェックのポリシーを作成し、その後、AWS Guardrailの作成して、ポリシーに紐づくようにします。

image.png

AWS SDKを使ってAutomated Reasoning PolicyとGuardrailを作成する方法も紹介されました。

ワークショップのURLは以下の通りです。

EBC

セッションに参加する以外、3日目にAWS関連のEBCにも参加しました。
EBCはExecutive Briefing Centerの略で、興味のあるサービスの担当者と実際にコミュニケーションできます。
うちはAWS Novaに興味がありましたので、それに関して、1時間ぐらいの時間を設けてくれました。
Nova自体はかなり新しく、日本ではまだ使えない、もしくは日本のクロスリージョン推論ができないとかで、今後の開発予定とかの話などの話ができました。

余談

人生初のCasinoをやりました。一時期20ドルぐらい勝ったこともありますが、最終的には50ドル負けましたw。(そういう設計ですね。皆さん財布にご注意を)

IMG_6267.jpg

7
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?