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
20211120 Automating EC2 operations / EC2運用の自動化
Search
Masaru Ogura
November 20, 2021
Technology
0
33
20211120 Automating EC2 operations / EC2運用の自動化
2021/11/20 JAWS PANKRATION 2021の資料です。
Masaru Ogura
November 20, 2021
Tweet
Share
More Decks by Masaru Ogura
See All by Masaru Ogura
20241218 私の気になる VPC 周りのアップデート
masaruogura
0
130
20240530 Backlogでスクラムを回してみよう
masaruogura
0
340
20240516 JAWS-UG 朝会 運営の裏側
masaruogura
1
230
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
290
20240329 第34回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
42
20240216 Amazon Linux 2 を 2023 に移行してみた
masaruogura
1
6.7k
20240202 第33回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
37
20231215 第32回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
26
20230928 第31回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
25
Other Decks in Technology
See All in Technology
実践アプリケーション設計 ②トランザクションスクリプトへの対応
recruitengineers
PRO
4
1.2k
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
0
150
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
250
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
820
AWSで推進するデータマネジメント
kawanago
0
880
AI エージェントとはそもそも何か? - 技術背景から Amazon Bedrock AgentCore での実装まで- / AI Agent Unicorn Day 2025
hariby
3
590
5年目から始める Vue3 サイト改善 #frontendo
tacck
PRO
2
130
JuniorからSeniorまで: DevOpsエンジニアの成長ロードマップ
yuriemori
2
350
【初心者向け】ローカルLLMの色々な動かし方まとめ
aratako
7
2.7k
RSCの時代にReactとフレームワークの境界を探る
uhyo
9
2.2k
AWS環境のリソース調査を Claude Code で効率化 / aws investigate with cc devio2025
masahirokawahara
2
1.1k
オブザーバビリティが広げる AIOps の世界 / The World of AIOps Expanded by Observability
aoto
PRO
0
260
Featured
See All Featured
The Language of Interfaces
destraynor
160
25k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
A better future with KSS
kneath
239
17k
It's Worth the Effort
3n
187
28k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
Done Done
chrislema
185
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
How GitHub (no longer) Works
holman
315
140k
Bash Introduction
62gerente
614
210k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Transcript
Automating EC2 operations 2021-11-20 22:40 - 23:00 (JST)
Masaru Ogura (Japan) ‒ Serverworks Co., Ltd. ‒ JAWS-UG Sapporo
/ Morning Meeting ‒ APN ALL AWS Certifications Engineer ‒ AWS Community Builder
AWS Cloud VPC Public subnet Corporate data center VPS (Virtual
Private Server) (CentOS 5 / WordPress) Internet Replication Server Target TCP 443 TCP 443 TCP 1500 AWS API (Replication Configration) Data replication (encrypted) CloudEndure Migration
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager CloudWatch AWS Backup AWS Lambda Amazon SNS (HTTPS) (HTTP)
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager CloudWatch AWS Backup AWS Lambda Amazon SNS (HTTPS) (HTTP)
Automating ‒ Auto Backup ‒ Auto Patching ‒ Auto Recovery
Auto Backup AWS Backup ‒ Scheduled backup (AMI)
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager CloudWatch AWS Backup AWS Lambda Amazon SNS Get AMI once a day
Auto Patching AWS Systems Manager ‒ Patch Manager ‒ Scheduled
patching
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Patch Manager) CloudWatch AWS Backup AWS Lambda Amazon SNS Scheduled patching
Auto Recovery (part 1) Amazon CloudWatch alarms ‒ Check metrics
‒ StatusCheckFailed_System (HW)
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager CloudWatch alarm AWS Backup AWS Lambda Amazon SNS Check StatusCheck metrics
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager CloudWatch alarm AWS Backup AWS Lambda Amazon SNS If the alarm goes up, restart EC2.
Auto Recovery (part 2) Amazon CloudWatch ‒ Process Monitoring (with
procstat plugin) ‒ httpd, mysqld
None
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Run Command) CloudWatch alarm AWS Backup Check Process number metrics AWS Lambda Amazon SNS
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Run Command) CloudWatch alarm AWS Backup Notify SNS AWS Lambda Amazon SNS
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Run Command) CloudWatch alarm AWS Backup Execute lambda from SNS AWS Lambda Amazon SNS
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Run Command) CloudWatch alarm AWS Backup Execute Run Command from Lambda AWS Lambda Amazon SNS
AWS Cloud VPC Public subnet Amazon Linux 2 (WordPress) CentOS
5 (WordPress) Amazon CloudFront ACM Systems Manager (Run Command) CloudWatch alarm AWS Backup Start httpd or mysqld process AWS Lambda Amazon SNS
Summary ‒ Automation makes operation easier. ‒ Automation allows you
to use your free time for other things. ‒ Let's automate the operation!
None