您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > (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
本文标题:(PPT幻灯片版)亚马逊云架构
链接地址:https://www.777doc.com/doc-3488087 .html