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
TomoyaKitaura
December 15, 2021
Technology
2k
0
Share
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
240
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
340
「頑張る」を「楽しむ」に変換する技術
tomoyakitaura
19
11k
これからの設計で変わること pre:invent2024アップデート速報 / pre:invent2024 network update
tomoyakitaura
1
290
セキュリティ活動をちょっとずつやる戦略を実行した気づき / Incremental Security Initiatives
tomoyakitaura
0
230
社内共通コンテナレジストリを設立して、開発者体験向上を狙ってみた /Establishing container registry to improve DX
tomoyakitaura
2
230
LTワークショップ3日目 / LT Workshop Day 3
tomoyakitaura
0
210
LTワークショップ2日目 / LT Workshop Day 2
tomoyakitaura
0
200
LTワークショップ(1日目) / LT workshop day 1
tomoyakitaura
1
230
Other Decks in Technology
See All in Technology
多角的な視点から見たAGI
terisuke
0
120
Anthropic「Long-running a gents」をGeminiで再現してみた
tkikuchi
0
770
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
4
810
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.7k
「SaaSの次の時代」に重要性を増すステークホルダーマネジメントの要諦 ~解像度を圧倒的に高めPdMの価値を最大化させる方法~
kakehashi
PRO
3
3.6k
AIの揺らぎに“コシ”を与える階層化品質設計
ickx
0
200
20260428_Product Management Summit_Loglass_JoeHirose
loglassjoe
4
6.7k
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
430
COBOL婆さんの伝説
poropinai1966
0
130
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
240
[Scram Fest Niigata2026]Quality as Code〜AIにQAの思考を再現させる試み〜
masamiyajiri
1
190
需要創出(Chatwork)×供給(BPaaS) フライホイールとMoat 実行能力の最適配置とAI戦略
kubell_hr
0
1.9k
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
BBQ
matthewcrist
89
10k
The Language of Interfaces
destraynor
162
26k
How to train your dragon (web standard)
notwaldorf
97
6.6k
GraphQLとの向き合い方2022年版
quramy
50
15k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
130
Prompt Engineering for Job Search
mfonobong
0
290
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
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 より高みを目指した開発を行うことの過程を みんなで楽しんでいきましょう!! ご静聴ありがとうございました!!