1、微服务在云上的架构演进技术创新,变革未来议程微服务概要云上的架构的演进服务发现与访问数据存储与管理自动化部署监控与日志Q&A微服务概要微服务概要参考:https:/ ProductShared Data API or Nothing Dev and Ops DevOps参考:https:/ build it,you run it.)决策权交给各个服务(而不是类似ESB的集中决策)服务之间只能通过API交互(不可以直接访问或修改其他服务的数据)面向失效的设计基础架构自动化不断演进(Evolutionary Design)参考:https:/ OSS:http:/netflix.github.io
2、/参考:https:/ 服务发现与访问 数据存储与管理 自动化部署 监控与日志Eureka:服务发现 Hystrix:断路器(Lib)服务发现与访问(基于EC2)方法一:基于Client LibraryNetflix:服务发现与访问(基于EC2)方法二:基于ProxyLyft Envoy:服务发现与访问(基于托管服务)基于Serverless的服务发现+服务发现与访问(基于托管服务)API Gateway:Edge Proxy的无服务器化ClientAPI GatewayMonolithon EC2Microservice 1 (Lambda)Microservice 2 (ELB+EC2)M
3、icroservice 3 (AWS Elastic Beanstalk)GILT:Amazon API Gateway加强API的一致性(Swagger)监控关键指标API调用缓存提供认证和鉴权(IAM)计数和限流访问加速数据存储与管理(基于EC2)高可用架构与最终一致性参考:https:/ Stream:严格顺序的数据库操作流 DynamoDB Stream+Lambda:数据复制无服务器化数据存储与管理(基于托管服务)ServiceGILT:事件驱动的数据访问(基于托管服务)Event with/without stateDevOps-AWS持续集成和部署服务Third Party To
4、olingAWS CodeCommitAWS CodeBuildAWS CodeDeployAWS CodePipelineSourceBuildTestProductionCodeAWS CodeStarDevOps-基础设施自动化Cloudformation:Infrastructure as Code,让基础架构可以像代码一样版本化DevOps 容器管理平台ECSNetflix使用ECS部署容器集群DevOps on AWS 第三方工具支持监控(托管服务+第三方)Instance level:Memory usage,GC Cycles Service level:RPMs,Latenc
5、y,Error rate Universe level:Endpoint response timesAWS X-RayCloudWatchAPM ServicesOpen Source日志(基于托管服务)CleanupServiceService“X”VMEC2 InstanceService“X”VM EC2 InstanceCloudWatch Log GroupLog StreamLog StreamServiceService“X”VMEC2 InstanceService“X”VM EC2 InstanceCloudWatch Log GroupLog StreamLog Stre
6、amServiceEC2 InstanceService“X”VMEC2 InstanceService“X”VMCloudWatch Log GroupLog StreamLog StreamLambdaAmazon Elasticsearch ServiceKibanaLambdaDelete!Index!TimerCloudwath LogS3后发优势与不断演进的AWS服务*As of 1 August 20172010615161,017159201220142016AWS has been continually expanding its services to support v
7、irtually any cloud workload,and it now has more than 90 services that range from compute,storage,networking,database,analytics,application services,deployment,management,developer,mobile,Internet of Things (IoT),Artificial Intelligence(AI),security,hybrid and enterprise applications.AWS has launched
8、 a total of 663 new features and/or services year to date*-for a total of 3,576 new features and/or services since inception in 2006.AWS每年发布的新功能数量统计3,576AWS Direct ConnectAWS Elastic BeanstalkAWS ShieldEFSWorkSpacesAmazon LumberyardAWS Import/ExportAWS OpsWorks for Chef AutomateAWS IoTAmazon PollyAm
9、azon ConfigAmazon RDS for AuroraAWSSnowball EdgeAWS Service CatalogCloudWatch LogsAWS GreengrassAmazon EC2 Systems ManagerAmazon Appstream 2.0Amazon AthenaAWS WAFAmazon RekognitionAWS Step FunctionsAWS Certificate ManagerAWS CodePipelineAmazon ElastiCacheMobile AnalyticsAWS Mobile HubAWS Storage Gat
10、ewaySchema Conversion ToolAWS OpsWorksCodeCommitAmazon InspectorEC2Container ServiceAmazon CognitoAmazon LightsailAWS CodeDeployAWS Personal Health Dashboard*As of 1 August 2017Amazon Route 53LambdaAWS GlueAWS X-RayAWS CodebuildAmazon QuickSightAWS Discovery ServicesAWS BatchAWS SnowmobileAWS OrganizationsAmazon LexAWS Managed ServicesRedshiftAmazon Kinesis FirehoseAmazon PinpointDynamo DBAWSSnowballAmazon WorkmailDevice FarmWorkDocsAmazon InspectorMachine LearningAWS目前的功能总数(2017-08-01)中国初创用户中国企业用户THANK YOU