> ## Content Index
> Fetch the complete content index at: https://www.albert-yu.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# 2019ironman 10th – Cloud Native – Day12 – Elastic Beanstalk 操作說明(9)
- URL: https://www.albert-yu.com/blog/2019ironman-10th-cloud-native-day12-elastic-beanstalk-operations-9/
- Published: 2018-10-25T17:00:59.000Z
- Updated: 2026-10-30T03:43:11.000Z
- Author: Albert Yu
- Tags: 2019ironman 10th - Cloud Native - AWS Elastic Beanstalk & Devops 網站維運實戰, Ithome鐵人賽

## Day12 - Elastic Beanstalk 操作說明(9)

#### 15

#### Monitoring 與 Security

![](https://www.albert-yu.com/content/images/2026/10/2019ironman-10th-cloud-native-day12-elastic-beanstalk-cao-zuo-shuo-ming-9-01.png)

**Monitoring 顧名思義是監控**

但是這個要設定在傳統上是頗麻煩的

但是如果是Elastic Beanstalk要監控的話其實蠻簡單的

點入Monitoring之後可見下圖的畫面

![](https://www.albert-yu.com/content/images/2026/10/2019ironman-10th-cloud-native-day12-elastic-beanstalk-cao-zuo-shuo-ming-9-02.png)

這邊看以多加選擇來監控您所有主機的狀態

在監控上除了記憶體之外都監控的到

如果要多加記憶體需額外在環境上再加以設定留置後面說明

比較特別的是說『Health event streaming to CloudWatch Logs』可以將Elastic Beanstalk的狀況也以log的方式存放

當然這對排除故障沒有特別幫助

但是對於長期需要監控環境的人來說是可以長久做記錄追蹤的

**Security 當然就是安全性設定**

![](https://www.albert-yu.com/content/images/2026/10/2019ironman-10th-cloud-native-day12-elastic-beanstalk-cao-zuo-shuo-ming-9-03.png)

這邊來說如果您的程式碼需要呼叫AWS 的其他服務

這邊可以讓您以role來設定權限

也可以讓您對您的EC2有可以進去的方式『EC2 key pair』