

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 每個團隊模式的服務
<a name="service-per-team"></a>

每個團隊模式的服務不會透過業務功能或服務分解整體，而是將其分解為由個別團隊管理的微服務。每個團隊都負責業務功能，並擁有該功能的程式碼庫。團隊獨立開發、測試、部署或擴展其服務，主要與其他團隊互動以交涉 APIs。建議您將每個微服務指派給單一團隊。不過，如果團隊夠大，多個子團隊可以在相同的團隊結構中擁有單獨的微服務。下表說明使用此模式的優點和缺點。


****  

| 優點 | 缺點 | 
| --- | --- | 
|  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/modernization-decomposing-monoliths/service-per-team.html)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/modernization-decomposing-monoliths/service-per-team.html)  | 

下圖顯示單體如何分割為由個別團隊管理、維護和交付的微服務。

![\[團隊將整體分解為微服務\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/modernization-decomposing-monoliths/images/service-per-team.png)
