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.

Hakuna Cloud – Stop cloud servers when they are not in use

124 pointsby tarl0salmost 6 years ago

20 comments

dharmabalmost 6 years ago
Efficiency is an area where there can be a lot of cost hiding. We recently saved a lot of money by:<p>- Using the Kubernetes Vertical Pod Autoscaler (<a href="https:&#x2F;&#x2F;github.com&#x2F;kubernetes&#x2F;autoscaler&#x2F;tree&#x2F;master&#x2F;vertical-pod-autoscaler" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kubernetes&#x2F;autoscaler&#x2F;tree&#x2F;master&#x2F;vertica...</a>) for CPU and memory scaling, and switching to metrics like requests per second and connection count for horizontal scaling<p>- Collecting metrics on container CPU and memory allocation vs utilization<p>- Writing scripts to auto-submit PRs to SREs with better recommended sizing based on actual usage<p>- Tuning our VM instance sizes and autoscaler configs<p>A few engineers were able to save the company several times their salary with a few months of work, and plan to 10x the savings over the next year
评论 #20535689 未加载
评论 #20539285 未加载
评论 #20535643 未加载
评论 #20535568 未加载
评论 #20539258 未加载
评论 #20540227 未加载
tlarkworthyalmost 6 years ago
It&#x27;s pretty cool that utility computing is large enough to spawn 3rd party companies that further increase effeciency of the pool.<p>It&#x27;s layers upon layers of technical progress in parallel.
评论 #20536437 未加载
robmccollalmost 6 years ago
The header of the website occupies &gt;50% of the screen on Chrome on Android and stays there on scroll. It is very frustrating.
评论 #20537713 未加载
alanbernsteinalmost 6 years ago
I just had a conversation about this product idea a couple days ago. How long before Amazon acquires it and cripples the functionality? Could be a good exit strategy, at least.
评论 #20535742 未加载
评论 #20535973 未加载
scjodyalmost 6 years ago
Related: if you&#x27;re looking for a service that starts&#x2F;stops instances on a schedule (we find this really good for QA and development instances), check out <a href="https:&#x2F;&#x2F;www.parkmycloud.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.parkmycloud.com&#x2F;</a> . You can also set an instance to &quot;always parked&quot; and unpark it for a certain number of hours or until a certain date&#x2F;time.<p>(No affiliation, just a satisfied customer.)
manigandhamalmost 6 years ago
Interesting model, although I suggest looking at the GCP Cloud Run approach using Knative to start and server containers on demand.<p>That&#x27;s the next generation of Lambda that all clouds and vendors are moving towards, and increases developer agility with much faster cold-start times. If we could have Cloud Run today across multiple clouds and locations with geo-loadbalancing stitched together automatically, that would be valuable.
gregmacalmost 6 years ago
&gt; Hakuna Cloud is a software-as-a-service HTTPS proxy. You don&#x27;t need to change existing software or infrastructure, and you don&#x27;t need to install additional tools on your servers.<p>&gt; Each cloud server must have an FQDN&#x2F;DNS name configured as a CNAME to our load balancers.<p>&gt; When your server stops receiving requests, it will be stopped. As soon as a new request arrives, Hakuna will start it.<p>Interesting idea. It&#x27;s like a proxy that kind of makes an instance&#x2F;vm-based service act like a serverless service, without moving to containers or rewriting.<p>Seems kind of niche but I can see the use: there&#x27;s a lot of services that have a time-based usage pattern (during working hours, or used interactively for a few minutes&#x2F;hours sparsely through the day).<p>What are the cold start times like with this (at least for a typical, simple app - say on asp.net on Windows or something hosted via nginx on Linux)? What happens if an instance is being stopped and a new request comes in - does the request have to wait for shutdown plus startup?
评论 #20535724 未加载
评论 #20537894 未加载
nine_kalmost 6 years ago
Now that we have CGI scripts in the cloud (lambdas), there <i>ought</i> to appear an implementation of inetd, too!<p>Jokes aside, I wonder when cloud providers will add something like this as a native feature.
评论 #20537740 未加载
评论 #20537526 未加载
gingerlimealmost 6 years ago
Interesting. Why proxying though rather than monitoring DNS queries on the CNAME? And updating to point to the right ip when the server is live (This could maybe help with the 10gb base limit + $0.08&#x2F;gb?)<p>Not trying to be an armchair coach but rather understand the architecture decisions and trade-offs that I must have missed
评论 #20539588 未加载
opportunealmost 6 years ago
It seems like it does exactly (or a subset) of what Google Cloud Run already does. Just shove an application into a container and scale up&#x2F;down depending on use. Other cloud providers probably have this too. So is the value add that this is less expensive or what?
sstteveealmost 6 years ago
From the FAQ:<p>&gt; The HTTPS trigger is intercepting all my traffic? &gt; No, your data are safe if your server support HTTPS protocol. All the data exchanged between your server and your clients is encrypted and not accessible by us.<p>Unless there&#x27;s an IP allocated to each user, I don&#x27;t think this is accurate. With SSL, the HTTP headers are encrypted, so there would be no way to know where know where to route the request without first decrypting the data, and thus having access to the data.
评论 #20535823 未加载
mnuttalmost 6 years ago
I had long wondered if it would be possible to have a custom autoscaler that just stopped&#x2F;started instances rather than terminating and re-creating, in order to respond to load increases more quickly than amazon&#x27;s autoscaling groups. You still pay for the EBS even when it&#x27;s stopped and deploys involve briefly starting all of the stopped instances, but EBS is a fraction of the overall spend and maybe in some cases the complexity is worth it?
jkealmost 6 years ago
hakuna = there is no (Kiswahili)<p>what a great name!
评论 #20537999 未加载
tassskoalmost 6 years ago
We do this with custom autoscaling with aws cloudwatch, lambda, alarms though we usually have something online all the time for uptime monitoring.
gramakrialmost 6 years ago
Interesting idea. Almost bring the idea of lambda to VMs, doesn&#x27;t it?<p>Also, how does hakuna work with DO? I thought DO still charges when VMs are powered off?
评论 #20535618 未加载
sytsealmost 6 years ago
With GitLab Auto DevOps we are using Knative to scale things to zero when not in use.
koolbaalmost 6 years ago
So is this the bring your own server version of “inactive app hibernation” that you see in the free tiers of PaaS providers like Heroku? If so, that’s neat!
simonebrunozzialmost 6 years ago
The image in the front page reminds me of Drupal&#x27;s logo [0]. Not necessarily an infringement, just saying.<p>[0]: <a href="https:&#x2F;&#x2F;www.drupal.org&#x2F;about&#x2F;media-kit&#x2F;logos" rel="nofollow">https:&#x2F;&#x2F;www.drupal.org&#x2F;about&#x2F;media-kit&#x2F;logos</a>
lone_haxx0ralmost 6 years ago
[Bikeshedding]<p>&gt; Why Hakunacloud?<p>Having #000 headings on blue background while using #fff text without shadows or borders on that same background looks really amateur.<p>And the &quot;read more!&quot; is blue text on a blue background. Barely readable.
评论 #20542774 未加载
wheelerwjalmost 6 years ago
&gt; You don&#x27;t need to change existing software or infrastructure, and you don&#x27;t need to install additional tools on your servers.<p>then<p>&gt; Install Hakuna CLI<p>and<p>&gt; Update the DNS<p>That certainly sounds like installing things and making changes to your infrastructure...<p>It sounds like a cool idea for sure and can be really helpful for a lot of companies but this seems like an outright lie.
评论 #20536503 未加载
评论 #20536479 未加载