TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How did you significantly reduce your AWS cost?

100 pointsby kacyover 7 years ago
One of the most obvious things is to better utilize your Reserved Instances, but what are some things that are not so obvious? Do you use any tools? Thanks!

55 comments

primaxover 7 years ago
I&#x27;m a consultant in AWS, mainly doing cost optimization.<p>My favorite that most people miss is the S3 VPC endpoint. Putting an S3 endpoint in your VPC gives any traffic to S3 it&#x27;s own internal route, so it&#x27;s not billed like public traffic. I&#x27;ve seen several reductions in the 20-50k a month range with this one trick.<p>Otherwise, stop doing baremetal processes on the cloud. It&#x27;s dumb. For instance, I see people operating a file gateway server (with 5 figure a year licensing costs) on ec2 using EBS storage. This is a perfect use case for replacement with S3, with lambda code running in response to whatever file gateway event you&#x27;re monitoring.<p>Lastly, you need to really challenge people&#x27;s conceptions about when resources need to be in use. Does a dev&#x2F;test site need to be running the 16 hours that people are not at work? Of course not, except when people are staying late. So you create incentives to turn it off, or you run it on something like ECS or kubernetes with software to stop containers if they&#x27;re not actively used in a 15 minute window (and then the cluster can scale down).
评论 #15590859 未加载
trjordanover 7 years ago
Tactically: spot instances, reserved instances, auto-scaling groups, deleting data that we didn&#x27;t need.<p>Strategically: I&#x27;ve only ever see it work by making it somebody&#x27;s job to save money on Amazon, ahead of feature velocity. Find a tool that analyses where you&#x27;re spending [0], pick the biggest bucket of spend you don&#x27;t really understand, and drill down until you&#x27;re sick of looking at it. Make some optimizations around how you&#x27;re spending that money, rinse, repeat.<p>Every org I know has done a first pass that&#x27;s pretty effective, where you buy a bunch of reserved instances for the compute power you need. A couple of the companies I&#x27;ve worked with stalled out at that point. The others figured out real cost &#x2F; benefit models for real projects and did things like move data from S3 to Glacier, or from hosted MySQL to RDS, or from Cassandra to DynamoDB.<p>There are only so many free-lunch cuts you can make, so it&#x27;s worth your while start down a path that allows you to consider trade-offs, which includes empowering somebody to lobby for them.<p>[0] Seems nice, haven&#x27;t used it: <a href="https:&#x2F;&#x2F;github.com&#x2F;Teevity&#x2F;ice" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Teevity&#x2F;ice</a>. I know the folks at <a href="http:&#x2F;&#x2F;cloudhealthtech.com" rel="nofollow">http:&#x2F;&#x2F;cloudhealthtech.com</a>, they&#x27;re building a pretty solid business if you&#x27;re willing to spend money to save money.
rb808over 7 years ago
The HFT Guy has a good blog and did some posts on this. Basically Google Cloud is much cheaper than AWS so you should look at that. There are also other alternatives including IBM SoftLayer which I&#x27;ve never looked at before.<p>&quot;Run an entire tech company in the cloud, or run only a single [big] project requiring more than 10 servers? Google Compute Engine<p>Run less than 10 servers, for as little cost as possible? Digital Ocean<p>Run only beefy servers ( &gt; 100GB RAM) or have special hardware requirements? IBM SoftLayer or OVH&quot;<p><a href="https:&#x2F;&#x2F;thehftguy.com&#x2F;2016&#x2F;06&#x2F;08&#x2F;choosing-a-cloud-provider-amazon-aws-ec2-vs-google-compute-engine-vs-microsoft-azure-vs-ibm-softlayer-vs-linode-vs-digitalocean-vs-ovh-vs-hertzner&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thehftguy.com&#x2F;2016&#x2F;06&#x2F;08&#x2F;choosing-a-cloud-provider-a...</a><p><a href="https:&#x2F;&#x2F;thehftguy.com&#x2F;2016&#x2F;11&#x2F;18&#x2F;google-cloud-is-50-cheaper-than-aws&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thehftguy.com&#x2F;2016&#x2F;11&#x2F;18&#x2F;google-cloud-is-50-cheaper-...</a>
评论 #15588958 未加载
评论 #15591594 未加载
ebrewsteover 7 years ago
We stopped storing our IoT raw data in databases. We still need to search it, but now we store only metadata in the database (we know what we will search by, so we can make appropriate metadata) and store the raw data in S3. So any searches are in the DB, using the DB for what it is good at. This means that our storage &#x2F; database cost approaches just the S3 cost, because our metadata is ~0.001 the size of the raw data. It took our product from &quot;we are going to shut this thing down&quot; to making money.<p>Got the idea from an AWS talk here <a href="https:&#x2F;&#x2F;youtu.be&#x2F;7Px5g6wLW2A" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;7Px5g6wLW2A</a>. Blew my mind. I coded up all the changes in a day. Took way longer to move the data than to code it.
评论 #15590598 未加载
评论 #15588802 未加载
PebblesHDover 7 years ago
After cleaning up all our unneeded instances and optimising our architecture, we finally realised that our developer stacks and test environments didn’t need to run 24&#x2F;7, which has so far been the biggest single cost saving we’ve implemented. By only running stacks from 8am-8pm then stopping everything, we’re getting a 50% saving on our instance costs. If a developer needs a stack they can still launch a new one or start their existing one. We also moved a few test stacks to use single AZ modes instead of multi AZ for another significant saving.<p>Dialing down our snapshots in non production environments was also a great help to cut our costs.
f2prateekover 7 years ago
We wrote about how we analyzed our AWS usage <a href="https:&#x2F;&#x2F;segment.com&#x2F;blog&#x2F;spotting-a-million-dollars-in-your-aws-account&#x2F;" rel="nofollow">https:&#x2F;&#x2F;segment.com&#x2F;blog&#x2F;spotting-a-million-dollars-in-your-...</a>, and then some of optimizations we made to cut down costs <a href="https:&#x2F;&#x2F;segment.com&#x2F;blog&#x2F;the-million-dollar-eng-problem&#x2F;" rel="nofollow">https:&#x2F;&#x2F;segment.com&#x2F;blog&#x2F;the-million-dollar-eng-problem&#x2F;</a>.
评论 #15588776 未加载
kennuover 7 years ago
I had lots of DNS zones in Route 53 that didn&#x27;t really need to be there. So I moved a bunch of them to ClouDNS, which supports ALIAS records to have apex domains point to CloudFront distributions. Seems to work.<p>Also I realized that DynamoDB autoscaling is relatively expensive for a large number of tables, because it sets up multiple CloudWatch Alarms for each table. So I turned off autoscaling for tables that don&#x27;t really need it.<p>I have started to replace DynamoDB tables with Cloud Directory instances in cases where I don&#x27;t want to have the fixed cost of tables sitting idle (Cloud Directory is charged by request). But this takes a lot of work to do retroactively and Cloud Directory doesn&#x27;t have a nice CRUD UI, and of course it only fits projects that work well with a graph database.<p>These are not big costs in absolute $$$, but for personal projects they can be significant when you want to avoid piling up fixed monthly costs to keep services running.
nicpottierover 7 years ago
For RDS, it is much cheaper to pay for more storage than more IOPS, at least if you are under 3k IOPS.<p>IE, you will save a bundle if you are currently buying 3k provisioned IOPS vs just paying for 1 TB of storage.<p>More here: <a href="http:&#x2F;&#x2F;blog.textit.in&#x2F;why-buying-provisioned-iops-on-rds-may-be-a-mistake" rel="nofollow">http:&#x2F;&#x2F;blog.textit.in&#x2F;why-buying-provisioned-iops-on-rds-may...</a>
评论 #15591365 未加载
toeknee123over 7 years ago
Shameless plug here. Working on an side hustle to help you monitor and measure your AWS spend: <a href="http:&#x2F;&#x2F;www.cloudforecast.io" rel="nofollow">http:&#x2F;&#x2F;www.cloudforecast.io</a><p>You&#x27;ll get a daily report that breaks down your cost for you via inbox with weather symbols indicating the health of your cost. Think of this like the weather you check every morning before you start your day. Our forecasting in our report is pretty accurate too!<p>Hit me up if anyone is interested with helping us and provide product feedback. We&#x27;re offering a 60 day free trial for our first users so we can evolve from a reporting tool to a tool that help you save on AWS cost.<p>Would love to hook you all up: hello@cloudforecast.io<p>This post has been super helpful to figure out what we should start thinking about and what to build next!
top256over 7 years ago
I think the first option is to go to AWS and tell them that. They can discount prices + have staff to help you reduce your bills. I&#x27;d start here actually
评论 #15598214 未加载
CoolGuySteveover 7 years ago
Rather than spot instances, use spot fleets and structure your bid such that you arbitrage across different node types and data centers that are equivalent for you.<p>We cut our spot expenses by 20% , which were already cheaper than on-demand by about 70%.<p>No matter how we played with the price calculator, Google was twice as expensive than our spot fleet algorithm
评论 #15596388 未加载
评论 #15593329 未加载
rb808over 7 years ago
Buy your own hardware. Esp for dev work having your own rack in the office really is cheap and its kinda nice. The other benefit is it limits the budget to what we have, rather than allowing anyone to create more servers...
bengarveyover 7 years ago
1. Use RI&#x27;s (like you said) and make sure your utilization is high.<p>2. Look at any under utilized EC2 instances and make them smaller. If they are very under utilized, consider moving what they do to Lambda, which is very cheap.<p>3. S3 for everything storage. Only use EBS volumes when you need to.<p>4. Someone mentioned multiple availability zones and it&#x27;s a great tip. Turning it on is 2x the price for RDS, and it&#x27;s probably not needed for anything but critical instances.<p>5. Make sure unused instances are terminated, not stopped.<p>6. For very expensive systems, use spot instances to strategically reduces your costs when ec2 instances are cheaper.<p>7. Try to keep your instance types down to a few types. This will give you fewer headaches when you go to purchased reserved instances.
photoniosover 7 years ago
What helped when we first got started is more quickly terminate test&#x2F;development environments. We&#x27;d often launch a full environment to test out a theory or do a POC without touching the regular development, staging and production environments. It would often happen that those environments would run a little longer than supposed to. We&#x27;ve put automated systems in place that detect inactivity and notify us.<p>This only helped cut our bill before we launched and started spending more and more money on our production environment when these kind of things still made up a significant amount of our a bill.
sofaofthedamnedover 7 years ago
I use AWS and online.net. I use the latter for 8 core bare metal servers that cost me 16euro a month. AWS for the rest (at work)<p>We need a couple of things:<p>1. A nice easy way to distribute load through cheap bare metal providers with peak load taken by cloud. Kubernetes is nearly there.<p>2. Somebody to build a LCD display that sits in the office and shows the projected cost for cloud deployment at current usage. It&#x27;s so easy to throw up a 40 node cluster and not think about the cost - especially where I currently work, a government funded project, where the taxpayer will pony up.
javeryover 7 years ago
Over the years we have done a number of things, probably the most impactful was auto-scaling on our core engines. Whenever we scale down it&#x27;s just like scooping money out.
kennuover 7 years ago
Amazon Lightsail instances can provide cheaper bandwidth. The $5&#x2F;month subscription includes 1TB, while 1TB of outgoing data on EC2 would cost $90 ($0.09 per GB).<p>(This is such a big difference that I don&#x27;t really understand it.)
itomatoover 7 years ago
<i></i>Blueprint your Footprint<i></i><p>Observe your AWS footprint. Dump it as CloudFormation, or hook up a tool like <a href="http:&#x2F;&#x2F;hava.io" rel="nofollow">http:&#x2F;&#x2F;hava.io</a> or <a href="http:&#x2F;&#x2F;www.visualops.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.visualops.io&#x2F;</a> to get a spatial representation of your infrastructure.<p>They both have powerful costing tools. Use this data in conjunction with your baseline performance metrics (memory&#x2F;CPU&#x2F;disk consumption) and see if there are any broad savings to be made by refactoring your platform.<p>If you have been steadily adding components (and their SG dependencies), its likely there is no clear understanding of the End-to-End scope of your AWS footprint.<p>From all this data comes your Blueprint. You choose what&#x27;s necessary; VPC, ELB, AZ, RDS, S3, R53 and so on.<p>Use something that is not the AWS console to define and capture a new, blueprinted environment and deploy it. See if it does the job by running your availability and performance suite on it.<p>Start doing Blue&#x2F;Green Deploys so your costs are reflective of your application.
alien_over 7 years ago
Shameless plug: if you are using autoscaling and have stateless&#x2F;12factor components, you would like to try spot instances but don&#x27;t feel like spending time and much effort with a migration to spot fleets, just give autospotting a try.<p>It will continuously replace your group&#x27;s on-demand instances with the best priced compatible(at least as big and identically configured) spot instance types, with minimal configuration changes performed by simply tagging the group. The group configuration is unchanged so it would keep launching on demand when scaling out or when replacing outbid spot instances.<p>The tool is open source and available on github and can be set up in a few minutes: <a href="https:&#x2F;&#x2F;github.com&#x2F;cristim&#x2F;autospotting" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cristim&#x2F;autospotting</a>
endymi0nover 7 years ago
&gt; How did you significantly reduce your AWS cost?<p>We moved to Google Cloud Platform.<p>Snark aside, we&#x27;re continuing to be pretty happy about that decision, in addition to paying a lot less.
Davieyover 7 years ago
AWS Trusted Advisor, gives great metrics on underused resources... Sadly, part of Premium.<p><a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;premiumsupport&#x2F;trustedadvisor&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;premiumsupport&#x2F;trustedadvisor&#x2F;</a>
paulsutterover 7 years ago
By switching to Hetzner GPUs (99 euro&#x2F;month for a server with an NVIDIA 1080)
LiamPaover 7 years ago
Serverless &#x2F; Zappa, hosting my API’s for 10x decrease in monthly costs.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Miserlou&#x2F;Zappa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Miserlou&#x2F;Zappa</a>
评论 #15588729 未加载
nunezover 7 years ago
Being extremely aggressive about cleaning up&#x2F;terminating&#x2F;scheduling dev environments have led to tremendous cost savings. Also, monitoring those instances and downsizing them has helped a lot too.<p>These are usually the quickest and most common solutions to cost problems that I’ve seen. After that, you look for “minor gains:” storage (S3 instead of EBS, Glacier instead of S3 for infrequently accessed data), using reserved instances, moving to RDS (though reliances on underlying OS can make this difficult and many databases have them), autoscaling, running ALBs&#x2F;ELBs instead of EC2 instances running HAproxy, CloudWatch alarms for things that exceed cost parameters, etc.<p>One of the biggest cost issues that I’ve seen is people treat AWS like an internal PaaS cloud (like vSphere) and move their ways of maintaining bare-metal hardware&#x2F;software into AWS (i.e. “lift and shift”). It saves time in that you don’t have to actually think about how your application works in a cloud world and gives managers that “I did the impossible and moved us to the Cloud in three months” badge&#x2F;bonus, but it costs SO MUCH MORE to run and really does a disservice to what AWS can do. (Cynically, I guess this creates another carrot: “I did the impossible and saved us tons of money by fixing the cost explosion from lift and shift!”)<p>Breaking that culture down is paramount to efficient usage of any cloud in a way that won’t break the bank.
DrNemskiover 7 years ago
There&#x27;s no one silver bullet, as always, you just have to get really good at using Cost Explorer.<p>Project 1: We reduced our EC2 bill by about $10k a month by moving to spot instances for our Continuous Integration servers<p>Project 2: We saved another $10k a month by moving to CloudFront for our downloads, instead of using S3 directly<p>Project 3: Finding and eliminating waste from years of tech debt. Saved $5k a month so far.<p>As we go we need to spend more and more time to find the same amount of cost savings, it&#x27;s a law of diminishing returns.
rdlowreyover 7 years ago
Spot instances. Spot instances. Spot instances.
评论 #15588317 未加载
atsaloliover 7 years ago
If I had to significantly reduce my AWS cost, I&#x27;d turn to Corey Quinn of &quot;Last Week in AWS&quot; (<a href="https:&#x2F;&#x2F;lastweekinaws.com" rel="nofollow">https:&#x2F;&#x2F;lastweekinaws.com</a>) who fixes AWS bills for a living (<a href="https:&#x2F;&#x2F;www.linkedin.com&#x2F;in&#x2F;coquinn&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.linkedin.com&#x2F;in&#x2F;coquinn&#x2F;</a>)
lowbloodsugarover 7 years ago
Docker. ECS, Kubernetes, Mesos, whatever floats your boat. Everything on RIs. Then start playing with spot-instances.
colecaover 7 years ago
I didn&#x27;t see this one mentioned.<p>Use VPC end points for S3 to save cost.<p>If you are using NAT gateways and S3 (probably applies to Dynamo as well) and your app is using S3 then you could be saving $$ by having that traffic run through a VPC endpoint which is free bandwidth and not using the NAT gateway which is paid.
otakucodeover 7 years ago
This is totally just an idea, and not something I have ever seen put into practice (not worked anywhere that used AWS), but depending on your expense, hiring someone who is specifically skilled at objective performance measurement and optimization could pay for itself I would imagine.
wilhempujarover 7 years ago
We developed a continuous scalability testing technology that lets you meet the concurrency and throughput requirements of your microservices build, before they ship to production.<p>Our community uses this information to reduce the waste at the software, middleware and AWS level. e.g. configure Auto Scaling groups to scale upon reaching a custom ELB Target Trigger equal to your measured concurrency.<p>I wrote an article about this specific ELB use case a couple weeks ago, at <a href="https:&#x2F;&#x2F;medium.com&#x2F;@stacktical&#x2F;how-to-lose-money-with-the-new-aws-elb-network-load-balancer-e87e670c05ea" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@stacktical&#x2F;how-to-lose-money-with-the-ne...</a><p>Maybe it can give you some ideas.
D3m0lishover 7 years ago
- For consumer compute consider serverless (api gateway and lambda) - this addresses the problem of idle&#x2F;pre-prod environments. - Data at rest: consider s3, retention policies and glacier. - Consider aggressive retention policies on cloudwatch logs, watch out for unnecessary cloudwatch metrics (I still prefer statsd because of the percentiles) - If you use Kinesis - monitor In&#x2F;Out bytes and provision shards as needed, control retention. - Watch out for cross region&#x2F;hybrid (on prem) stacks - data transfer is very expensive and not obvious. - Use reserved instances. - Remove unused EBS volumes. - Watch out for high IO EBS volumes. - Use Cloudfront to cache static content.
asmegaover 7 years ago
Shameless side project plug<p>I’m working on <a href="https:&#x2F;&#x2F;www.dormantbear.com" rel="nofollow">https:&#x2F;&#x2F;www.dormantbear.com</a> which is an aws scheduler to turn instances on and off for certain times of the day.<p>I use it for my own VPN box which I only require during office hours.<p>The main commercial use case is for turning off staging environments when not needed during out of office hours. For setups that are fixed and don’t spin up test environments on the fly.<p>For security you should provide aws creds that can access your staging boxes with permission to list instances and turn them on and off. Even though they are symetrically encrypted.<p>The service is free as I have not written billing or marketing pages yet.
jamiesonbeckerover 7 years ago
* Use spot instances whenever possible, especially for development. This can sometimes cost more time than it&#x27;s worth, but it can turn out quite useful, especially for broad QA testing across many nodes.<p>* We (Userify[1] plug: SSH key management) identified our most expensive activity (in our case, ~70% of our bill was simply bandwidth) and then switched to external or third-party resources where possible, but..<p>* <i>After</i> we went through all of that effort, we mentioned it to our account manager who worked with us to resolve it; wish we&#x27;d just started there and saved a good bit of time!<p>* Switched historical real-time data storage to archival mode (ie a quick script to extract old data, compress, and save to S3). This saved a lot in Redis&#x2F;Elasticache memory fees which were growing extremely quickly.<p>* Disabled detailed monitoring on autoscaled instances where we didn&#x27;t need higher-resolution data.<p>* Removed NAT instances from VPC&#x27;s where they weren&#x27;t needed.<p>* Found and retired old snapshots and volumes (those are hard to figure out, but this exercise is worth pursuing, since they seem to multiply like rabbits). Far less expensive but easier to track down are unused Elastic IP&#x27;s and Route 53 zones.<p>* Don&#x27;t launch an instance without tagging it, if at all possible. You should use tags to group instances (and other resources) and provide some way to track down the instance owner. Often people are reluctant to turn something off because they don&#x27;t know if it&#x27;s still in use. <i>If it&#x27;s critical, it should be clearly labeled so.</i><p>* Look through seldom-used accounts and regions for left-over instances that are still running. Turns out there&#x27;s often a lot of these.<p>* Look at CPU&#x2F;RAM&#x2F;IO etc for larger instances and decide if it can be reduced without affecting user experience. This is especially effective with dev or internal boxes.<p>* Stop (but do not terminate!) all dev&#x2F;non-critical boxes when outside normal business hours. This can be done with a route 53 record for the box (to prevent needing EIP for each one) and a tag that indicates the box can be stopped when needed. It&#x27;s amazing how many project boxes just keep running and costing $. This is also the case if you&#x27;re not sure if something looks unused and can be terminated safely; stop it and see if anyone screams and add a tag with your contact info. (corollary: make sure critical boxes have uptime monitors, cloudwatch, etc!)<p>* Don&#x27;t front-end static resources with Cloudfront if latency and scalability are not going to be an issue for them, to reduce bandwidth&#x2F;tx&#x2F;region costs by at least half.<p>* Try to avoid cross-region (or cross-account in the same region) or even cross-AZ bandwidth charges. Avoid multi-AZ builds unless critical infra.<p>* Watch the per-transaction fees on especially things like Lambda, but also frequently-updated or written items on S3<p>* Pay attention to those tiny fees that come along with certain types of AWS technology that can add up huge over time. (esp DynamoDB and Lambda; however, these can be awesome for fast-to-develop low-utilization projects)<p>* Use classic ELBs instead of ALB&#x27;s if you have a lot of short sessions instead of fewer long-running sessions. Also become familiar with NLB&#x27;s[2], which are very useful in some circumstances.<p>* NAT&#x27;s can be a very significant (esp in bandwidth) and hard-to-surface cost... Delete them if you don&#x27;t need them.<p>* Learn CloudFormation[3] and use it to build clearly labeled dev and production stacks. The great thing about this is that when you&#x27;re done, you can just delete the dev stack (which cascade deletes all of the dependencies) and launch a prod stack in a different account. CloudFormation has gotten a LOT easier to use with YAML support, and a LOT faster at spinning up. Start with something small and work up from there.<p>* Keep the prod account separate (and backed up as offline as possible, preferably on your premises, or in another cloud). Only let a few trusted people manage prod, and anything outside of prod is fair game to get turned off. Ideally, give each dev their own sandbox account, and use tools like Userify (plug!) and third-party IAM roles.<p>* Lastly, if costs are really too high for you, also look at AWS Trusted Advisor, third-party tools like Cloudability or Teevity Ice, and of course talk with your account manager after gathering data about where your biggest costs are. They have a lot of power to help you and they often <i>really</i> do have your best interests at heart.<p>1. <a href="https:&#x2F;&#x2F;userify.com" rel="nofollow">https:&#x2F;&#x2F;userify.com</a><p>2. <a href="http:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;elasticloadbalancing&#x2F;latest&#x2F;network&#x2F;introduction.html" rel="nofollow">http:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;elasticloadbalancing&#x2F;latest&#x2F;netwo...</a><p>3. <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;cloudformation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;cloudformation&#x2F;</a>
noliteover 7 years ago
The thing with AWS is that you have to first measure your costs in order to reduce them - which isn&#x27;t always obvious before the bill arrives.<p>What are some of the big frustrations people have found when it comes to monitoring these costs?
JulioAWSDevRelover 7 years ago
That depends a lot on your application, that said, i&#x27;d like to add CloudFront. The more you respond from the CDN cache, the less requests hits your backend and that can be huge, it is not unusual to offload 80-90% of traffic.<p>When it hits the backend, if it is Lambda functions you can also save a lot by ensuring you don&#x27;t have wasted resources. Same idea for databases, DynamoDB is very cost effective. Usually the less you manage or provision by hand, the more you save.
nik736over 7 years ago
You don&#x27;t use AWS in the first place. Most projects are better off going with bare metal and use spot instances for spikes. Will cut your costs dramatically.
kelseyevansover 7 years ago
This blog post is straight forward and useful: <a href="https:&#x2F;&#x2F;www.datawire.io&#x2F;4-simple-strategies-for-managing-your-aws-costs-with-reserved-instances&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.datawire.io&#x2F;4-simple-strategies-for-managing-you...</a><p>tl;dr: Configure your reserved instances to be region-scoped; buy in a popular region; pay-as-you-go not upfront; sell your excess reserved instances (like you mentioned)
gtz99over 7 years ago
You may want to check out FittedCloud (www.fittedcloud.com). It identifies potential cost savings opportunities using machine learning and provide optimization recommendations in form of actionable advisories for most of the AWS resources. Actionable advisories are one click to automation for the provided recommendation. They have a free version with limited capabilities and a paid version for full capabilities.
linker3000over 7 years ago
Maybe &#x27;engage&#x27; with the AWS sales team?<p>Like I am doing...I have £300K of annual cloud and dedi hosting costs spread over several providers so I reached out to the sales team last week. I&#x27;m sure they&#x27;ll be rushing to call me any day now - I just hope it&#x27;s not this afternoon as I&#x27;ll be on a booked call with Google.
lwhalenover 7 years ago
Depending on your spend, the specialists over at www.quinnadvisory.com should be able to sort you out quickly.
winkover 7 years ago
When you can&#x27;t use reserved instances... switching to GCP (with their automatic discount) saved us ~50%.
jaydestroover 7 years ago
So, aside from using reserved instances...<p>1. Autoscale with triggers based on utilization. 2. Don&#x27;t use a full OS if you don&#x27;t need, consider containers that are extremely targeted with your needs only. 3. Services help, you don&#x27;t need to build everything on your own.
Elect2over 7 years ago
1. Using Cloudflare as a CDN of s3 to reduce traffic cost. 2. Using Cloudflare Firewall instead of AWS WAF. Cloudflare only charge for passed traffic. AWS WAF charge for both passed and blocked traffic (I have confirmed this with aws billing department)
fragmedeover 7 years ago
Cross-AZ fees can add up!
djohnstonover 7 years ago
Big instances w&#x2F; lots of containers and putting everything in cloudformation&#x2F;terraform so that you can nuke non-prod environments at certain times.
skyisblueover 7 years ago
Check your cloudfront and data transfer usage. We had bingbot overcrawling a number of our urls resulting in high cloudfront costs.
thekonquerorover 7 years ago
Small gain: Deleted all snapshots that were accumuated over 6 months across 100 instances. (Generated by Cloudwatch rules).
PaulHouleover 7 years ago
I compressed some data stored in S3 in a lossy way to 2% of its original size, saved a bundle.
评论 #15587867 未加载
Arbinvover 7 years ago
Easiest, quickest and most flexible way is with www.parkmycloud.com or similar tools.
skleggover 7 years ago
Use Windows EC2 instances only as a last resort.
xstartupover 7 years ago
Have a clear retention policy. You must differentiate between hot and cold data, it will help you minimize the size and thus cost of your high-performance cluster and the lower performance one.
balls187over 7 years ago
Re-architect for the cloud.
tomc1985over 7 years ago
I hate how people think this kind of garbage is worse than maintaining your own stack...
venturis_voiceover 7 years ago
Some great bits on here about effective cloud strategies<p><a href="http:&#x2F;&#x2F;www.venturi-group.com&#x2F;podcast&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.venturi-group.com&#x2F;podcast&#x2F;</a>