Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AWSとNew Relicのデータ連携を超高速で実装した話 / The story of ...
Search
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
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.5k
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
9
8.1k
New Relicの推せるところ・推せないところ / newrelic good and bad
tomoyakitaura
0
360
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
390
「頑張る」を「楽しむ」に変換する技術
tomoyakitaura
19
11k
これからの設計で変わること pre:invent2024アップデート速報 / pre:invent2024 network update
tomoyakitaura
1
320
セキュリティ活動をちょっとずつやる戦略を実行した気づき / Incremental Security Initiatives
tomoyakitaura
0
270
社内共通コンテナレジストリを設立して、開発者体験向上を狙ってみた /Establishing container registry to improve DX
tomoyakitaura
2
260
LTワークショップ3日目 / LT Workshop Day 3
tomoyakitaura
0
240
Other Decks in Technology
See All in Technology
USB PDを使ってスマホを労わりたい
raspython3
0
160
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
7
2.7k
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.5k
大型犬好きによるPugの紹介
yamanoku
1
150
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
170
継続的なAIコスト最適化
bgpat
1
290
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
890
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
150
SREでアラート疲れを 解決しよう!
kairim0
1
230
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
0
620
自主式軟體工廠
philipz
0
260
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
130
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
560
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
Visualization
eitanlees
153
17k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
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 より高みを目指した開発を行うことの過程を みんなで楽しんでいきましょう!! ご静聴ありがとうございました!!