> ## 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 – Day08 – Elastic Beanstalk 操作說明(5)
- URL: https://www.albert-yu.com/blog/2019ironman-10th-cloud-native-day08-elastic-beanstalk-operations-5/
- Published: 2018-10-21T17:00:00.000Z
- Updated: 2026-10-30T03:43:10.000Z
- Author: Albert Yu
- Tags: 2019ironman 10th - Cloud Native - AWS Elastic Beanstalk & Devops 網站維運實戰, Ithome鐵人賽

## Day08 - Elastic Beanstalk 操作說明(5)

#### 11

##### 談到了程式碼的上傳就不得不先優先提到 Rolling updates and deployments (滾動環境資訊更新) ，這個功能關係到了您網站在更新時是否會影響USER的使用！

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

一般來說更新程式的狀況是需要停機的

但是這個狀況在雲端的狀況已經變了

既然我隨時可以要到更多的主機

那何不直接將主機整個更新好之後將舊主機直接替換下來

這樣我的使用者幾乎不會感受到影響

點選 `Rolling updates and deployments` 下方的 `Modify`進入編輯畫面

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

[Rolling updates and deployments 說明連結](https://docs.aws.amazon.com/zh%5Ftw/elasticbeanstalk/latest/dg/using-features.rollingupdates.html?ref=albert-yu.com)

重點在於 Rolling Updates(滾動更新) 與 Rolling Deployments(滾動部署)兩個的差異

滾動更新指的是在Ｎ台以上的主機時每次抽取1～N台來更新

滾動部署則是新安裝好之後將救的主機替換掉

如何更新就取決於對效能的附載多少

如果是7\*24的高附載建議是以滾動部署為主

Rolling updates and deployments (滾動環境資訊更新) 這功能是因該最優先啟動的