Advanced estimates - AWS Pricing Calculator

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

Use the advanced estimate path to generate a more accurate Amazon EC2 estimate. Advancedestimates-AWSPricingCalculator AWSDocumentationAWSPricingCalculatorUserGuide OperatingsystemInstancetypeWorkloadPricingDatatransferMemory(blockstorage) Advancedestimates Theadvancedestimatepathisdesignedtogiveyouamoreaccurateestimate,more parameterflexibilitywhengeneratinganestimate,andtheabilitytofine-tuneyour estimate.Itrequiresmorein-depthknowledgeofyourAmazonEC2needsandrequirements than anestimatethatyougenerateusingthequickestimatepath. Usetheadvancedestimatepathforestimatesthatneedtoaccountforworkload,data transfercosts,additionalstorageoptions,andother,lesscommoninstance requirements.Forexample,youknowthatyougetalotoftrafficonMondaysbutnot muchtrafficthroughouttherestoftheweek,andyouwantanestimatethataccounts for thisworkload. Theadvancedestimatepathhasthefollowingsectionsandparameters: Operatingsystem Instancetype Workload Pricing Datatransfer Memory(blockstorage) Operatingsystem ThissettingistheOSonanAmazonEC2instance.AWSPricingCalculatorgenerates yourestimateusing AmazonMachineImages(AMIs)thatmatchyourchosenOS.ChoosetheOSthatbest matchesyourneeds. Linux AWSPricingCalculatorgeneratesyourestimateusingastandardLinuxAMI. LinuxSQL AWSPricingCalculatorgeneratesyourestimateusingaLinuxSQLAMI. RedHatEnterprise Linux AWSPricingCalculatorgeneratesyourestimateusingaRedHatEnterpriseLinux AMI. SUSELinuxEnterprise Server AWSPricingCalculatorgeneratesyourestimateusingaSUSELinuxEnterprise AMI. WindowsServer AWSPricingCalculatorgeneratesyourestimateusingastandardWindowsServer AMI. WindowsServerBringYourOwn License AWSPricingCalculatorgeneratesyourestimatewithoutincludingyourlicense costs. Windows ServerwithSQLServerEnterprise AWSPricingCalculatorgeneratesyourestimateusingaWindowsServerwithSQLserver EnterpriseAMI. WindowsServer withSQLServerStandard AWSPricingCalculatorgeneratesyourestimateusingaWindowsServerwithSQLServer StandardAMI. WindowsServerwith SQLServerWeb AWSPricingCalculatorgeneratesyourestimateusingaWindowsServerwithSQLServer WebAMI. Instancetype AWSPricingCalculatorlistsallavailableinstancetypes.AWSPricingCalculator startswiththedefaultinstance typet2.xlargeselected.Youcanusethesearchbartofilter theinstancelistbycolumnnames.Ifyoudon'tselectacolumntofilterby,AWS PricingCalculator usestheAPInamecolumnasthedefault. Formoreinformationaboutthepricesofavailableinstancetypes,seetheAmazonEC2Pricingpage. Workload WorkloadsaretheusagepatternsthatmatchyourAmazonEC2usage.Choosingthe workloadthatmostcloselymatcheswhatyouusereducesthenumberofOn-Demandand unusedRIhoursthatyoumightpurchasebycoveringyourusagewiththebest combinationofRIsandOn-DemandInstances.Youcandefinemorethanoneworkload foryourestimate. Constantusage Thisworkloadisbestforausecasethathasaconstant,predicable load,suchasloggingtraffictoawebsiteorrunningaprocessinthe background. Dailyspike Thisworkloadisbestforusagepatternsthatpeakonceaday,suchas runningseveraljobsatmidnightoramorningnewsspike. Weeklyspike Thisworkloadisbestforpatternsthatpeakonceaweek,suchas blogsthatpostonceaweekorwhenyouairaweeklytelevisionshow. Monthlyspike Thisworkloadisbestfortrafficthatspikesonceamonth,suchas monthlyinvoices,payroll,orothermonthlyreports. Pricing TheAWSPricingCalculatoradvancedestimatepathoffersthreepricingmodelsfor AmazonEC2 instances:Costoptimized,On-Demand,orReserved.CostoptimizedcombinesOn-Demand InstancesandRIsfortheleastexpensiveoption. Pricingmodel Thepricingmodeldetermineswhetheryouarelookingforapay-as-you-use instance,oraninstancethatyoucanreserveinadvance.Reservinganinstance isnotthesameasusinganinstance. Costoptimized ThedefaultvalueforthepricingmodelisCost optimized.AWSPricingCalculatorusesCost optimizedasthedefaultbecauseitprovidesa balancebetweenOn-DemandInstancesandRIs.ThismeansthatAWSPricingCalculator triestogenerateanestimatewhereyouaren'tbuyingmoreRIhours thanyouneed,butyoustillhavethecoveragethatyouneedfor yourpeaktrafficperiods,whichyourRIsmightnotcover.AWSPricingCalculator doesthisbydeterminingthebreak-evenpointbetweenthe utilizationandpricesofOn-DemandandReservedInstances.For example,ifRIsprovidea33%discountthenanyRIsthatare utilizedlessthan67%wouldbeunderutilized,andanOn-Demand Instancewouldbemorecost-effective. Forexample,youmightneedonlytwoRIstocoveryourday-to-day traffic,buteveryweekyouexpectaperiodoftrafficwhereyou needfourinstances.AWSPricingCalculatorgeneratesanestimatethatassumesthat youpurchasetwoinstancesforuseduringtheentireweekandthat youuseOn-DemandInstancestocoveryourpeaktraffic.Thisenables youtotakeadvantageoftheRIdiscountforyournormaltraffic, butyouavoidpayingfortwoinstancereservationsthatgolargely unused. On-Demand On-DemandInstancesletyoupayforaninstance'scomputecapacity bythehourorsecond(foraminimumof60seconds)withno long-termcommitments.Thismeansthatyoudon'tneedtoplan, purchase,ormaintaininstancesthatyoudon'tuseoften. Forexample,you'redemoingaprogramtoafriend.Youdon'tneed theprogramtorunforlong,butyourlocalcomputercan'thandle theload.YoucanuseanOn-DemandInstancetoruntheprogramand showitoff,butyoudon'tneedtoworryaboutpayingfortheserver onceyou'redonewithit. Reserved RIsprovideadiscountcomparedtoOn-DemandInstancepricingand canbepurchasedforaone-yearorthree-yearterm.Dependingonthe typeofRI,youcanchangeyourAvailabilityZone,instancesize, andnetworkingtypeoryourinstancefamily,operatingsystem,and tenancy.Thisenablesyoutopaylessforinstancesthatyouusefor longperiodsoftime. Forexample,yourunawebsite.You'renotgoingtotakedownyour websiteoften,soyouwanttoleavetheserverrunningallofthe time.Youcanpurchaseareservationandrunyourwebsiteonthe RI. Dedicated DedicatedInstancesareavailableforOn-DemandandReserved Instances.Youpaythenormalhourlyusagefeeaswellasanhourly regionfee.DedicatedInstancesruninaVPConhardwarethatis dedicatedtoasinglecustomer.They'rephysicallyisolatedatthe hosthardwarelevelfrominstancesthatbelongtootherAWS accounts. Forexample,yourunaserverwithaserver-boundsoftware license.ADedicatedInstanceenablesyoutobindyourlicensetoa specificinstanceandmeetcorporatecomplianceandregulatory requirements. Contractterms WhenyoupurchaseanRI,youagreetopayfortheentiretermoftheRI, upfront,monthly,orwithacombinationofthetwooptions.Thetermscanlast foroneorthreeyears.Payingupfrontisabiggerone-timecost,butless expensiveoverall.Payingmonthlyenablesyoutospreadoutyourcostsover multiplebillingperiods. Nocontract Nocontractmeansthatyou'reusingOn-DemandInstancesinsteadof anRI.Therearenoupfrontormonthlycosts,andyoupayonlyfor whatyouuse.However,youpayfullpriceinsteadofthediscounted rateprovidedbypurchasinganRI. 1YRNoUpfront Foraone-yearno-upfrontterm,youagreetopurchaseanRIfora one-yearperiod.Thereisnoupfrontfee,butyoupayamonthly fee. 1YRPartial Upfront Foraone-yearpartial-upfrontterm,youagreetopurchaseanRI foraone-yearperiod.Thereisanupfrontfee,butyoualsopaya monthlyfee.Thismeansthattheupfrontcostishigherthanifyou hadano-upfrontterm,butthemonthlycostislower,andyoupayan overalllowerpricethanforano-upfrontRI. 1YRNoUpfront-ConvertibleReservedInstances Foraone-yearno-upfrontterm,youagreetopurchaseanRIfora one-yearperiod.Thereisnoupfrontfee,butyoupayamonthlyfee. ForaConvertibleRI,youcanchangetheinstancefamilies, operatingsystems,ortenanciesofyourConvertibleRIsoverthe courseofyourRIterm. 1YRPartialUpfront-ConvertibleReserved Instances Foraone-yearpartial-upfrontterm,youagreetopurchaseanRI foraone-yearperiod.Thereisanupfrontfee,butyoualsopaya monthlyfee.Thismeansthattheupfrontcostishigherthanifyou hadano-upfrontterm,butthemonthlycostislower,andyoupayan overalllowerpricethanforano-upfrontRI.ForaConvertibleRI, youcanchangetheinstancefamilies,operatingsystems,or tenanciesofyourConvertibleRIsoverthecourseofyourRIterm. 1YRFullUpfront-ConvertibleReserved Instances Foraone-yearfull-upfrontterm,youagreetopurchaseanRIfor aone-yearperiod.Thereisnomonthlyfee—youpaytheentire costwhenyoupurchasetheRI.ForaConvertibleRI,youcanchange theinstancefamilies,operatingsystems,ortenanciesofyour ConvertibleRIsoverthecourseofyourRIterm. 3YRNoUpfront Forathree-yearno-upfrontterm,youagreetopurchaseanRIfor athree-yearperiod.Thereisnoupfrontfee,butyoupayamonthly fee. 3YRPartial Upfront Forathree-yearpartial-upfrontterm,youagreetopurchaseanRI forathree-yearperiod.Thereisanupfrontfee,butyoualsopaya monthlyfee.Thismeansthattheupfrontcostishigherthanifyou hadano-upfrontterm,butthemonthlycostislower,andyoupayan overalllowerpricethanforano-upfrontRI. 3YRFull Upfront Forathree-yearfull-upfrontterm,youagreetopurchaseanRIfor athree-yearperiod.Thereisnomonthlyfee—youpaythe entirecostwhenyoupurchasetheRI. 3YRNoUpfront-ConvertibleReservedInstances Forathree-yearno-upfrontterm,youagreetopurchaseanRIfor athree-yearperiod.Thereisnoupfrontfee,butyoupayamonthly fee.ForaConvertibleRI,youcanchangetheinstancefamilies, operatingsystems,ortenanciesofyourConvertibleRIsoverthe courseofyourRIterm. 3YRPartialUpfront-ConvertibleReserved Instances Forathree-yearpartial-upfrontterm,youagreetopurchaseanRI forathree-yearperiod.Thereisanupfrontfee,butyoualsopaya monthlyfee.Thismeansthattheupfrontcostishigherthanifyou hadano-upfrontterm,butthemonthlycostislower,andyoupayan overalllowerpricethanforano-upfrontRI.ForaConvertibleRI, youcanchangetheinstancefamilies,operatingsystems,or tenanciesofyourConvertibleRIsoverthecourseofyourRIterm. 3YRFullUpfront-ConvertibleReserved Instances Forathree-yearfull-upfrontterm,youagreetopurchaseanRIfor athree-yearperiod.Thereisnomonthlyfee—youpaythe entirecostwhenyoupurchasetheRI.ForaConvertibleRI,youcan changetheinstancefamilies,operatingsystems,ortenanciesof yourConvertibleRIsoverthecourseofyourRIterm. Datatransfer YoucanaccrueadditionalcostsbytransferringdataintoandoutofAmazonEC2.If you knowhowmuchdatayoucanexpecttouploadordownloadinamonth,youcanadd thesecoststoyourestimate.Formoreinformation,seetheData TransfersectionoftheOn-DemandPricing page. Memory(blockstorage) Youcanaddestimatesforstorageattachedtoyourinstanceorforsnapshotstaken ofyourinstance.Attachingstoragetoyourinstanceenablesyoutorundatabases, storelogs,orcreatebootvolumesforyourinstance.Snapshotscreatebackupsof thedataonyourinstance,andyoucanaddestimatesforregularsnapshotstoyour mainestimate. GeneratingAmazonEBSestimates YoucanbackupthedataonyourAmazonEBSvolumestoAmazonSimpleStorageService (AmazonS3)bytakingpoint-in-time snapshots.Snapshotsareincrementalbackups,whichmeansthatonlytheblockson thedevice thathavechangedsinceyourmostrecentsnapshotaresaved.Thisminimizesthetime requiredtocreatethesnapshotandsavesonstoragecostsbynotduplicatingdata. Whenyou deleteasnapshot,onlythedatauniquetothatsnapshotisremoved.Eachsnapshot contains alloftheinformationthatyouneedtorestoreyourdata(fromthemomentwhenthe snapshot wastaken)toanewAmazonEBSvolume. Thetotalcostforasnapshotisthecostoftheinitialsnapshotplustheincremental snapshots.AWSPricingCalculatorcalculatespriceswiththeassumptionthatyouuse AWSStepFunctionsandAmazonCloudWatch tocreateanautomatedmonthlyretentionperiodforyoursnapshots,meaningthatyour snapshotsarereplacedeverymonth. CalculatingAmazonEBSprices Snapshotsaresavedataspecificfrequency(monthly,weekly,daily,orhourly),so theretentionperiodofeachincrementalsnapshotforamonthdecreasesasthemonth progresses.AWSPricingCalculatortriestoestimatethecostoftheservicesthat youselectedona monthlybasis. Thepricesforsnapshotsreflecttheinitialsnapshotandtheincremental snapshots. CalculatingweeklyincrementalAmazonEBS prices AWSPricingCalculatoruses7to30differentdatapointstocalculatetheestimate forany specificincrementalsnapshot.Wecanexpressthemonthlycalculationusingthe followingmathematicalformulaforasnapshotthatisscheduledtobetakenweekly andhasamonthlyretentionrate. Let'susethisformulainanexample.Forsnapshotstorage,youspecifythe frequencyasweeklyandthestorageamountchangedas30GB.Eachsnapshotstorage costs$0.05/GB. Week Snapshotsize Retentionlength Costformula Snapshotcost SnapshotforWeek1 30GB Threeweeks 30x$0.0375[$0.05x¾] $1.125 SnapshotforWeek2 30GB Twoweeks 30x$0.025[$0.05x½] $0.75 SnapshotforWeek3 30GB Oneweek 30x$0.0125[$0.05x¼] $0.375 Thetotalmonthlycostofthesethreeincrementalsnapshots,takingtheretention periodintoconsideration,is$2.25. Bycomparison,ifwedon'ttaketheretentionperiodintoconsideration,the calculationforthesnapshotbehavesasthougheachsnapshotisstoredforthe entireduration.Wecanexpressthisusingthefollowingmathematical formula. Let'susethesameexampleasbeforebutwithouttakingtheretentionperiodinto consideration.Forsnapshotstorage,youspecifythefrequencyasweeklyandthe storageamountchangedas30GB.Eachsnapshotstoragecosts$0.05/GB. Week Snapshotsize Retentionlength Costformula Snapshotcost SnapshotforWeek1 30GB Notconsidered 30x$0.05 $1.50 SnapshotforWeek2 30GB Notconsidered 30x$0.05 $1.50 SnapshotforWeek3 30GB Notconsidered 30x$0.05 $1.50 Inthiscase,thetotalmonthlycostofthesethreeincrementalsnapshots,without takingtheretentionperiodintoconsideration,is$4.50. Inotherwords,thecostofasnapshotcalculatedwithretentionis50%lowerthan thecostofasnapshotcalculatedwithoutretention. DocumentConventions Quickestimates GeneratingWindowsServerandSQLServeron AmazonEC2estimates Didthispagehelpyou?-Yes Thanksforlettingusknowwe'redoingagoodjob! Ifyou'vegotamoment,pleasetelluswhatwedidrightsowecandomoreofit. Didthispagehelpyou?-No Thanksforlettingusknowthispageneedswork.We'resorryweletyoudown. Ifyou'vegotamoment,pleasetellushowwecanmakethedocumentationbetter.



請為這篇文章評分?