官术网_书友最值得收藏!

Cattle

Cattle are more representative of the instance types you should be running in public clouds such as Amazon Web Services (AWS) or Microsoft Azure, where you have auto scaling enabled.

  • You have so many cattle in your herd you don't name them; instead they are given numbers and tagged so you can track them. In your instance cluster, you can also have too many to name so, like cattle, you give them numbers and tag them. For example, an instance could be called ip123067099123.domain.com and tagged as app-server.
  • When a member of your herd gets sick, you shoot it, and if your herd requires it you replace it. In much the same way, if an instance in your cluster starts to have issues it is automatically terminated and replaced with a replica.
  • You do not expect the cattle in your herd to live as long as a pet typically would, likewise you do not expect your instances to have an uptime measured in years.
  • Your herd lives in a field and you watch it from afar, much like you don't monitor inpidual instances within your cluster; instead, you monitor the overall health of your cluster. If your cluster requires additional resources, you launch more instances and when you no longer require a resource, the instances are automatically terminated, returning you to your desired state.
主站蜘蛛池模板: 丰都县| 西乌珠穆沁旗| 浮梁县| 志丹县| 天柱县| 防城港市| 武穴市| 朝阳县| 岱山县| 定州市| 武功县| 武汉市| 邯郸县| 钦州市| 土默特右旗| 鸡西市| 文化| 通化市| 田阳县| 昌图县| 蕲春县| 湘阴县| 临清市| 丰都县| 称多县| 沙湾县| 友谊县| 卢湾区| 天全县| 固原市| 都兰县| 云南省| 绥化市| 留坝县| 阿坝县| 师宗县| 焦作市| 商城县| 安国市| 玛纳斯县| 南涧|