(PPT幻灯片版)亚马逊云架构

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ArchitecturalDesignPatternsinCloudComputingTheysentmeheretotalkButIamheretolistenPleaseSendFeedbackjvaria@amazon.comTwitter:@jinmanCloudBestPracticesWhitepaperPrescriptiveguidancetoCloudArchitectsJustGooglefor“CloudBestPractices”tofindthelinkAbstractResourcesFocusonyourneeds,notonhardwarespecs.Asyourneedschange,soshouldyourresources.On-DemandProvisioningAskforwhatyouneed,exactlywhenyouneedit.Getridofitwhenyoudon’tneedScalabilityScaleoutorindependingonusageneeds.NoUp-FrontCostsNocontractsorlong-termcommitments.Payonlyforwhatyouuse.EfficiencyofExpertsUtilizetheskills,knowledgeandresourcesofexperts.CloudComputingAttributesWhatmakestheCloudsoattractiveTheCloudAWSservicesandfeaturesMostApplicationsNeed:1.Compute2.Storage3.Messaging4.Payment5.Distribution6.Scale7.Analytics»AmazonRDS»High-MemoryInstances»LowerEC2Pricing»AWSMulti-FactorAuthentication»VirtualPrivateCloud»LowerReservedInstancePricing»AWSSecurityCenter»ReservedInstancesinEURegion»ElasticMapReduce»SQSinEURegion»NewSimpleDBFeatures»FPSGeneralAvailability»LowerpricingtiersforAmazonCloudFront»AWSManagementConsole»AmazonEC2withWindows»AmazonEC2inEURegion»AWSToolkitforEclipse»AmazonEC2ReservedInstances»AWSImport/Export»NewCloudFrontFeature»Monitoring,AutoScaling&ElasticLoadBalancing»AmazonElasticMapReduceinEurope»EBSSharedSnapshots»SimpleDBinEURegion»Monitoring,AutoScaling&ElasticLoadBalancinginEU»AmazonCloudFrontPrivateContent»SAS70TypeIIAudit»AWSSDKfor.NET»AmazonEC2ReservedInstanceswithWindows,ExtraLargeHighMemoryInstances»AmazonS3VersioningFeature»ConsolidatedBillingforAWS»LowerpricingforOutboundDataTransferNewFeaturesandServices»AmazonEC2withWindowsServer2008,SpotInstances,BootfromAmazonEBS»AmazonCloudFrontStreaming»AmazonVPCentersUnlimitedBeta»AWSRegioninNorthernCalifornia»InternationalSupportforAWSImport/Export“AtAmazon,EveryDayisaLaunchDay”ScalabilityBuildScalableArchitectureonAWSAscalablearchitectureiscriticaltotakeadvantageofascalableinfrastructureCharacteristicsofTrulyScalableServiceIncreasingresourcesresultsinaproportionalincreaseinperformanceAscalableserviceiscapableofhandlingheterogeneityAscalableserviceisoperationallyefficientAscalableserviceisresilientAscalableservicebecomesmorecosteffectivewhenitgrowsCloudArchitectureLessonsusingAmazonWebServices1.Designforfailureandnothingfails2.Loosecouplingsetsyoufree3.Implement“Elasticity”4.BuildSecurityineverylayer5.Don'tfearconstraints6.ThinkParallel7.Leveragedifferentstorageoptions1.DesignforFailureandnothingwillreallyfailEverythingfails,allthetimeWernerVogels,CTOAmazon.comAvoidsinglepointsoffailureAssumeeverythingfails,anddesignbackwardsGoal:Applicationsshouldcontinuetofunctioneveniftheunderlyingphysicalhardwarefailsorisremovedorreplaced.DesignforFailurewithAWSToolstomakeyourlifeeasierUseElasticIPaddressesforconsistentandre-mappableroutesUsemultipleAmazonEC2AvailabilityZones(AZs)CreatemultipledatabaseslavesacrossAZsUsereal-timemonitoring(AmazonCloudWatch)UseAmazonElasticBlockStore(EBS)forpersistentfilesystemsEC2InstanceAEC2InstanceBYourWebTwoDotZeroName.comLOGVolumeDATAVolumeEC2InstanceAYourWebTwoDotZeroName.comLOGVolumeDATAVolumeEC2InstanceBAmazonS3AvailabilityZone1AvailabilityZone22.BuildLooselyCoupledSystemsThelooserthey'recoupled,thebiggertheyscaleIndependentcomponentsDesigneverythingasaBlackBoxDe-couplingforHybridmodelsLoad-balanceclustersControllerAControllerBControllerCControllerAControllerBControllerCQQQUseAmazonSQSasBuffersTightCouplingLooseCouplingusingQueuesMySQLMasterWebServerMyWebSite.comMySQL(Slave)AppServerAppServerLBWebServerLBAppserverTapesDataTierDatabaseServermachineswithmasterandlocalrunningseparately,NetworkstorageforStaticobjectsBackendFirewallLimitsaccesstoapplicationtierfromwebtierAppLoadBalancerHardwareorSoftwaresolutiontospreadtrafficoverappserversAppServerTierFleetofmachineshandlingApplicationspecificworkloadsCachingservermachinescanbeimplementedatthislayerExteriorFirewallHardwareorSoftwareSolutiontoopenstandardPorts(80,443)WebLoadBalancerHardwareorSoftwaresolutiontodistributetrafficoverwebserversWebTierFleetofmachineshandlingHTTPrequests.BackupsonTapesPeriodicbackupsstoredonTapesusuallymanagedby3rdpartyattheirsiteAvailabilityZone#nAvailabilityZone#1SLBAppServerAppServerAuto-scalinggroup:AppTierAvailabilityZone2Auto-scalinggroup:WebTierAuto-scalinggroup:WebTierRDSMasterWebServerWebServerELB:WebTierCloudFrontLBTomcatWebServerWebServerRDSSlaveSLBAppServerAppServerAuto-scalinggroup:AppTierTomcatMyWebSite.comDNSRDSSlaveAmazonS3DBTierMySQLRDSDBInstances(master,localslave,x-AZslaveforfailover),AutomatedbackupstoS3allmanagedbyAWSExteriorFirewallnolongerneededbecauseEC2instancesarecontrolledwithSecurityGroupsAuto-scalingWebTierGroupofEC2instanceshandlingHTTPrequests.BackendFirewallnolongerneededAppServerLoadBalancerSoftwareLB(e.g.HAProxy)onEC2instancetospreadtrafficoverappserverclusterAuto-scalingAppTierGroupofEC2instancesrunningtheactualapp.InstancesbelongtoAuto-scalinggroup.CachingserversinstancescanbeimplementedatthislayerElasticLoadBalancerELBtospreadtraffictoWebServerAuto-sc

1 / 46
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功