0
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?

18日目:AWS無料枠使い倒し「EventBridgeでイベント駆動設計」

0
Last updated at Posted at 2025-12-17

EventBridgeでイベント駆動設計を体験

予定コスト: $0.00(設定のみ)


✅ この記事でやること

毎日実行のスケジュールルール→Lambdaターゲット。


✅ 前提(準備)

Lambda ARN取得済み。


スケジュールルール作成(毎日JST=24:00)

UTC 15:00はJST 24:00。

aws events put-rule --name nightly --schedule-expression 'cron(0 15 * * ? *)'

ターゲット追加(Lambda)

作成ルールへLambdaを紐付け。

aws events put-targets --rule nightly --targets Id=1,Arn=$LAMBDA_ARN

💡 豆知識 (Tips)

  • DLQ(SQS)で失敗時の保全
  • Event Bus分けで疎結合性を高める

⚠️ 落とし穴

  • タイムゾーン誤解による実行時刻ズレ
  • Invoke権限不足

🧾 今日のコスト

$0.00(設定のみ)


✅ まとめ

  • 本日のゴールを確認
  • 無料枠を意識して運用
  • 次回に繋がるポイントを整理

✅ 次回予告(19日目)

「AWS Security Hubでセキュリティを強化」

0
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
0
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?