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
本番分析データベースを丸ごと削除した人の顔
Search
takato fukui
February 11, 2022
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
本番分析データベースを丸ごと削除した人の顔
takato fukui
February 11, 2022
More Decks by takato fukui
See All by takato fukui
関数の挙動書き換える
takatofukui
4
910
機関室の灯りは消えない
takatofukui
0
60
エンジニアリングの良い塩梅🧂🌸
takatofukui
0
90
dd-trace-goのtrace context propagation実装
takatofukui
0
610
ソフトウェアテスト
takatofukui
0
98
なぜコードを書いてはいけないか
takatofukui
0
170
リファクタリング
takatofukui
0
160
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
480
Are APIs Still Relevant in the AI Era?
soyuka
0
430
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
phperだってパンチカードでコーディングしたい
o0h
PRO
0
230
JRuby: Past, Present, and Future
headius
0
220
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
320
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
400
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
390
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
560
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
800
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
550
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
エンジニアに許された特別な時間の終わり
watany
109
250k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Producing Creativity
orderedlist
PRO
348
41k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
610
Transcript
本番分析データベースを 丸ごと削除した人の顔
クラウド軽犯罪法違反の容疑
Amazon Redshift 分析用データベース Amazon Redshift 分析用データベース 本番AWSアカウント 検証AWSアカウント ビーコンログ ビーコンログ
環境作成・削除 バッチ処理(1時間に1回実行) BIツール バッチ処理(1時間に1回実行) BIツール
None
お分かりいただけただろうか
prd 本番環境
Amazon Redshift 分析用データベース 本番AWSアカウント 検証AWSアカウント ビーコンログ ビーコンログ 環境作成・削除 バッチ処理(1時間に1回実行) BIツール
バッチ処理(1時間に1回実行) BIツール
お客さん 了解っすw ボク すいやせん、 データベース消しました すぐ復旧させますw
バッチ処理(1時間に1回実行) スクリプトで取得した1週間前のスナッ プショットから復元 溜まった中間データから 1週間分のデータをまとめてロード 10時台処理⇨データベースがないのでエラー 11時台処理⇨データベースがないのでエラー 12時台処理⇨データベースが復活したので正 常終了 手動でリラン
python batch.py –from “2021-01-01 10:00:00” --to “2021-01-01 12:00:00”
・”消えない”バックアップをとる ・アプリは何回実行しても同じ結果になるように作る(冪等, upsert, on conflict) ・バッチアプリは手動で実行しやすいように作る 実行するたびに実行結果が変わってしまうような作りはNG ・中間データは保持してライフサイクル削除 スケジューラ バッチ
指示がないと何もできないが、言 われたことはちゃんとやる バッチさん 現在日時取得した ので、この日付で 処理しといてくだ さい 了解です 私は指示された 日付でしか処理 しません この日付で処理 しとけや!! 了解です
Azure リソースロックでいいのか? Azureリソース ロック ロック 解除
THE END