分布式服务平台:Microservices Infrastructure
Microservices infrastructure 是一个为快速部署全球分布式服务的现代平台。
基础平台包括可以用来管理集群和资源节点数量的控制节点。容器可以自动在 DNS 上注册,从而使其他服务能够定位到它们
一旦 WAN 配置好了,每个集群可以通过 DNS 或者 Consul API 在其他数据中心定位服务。
平台架构:
单数据中心:
多数据中心:
控制节点:
资源节点:
Core Components and Features
-
Mesos
-
Consul
-
Multi-datacenter
-
High availability
-
Rapid immutable deployment (with Terraform + Packer)
Mesos Frameworks
-
Marathon
-
Kubernetes
-
Kafka
-
Riak
-
Cassandra
-
Elasticsearch
-
HDFS
-
Spark
-
Storm
-
Chronos
Security
-
Manage Linux user accounts
-
Authentication and authorization for Consul
-
Authentication and authorization for Mesos
-
Authentication and authorization for Marathon
-
Application load balancer (based on HAProxy and consul-template)
-
Application dynamic firewalls (using consul template)
Operations
-
Logging
-
Metrics
-
In-service upgrade with rollback
-
Autoscaling of Resource Nodes
-
Self maintaining system (log rotation, etc)
-
Self healing system (automatic failed instance replacement, etc)
Platform Support
-
Vagrant (Mac OSX + VirtualBox)
-
Vagrant (Windows + VirtualBox)
-
OpenStack
-
Cisco Cloud Services
-
Cisco MetaCloud
-
Cisco Unified Computing System
-
Amazon Web Services
-
Microsoft Azure
-
Google Compute Engine
-
VMware vSphere
-
Apache CloudStack
-
Digital Ocean