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とNew Relicのデータ連携を超高速で実装した話 / The story of ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
TomoyaKitaura
December 15, 2021
Technology
2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWSとNew Relicのデータ連携を超高速で実装した話 / The story of a super-fast implementation of data integration between AWS and New Relic
12/15 NRUGで発表させていただいた資料です。
TomoyaKitaura
December 15, 2021
More Decks by TomoyaKitaura
See All by TomoyaKitaura
New Relicの推せるところ・推せないところ / newrelic good and bad
tomoyakitaura
0
290
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
360
「頑張る」を「楽しむ」に変換する技術
tomoyakitaura
19
11k
これからの設計で変わること pre:invent2024アップデート速報 / pre:invent2024 network update
tomoyakitaura
1
300
セキュリティ活動をちょっとずつやる戦略を実行した気づき / Incremental Security Initiatives
tomoyakitaura
0
240
社内共通コンテナレジストリを設立して、開発者体験向上を狙ってみた /Establishing container registry to improve DX
tomoyakitaura
2
230
LTワークショップ3日目 / LT Workshop Day 3
tomoyakitaura
0
220
LTワークショップ2日目 / LT Workshop Day 2
tomoyakitaura
0
200
LTワークショップ(1日目) / LT workshop day 1
tomoyakitaura
1
240
Other Decks in Technology
See All in Technology
作る力から、見極める力へ — AI時代に広がるエンジニアの価値と役割
rince
0
390
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
380
どうして今サーバーサイドKotlinを選択したのか
nealle
0
180
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
320
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
230
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
430
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
7.9k
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
180
RAGの精度向上とエージェント活用
kintotechdev
2
120
製造現場での生成AIの活用、およびエージェントAIの実装のあり方、AVEVAの取り組み
iotcomjpadmin
0
210
「軸足」は 固定しなくていい - 熱量と強みで描く、しなやかなキャリアの形
kakehashi
PRO
1
320
Microsoft のサポートとフィードバック総まとめ
murachiakira
PRO
0
130
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
840
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Raft: Consensus for Rubyists
vanstee
141
7.6k
The World Runs on Bad Software
bkeepers
PRO
72
12k
How to make the Groovebox
asonas
2
2.3k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
The Curious Case for Waylosing
cassininazir
1
420
The browser strikes back
jonoalderson
0
1.3k
Site-Speed That Sticks
csswizardry
13
1.2k
Designing for Performance
lara
611
70k
RailsConf 2023
tenderlove
30
1.5k
Typedesign – Prime Four
hannesfritz
42
3.1k
Transcript
AWSとNew Relicのデータ連携を 超高速で実装した話 株式会社 mediba Tomoya Kitaura 2021/12/15 NRUG (New
Relic User Group) Vol.1
自己紹介 Tomoya Kitaura @kitta0108 mediba inc. SRE Unit ▪勉強会運営 -
- JAWS-UG コンテナ支部 - JAWS-UG SRE支部 - NRUG SRE支部??? ▪好きなNew Relicのサービス - NRQL 2 2
今回お話すること AWSとのIntegration超簡単 3
聴講の想定者 - AWSを使っていて、 これからNew Relic導入するぞという方 4 - AWSとIntegrationする仕組みを おさらいしたい方
5
CloudWatch Metricsの連携 6
IAM Roleの作成 7
IAM Roleの連携 8
CloudWatch Metrics Streamリソース群の作成 9
公式のCFnテンプレートで脳死デプロイ 10 https://docs.newrelic.com/jp/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-metric-stream/
EC2Instance Processデータ連携 11
New Relic Infra Agentのインストール 12 https://galaxy.ansible.com/newrelic/newrelic-infra Galaxy Ansibleを 使った方法が一番楽でした (サンプルコード出せなくてすません)
※ ちょっとしたハマりポイント enable_process_metrics: true ↑が設定に無いと一生データが届きませんw
Application Logの連携 13
公式のAWS Serverless Application Repositoryから脳死デプロイ 14
CloudWatch LogsのSubscriptionはTerraformで。 15
できた? 16
Next Step!! 17 - フルスタックオブザーバビリティの実装 - New Relic Browserの導入 -
New Relic APMの導入 - New Relic Mobileの導入 - New Relic Syntheticsの導入 - New Relic Serverlessの導入 - ちょうかっちょいいダッシュボードの作成 - ビジネス層と合意した指標の可視化 - エラーバジェット運用の開始 - Alerts & AI機能による異常検出力の強化 - etc…
おまけ Alert設定のTerraformディレクトリ構成 18 newrelic-aleat ┣main.tf ┣backend.tf ┣alert_channel.tf ┣terraform.tfvars ┣variable.tf ┣env
┃┣dev.tfvars ┃┣stg.tfvars ┃┗prd.tfvars ┣aws_alert_alb.tf ┣aws_alert_rds.tf ┣… ┣logs_alert_nginx.tf ┣logs_alert_var_log_messages.tf ┣… ┣process_alert_nginx.tf ┣process_alert_sshd.tf ┗log-ingestion ┣provider.tf ┣backend.tf ┣versions.tf ┣var_log_messages.tf ┣nginx_error.tf ┗… aws_alert_xxx -> CloudWatch Metrics関連 logs_alert_xxx -> Application Log関連 process_alert_xxx -> ProcessData関連 log-ingestion配下 -> Lambda Subscription Filter設定
さいごに 19 より高みを目指した開発を行うことの過程を みんなで楽しんでいきましょう!! ご静聴ありがとうございました!!