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
22
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
20240530 Backlogでスクラムを回してみよう
masaruogura
0
190
20240516 JAWS-UG 朝会 運営の裏側
masaruogura
1
150
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
180
20240329 第34回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
21
20240216 Amazon Linux 2 を 2023 に移行してみた
masaruogura
1
3.2k
20240202 第33回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
12
20231215 第32回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
12
20230928 第31回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
13
20230630 AWS認定のすすめ
masaruogura
1
540
Other Decks in Technology
See All in Technology
手軽に始める? おうちサーバーのすゝめ
nyagasan
0
180
トレタO/X アーキテクチャ移行記 Next.js App Router化への道のり / TORETA TECH UPDATE 1
okunokentaro
2
560
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
9
41k
AWS版GitHub?Amazon CodeCatalystの全体像をまとめてみた
oshanqq
1
3.2k
waitany と waitall を作った話
mrkn
0
110
リクルートのデータマネジメント組織に 求められてきたコト
recruitengineers
PRO
4
340
OCI コスト管理
ocise
1
110
Dify - LINE Bot連携 考え方と実用テクニック
uezo
5
1.1k
AWS IAM Identity Center議論会 〜 認証認可結合モデルと認証認可分離モデル / 20240827-jawsug-arch-iam_identity_center
opelab
3
320
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
39k
脆弱星に導かれて
nishimunea
1
1.5k
デジタル化・DX推進あるある
y150saya
0
220
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
20k
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.8k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.7k
Mobile First: as difficult as doing things right
swwweet
220
8.8k
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
YesSQL, Process and Tooling at Scale
rocio
167
14k
Designing for Performance
lara
604
68k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Building Flexible Design Systems
yeseniaperezcruz
324
37k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
22
580
A Modern Web Designer's Workflow
chriscoyier
690
190k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
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