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
31
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
110
20240530 Backlogでスクラムを回してみよう
masaruogura
0
290
20240516 JAWS-UG 朝会 運営の裏側
masaruogura
1
200
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
250
20240329 第34回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
30
20240216 Amazon Linux 2 を 2023 に移行してみた
masaruogura
1
6.2k
20240202 第33回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
27
20231215 第32回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
23
20230928 第31回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
21
Other Decks in Technology
See All in Technology
NLP2025 参加報告会 / NLP2025
sansan_randd
4
510
SRE NEXT CfP チームが語る 聞きたくなるプロポーザルとは / Proposals by the SRE NEXT CfP Team that are sure to be accepted
chaspy
1
570
Classmethod AI Talks(CATs) #21 司会進行スライド(2025.04.17) / classmethod-ai-talks-aka-cats_moderator-slides_vol21_2025-04-17
shinyaa31
0
440
Spring Bootで実装とインフラをこれでもかと分離するための試み
shintanimoto
4
390
Spice up your notifications/try!Swift25
noppefoxwolf
2
340
技術者はかっこいいものだ!!~キルラキルから学んだエンジニアの生き方~
masakiokuda
2
110
古き良き Laravel のシステムは関数型スタイルでリファクタできるのか
leveragestech
1
640
さくらの夕べ Debianナイト - さくらのVPS編
dictoss
0
180
AWSのマルチアカウント管理 ベストプラクティス最新版 2025 / Multi-Account management on AWS best practice 2025
ohmura
4
200
YOLOv10~v12
tenten0727
3
860
DuckDB MCPサーバーを使ってAWSコストを分析させてみた / AWS cost analysis with DuckDB MCP server
masahirokawahara
0
650
LangfuseでAIエージェントの 可観測性を高めよう!/Enhancing AI Agent Observability with Langfuse!
jnymyk
0
170
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
41
2.2k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
4 Signs Your Business is Dying
shpigford
183
22k
Faster Mobile Websites
deanohume
306
31k
A Tale of Four Properties
chriscoyier
158
23k
Testing 201, or: Great Expectations
jmmastey
42
7.4k
How GitHub (no longer) Works
holman
314
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
Optimizing for Happiness
mojombo
377
70k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
740
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