AWS EC2 Pricing: The Ultimate Guide - Spot by NetApp

文章推薦指數: 80 %
投票人數:10人

EC2 offers an on-demand pricing model, which charges only for compute capacity usage. You can choose between billing per hour or per second, and pricing varies ... RelatedContentTheCompleteGuidetoEC2InstancePricingWhatareSpotInstances?WhatareAWSSavingsPlans?AWSReservedInstancesEffectiveutilizationofAWSSavingsPlansandEC2spotinstancesAWSEC2Pricing:TheUltimateGuideEC2PricingCalculator:FromBasictoAdvancedAWSEC2Pricing:TheUltimateGuideHowisAWSEC2Priced?AmazonElasticComputeCloud(AmazonEC2)providescloud-basedcomputeresources,designedespeciallyforscalability.Theservicecomeswithauser-friendlyinterfacethatprovidescompletecontrolovercloudresources,whichareprovisionedusingEC2instances. AnEC2instanceactsasavirtualserverhostedintheAmazonWebServices(AWS)cloud.TherearemanytypesofEC2instances,eachcanbecustomizedtotheuniqueneedsoftheoperation,usingvariousoperatingsystems(OS)andapplications. EachEC2instancetypeispriceddifferently,butthereareother,additional,aspectsthatdetermineAWSEC2pricing.Pricingtiersandmodels,forexample,cansignificantlyimpactbillingcharges,aswellasoptimizationfeatureslikeAmazonEC2AutoScalingandAWSComputeOptimizer.Inthisarticle,youwilllearn:AmazonEC2InstancePricingModelsEC2FreeTierEC2On-DemandSpotInstancesReservedInstances(RIs)DedicatedHostsAmazonEC2CostComponentsEstimatingCostswiththeEC2PricingCalculator4WaystoSaveonAmazonEC2AWSSavingsPlansSavingPlansvsEC2RIAmazonEC2AutoScalingAWSComputeOptimizerLeveragingEC2SpotInstanceswithSpotbyNetAppAmazonEC2InstancePricingModelsAWSEC2pricinggivesyoumanyinstancetypestochoosefrom,aswellasseveralpricingmodelsthatcanhelpoptimizeyourbilling.EC2FreeTierAmazonoffersnewusersachancetocheckoutvariousAWSservices,freeofcharge,forupto12months.EC2userswithaFreeTieraccountcanget750hourspermonth. Thefreetierprovidest2.microort3.microinstances,includingWindows,Linux,RHEL,orSLES.However,availabilitydependsonthechosenregion.Youcanopttousemainlymicroinstances,toensureyoudonotexceedthecapacityofferedbythefreetier.EC2On-DemandEC2offersanon-demandpricingmodel,whichchargesonlyforcomputecapacityusage.Youcanchoosebetweenbillingperhourorpersecond,andpricingvariesbetweeninstancetypes.On-demandpricingeliminateslongtermcommitmentsandupfrontpayments,providingahighlevelofscalability.On-demandinstancesletyoueasilyincreaseanddecreasecomputecapacity,andarehighlyrecommendedforshort-termworkloadsoroperationsexperiencingfrequentandunpredictablespikesindemand.Youcanalsoleverageon-demandinstancesforsoftwaredevelopmentandtesting.SpotInstancesEC2spotinstancesletyourequestspareEC2capacity,andpaysignificantlyless(upto90%off)theoriginalon-demandprice.Becausetheycanbeinterruptedonshortnotice,spotinstancesaretypicallyusedforapplicationsworkingatflexiblestartandendschedules,ortoaccommodateurgentspikesindemandforcomputeresources.  ReservedInstances(RIs)Reservedinstancescanprovideasmuchas72%insavings.YoucanuseRIstosignificantlyreduceyouroverallcomputingcosts,inexchangeforcommittingtouseAWSEC2foralongperiodoftime(1or3yearterms). RIsaretypicallyusedforapplicationsthatoperatewithsteadystateusage.YoucanselectRIswithRegionalScope,whichletsyouchangetheavailabilityzone(AZ)andinstancetypeovertime,butdoesnotreservecapacity.Alternatively,RIscanhaveZonalScope,whichreservescapacity,butdoesnotprovideflexibilityoverAZandinstancetype.DedicatedHostsDedicatedHostsprovideyouwithphysicalEC2servers,whichareentirelydedicatedtoyourworkloads.DedicatedHostsletyouuseyourownexistingserver-boundsoftwarelicensing,includingSQLServer,SUSELinuxEnterpriseServer,andWindowsServer. Usingyourowndedicatedserverandlicensecanreduceyourcostsandhelpyoumeetcompliancerequirements.However,youshouldmakesurethatallofyourexistinglicensetermsarecompatiblewiththeenvironment. AmazonEC2CostComponentsWhenyoustartestimatingAmazonEC2costs,youneedtoaccountforthefollowingaspects:Clockhoursofservertime—EC2resourcesstartincurringchargesoncetheyarerunning.Forexample,billingstartsfromthetimeyourEC2instancesarelauncheduntilthetimetheinstancesareterminated.InstancescanalsoincurchargesfromthetimetheElasticIPaddressisallocateduntilitisde-allocated.Instancetype—instancetypesarecomposedofdifferentcombinationsofresources,includingcentralprocessingunit(CPU),memory,networking,andstorage.Additionally,instancetypescanbescaledaccordingtosize,lettingyoucustomizeresourcesaccordingtotherequirementsofyourworkload.Numberofinstances—AWSEC2letsyouprovisionmultipleinstances,andpricingdependsonthenumberofinstancesyourunatanypointintime.Loadbalancing—AWSoffersafeaturecalledElasticLoadBalancing,whichletsyoudistributetrafficacrossEC2Instances.ThetotalnumberofhoursduringwhichElasticLoadBalancingrunscontributestowardsyourmonthlyoverallcosts.Detailedmonitoring—EC2canintegratewithAmazonCloudWatch,whichprovidescapabilitiesformonitoringyourinstances.Thedefaultsetupprovidesbasicmonitoring.However,youcanalsoadddetailedmonitoringcapabilities,whicharechargedatafixedmonthlyrate.ElasticIPaddresses—AWSprovidesoneElasticIPaddressforeachrunninginstance,atnoadditionalcharge.Licensing—AWSenablesyoutoeitherobtainasoftwarelicensefromAWSorbringyourownlicense.AWSlicensesarefullycompliantandarechargedona“payasyougo”basis.Youcanalsouseyourownexistinglicensesandreducetotalcostofownership(TCO),butonlyiftheagreementsarecompatiblewiththecloud.YoucanuseAWSLicenseManagertomanageyoursoftwarelicenses.EstimatingCostswiththeEC2PricingCalculatorTheAWSPricingCalculatorcanhelpyouestimatethecostsofvariousAWSservices.Beforebuildingyoursolution,youcanexplorepricepointsforyourmodel,calculateanestimatedcost,anddeterminewhichcontracttermsandinstancetypessuityourmodelbest.YoucangenerateAmazonEC2estimatesusingtwomethods:Thequickestimatepath—providesquick,butrough,costestimates. Theadvancedestimatepath—providesdetailedcostestimates,accountingfordatatransferandworkloadcosts,additionalstoragetypes,andcheckslesscommoninstancerequirements. 4WaystoSaveonAmazonEC2AWSprovidesvarioustoolsandservicesyoucanusetooptimizeandreduceEC2costs,includingAWSSavingPlans,AmazonEC2AutoScaling,AWSComputeOptimizer,andspotinstances.1.AWSSavingsPlansAWSSavingsPlansofferflexiblepricingmodelsthatcanhelpyousaveupto72%whenusingAWSservicesandresources,includingEC2instances.Savingsareapplicableregardlessofinstancesize,family,operatingsystem,AWSRegion,ortenancy.  SimilartoEC2ReservedInstances,AWSSavingPlansoffermajordiscountsinreturnforalongtermcommitment(1or3years)tousecertainamountsofcomputeresources,whicharemeasuredin$/hour.  OnceyousignupforSavingPlans,youcanmanageyourplansandoptimizecostsusingAWSrecommendations.YoualsogainaccesstotheAWSCostExplorer,whichprovidesperformancereportsandbudgetalerts.SavingsPlansofferthreepaymentoptions:NoUpfront—doesnotrequireyoutopayanyupfrontcost.Youarechargedonamonthlybasis,accordingtotheplanyouchose.PartialUpfront—offerslowerSavingsPlansprices.Youarechargedatleasthalfofthepaymentupfrontwhiletheremainingcostsarebilledmonthly. AllUpfront—providesthelowestprices.Allcostsarechargedinoneupfrontpayment.SavingPlansvsEC2RIWhileSavingPlansandEC2RIbothoffermajorsavingsforon-demandinstances,therearesignificantdifferencesbetweenthetwo: SavingPlans—automaticallyreducethecostsofcomputeusageacrossallAWSregions,regardlessofusagechanges. ComputeSavingsPlans—canbecomparedtoConvertibleRIs,becausethetwoprovidesavingsofupto66%.ComputeSavingsPlansautomaticallyreducethecostsofanyEC2instanceusage,regardlessoftheregion,instancefamily,tenancy,andOS. EC2InstanceSavingsPlans—canbecomparedtoStandardRIs,becausethetwoprovidesavingsofupto72%.EC2InstanceSavingsPlansautomaticallyprovidesavingsonanyinstanceusage,withinanEC2instancefamily,locatedinaspecificregion,regardlessofsize,OS,andtenancy.2.AmazonEC2AutoScalingAmazonEC2AutoScalingenablesyoutoautomaticallyremoveoraddEC2instances,accordingtopredefinedconfigurations.Thisservicecomeswithvariousfeaturesthatcanhelpyoumaintaintheavailabilityandhealthofyourworkloads,includingafleetmanagementfeature,andcapabilitiesforpredictiveanddynamicscaling.EC2AutoScalingcanhelpyousavecostsbydynamicallyadaptingcapacitytocurrentapplicationloads,orbyautomaticallyscalingbackEC2instancesonafixedschedule(forexample,duringaweekendorafteraplannedpromotion).LearnmoreinourdetailedguidetoEC2AutoScaling3.AWSComputeOptimizerTheComputeOptimizeroffersoptimizationrecommendationsyoucanusetoreduceoverallresourcescostsandimproveperformance.ComputeOptimizerleveragesmachinelearning(ML)whenanalyzinghistoricalutilizationmetrics,aswellasdeterminingwhichEC2instancetypesareidealforyourusecase.ThemodelleveragestheaccumulatedexperienceofAWStoidentifyworkloadpatternsandgeneraterecommendationsforoptimaluseofAWSresources. 4.LeveragingEC2SpotInstanceswithSpotbyNetAppWhileAWSoffersSavingsPlans,RIsandspotinstancesforreducingEC2cost,theseallhaveinherentchallengesthatmustbehandled.Spotinstancescanbe90%lessexpensivethanon-demandinstances,however,assparecapacity,AWScanreclaimthoseinstanceswithjustatwominutewarning,makingthemlessthanidealforproductionandmission-criticalworkloads.AWSSavingsPlansandRIscandeliverupto72%costsavings,buttheydocreatefinanciallock-infor1or3yearsandifnotfullyutilizedcanendupwastingmoneyinsteadofsavingit.SpotbyNetAppaddressesallthesechallengesallowingyoutoreliablyusespotinstancesforproductionandmission-criticalworkloadsaswellasenjoythelong-termpricingofRIswithouttherisksoflong-termcommitmentandmuchmore. KeyfeaturesofSpotbyNetApp’scloudfinancialmanagementsuite include:Predictiverebalancing—identifiesspotinstanceinterruptionsuptoanhourinadvance,allowingforgracefuldrainingandworkloadplacementonnewinstances,whetherspot,reservedoron-demand. Advancedautoscaling—simplifiestheprocessofdefiningscalingpolicies,identifyingpeaktimes,automaticallyscalingtoensuretherightcapacityinadvance.Optimizedcostandperformance—keepsyourclusterrunningatthebestpossibleperformancewhileusingtheoptimalmixofon-demand,spotandreservedinstances. Enterprise-gradeSLAs—constantlymonitorsandpredictsspotinstancebehavior,capacitytrends,pricing,andinterruptionrates.Actsinadvancetoaddcapacitywheneverthereisariskofinterruption.Serverlesscontainers—allowsyoutorunyourKubernetesandcontainerworkloadsonfullyutilizedandhighlyavailablecomputeinfrastructurewhileleveragingspotinstances,SavingsPlansandRIsforextremecostsavings.IntelligentutilizationofAWSSavingsPlansandRIs—ensuresthatwheneverthereareunusedreservedcapacityresources,thesewillbeusedbeforespinningupnewspotinstances,drivingmaximumcost-efficiency.Additionally,RIsandSavingsPlansarefullymanaged,fromprocurementtoportfoliooptimization,soyourlong-termcloudcommitmentsgeneratemaximumsavings.Visibilityandrecommendations—letsyouvisualizeallyourcloudspendwiththeabilitytodrill-downbasedonthebroadestrangeofcriteriafromtags,accounts,servicestonamespaces,annotations,labels,andmoreforcontainerizedworkloadsaswellasreceivecostreductionrecommendationsthatcanbeimplementedinafewclicks.  LearnmoreaboutSpotbyNetApp’scloudfinancialmanagementsolutions. [email protected]©2015-2021NetApp,Inc.Allrightsreserved.Privacypolicy|CookiesPolicyBestpracticesforEC2spotinstancesScheduledemowithasolutionconsultantCreateyourfreeSpotaccounttodayCompleteaccessforupto20instancesAutomatecloudinfrastructureCutcloudcomputecostsby70%GetdeepvisibilityintocloudspendScheduleademowithasolutionarchitect×RequestaTrial                                                   ×Watchdemo×



請為這篇文章評分?