Hakuna Cloud – Stop cloud servers when they are not in use
hakuna.cloud
hakuna.cloud
- Using the Kubernetes Vertical Pod Autoscaler (https://github.com/kubernetes/autoscaler/tree/master/vertica...) for CPU and memory scaling, and switching to metrics like requests per second and connection count for horizontal scaling
- Collecting metrics on container CPU and memory allocation vs utilization
- Writing scripts to auto-submit PRs to SREs with better recommended sizing based on actual usage
- Tuning our VM instance sizes and autoscaler configs
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
HakuaCloud starto&stop cloud servers, so you actually pay only for the time the servers are needed
Do you run kubernetes in VMs on baremetal?
It's layers upon layers of technical progress in parallel.
(No affiliation, just a satisfied customer.)
That'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.
> Each cloud server must have an FQDN/DNS name configured as a CNAME to our load balancers.
> When your server stops receiving requests, it will be stopped. As soon as a new request arrives, Hakuna will start it.
Interesting idea. It's like a proxy that kind of makes an instance/vm-based service act like a serverless service, without moving to containers or rewriting.
Seems kind of niche but I can see the use: there's a lot of services that have a time-based usage pattern (during working hours, or used interactively for a few minutes/hours sparsely through the day).
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?
In our use case, the EC2 instance starts in about 50 seconds, with another minute needed to start the Jira service.
We have a demo, deployable directly from our CLI, that starts a Nginx server on an Oracle Cloud instance in less than 40 seconds.
If the instance is being stopped and a new request arrives, it will have to wait shutdown + startup, yes.
Is there UI feedback to the user during the wait, or does the browser just show "waiting for response" for the whole time? If a user refreshes the browser a bunch of times during the wait, will the Hakuna proxy give up on those requests or still pass all of them through to the target server?
If the client closes the socket before the start of the server, the proxy gives up on its requests.
I'm looking forward to checking out Hakuna Cloud - looks like the two services are pretty complimentary.
Jokes aside, I wonder when cloud providers will add something like this as a native feature.
Not trying to be an armchair coach but rather understand the architecture decisions and trade-offs that I must have missed
> The HTTPS trigger is intercepting all my traffic? > 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.
Unless there's an IP allocated to each user, I don'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.
https://en.wikipedia.org/wiki/Server_Name_Indication
SSL termination is always done on our customers' servers.
From a comment above, it seems like Hakuna requires a FQDN of each AWS server it's serving traffic to, so if you're not MITM'ing traffic, this FQDN I'm guessing sits in with SNI and is used for routing rather than serving certificates. I don't think I've personally dealt with this use case on SNI, but it makes sense.
what a great name!
Also, how does hakuna work with DO? I thought DO still charges when VMs are powered off?
With DO, we destroy the instance so that nothing is charged for it, and save a snapshot to be used to restart the instance; you pay only for the snapshot storage - $0.05/GB per month.
If a DO droplet for my marketing site cost me $5 per month to run.. I could use your service and save a buck or two, at the risk of a $5000 client timing out on my page as it tries to spin up?
Scaling based on demand is important, but it seems you are better using k8s with some metric based scaling, over trying to hack it on DO?
> Why Hakunacloud?
Having #000 headings on blue background while using #fff text without shadows or borders on that same background looks really amateur.
And the "read more!" is blue text on a blue background. Barely readable.
then
> Install Hakuna CLI
and
> Update the DNS
That certainly sounds like installing things and making changes to your infrastructure...
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.
"npm install @hakuna.cloud/cli -g and you are ready to go. Or use the web dashboard!"
If you don't like the idea of updating your DNS records, Hakuna provides a hostname creation feature for trying the product (*.demo.hakuna.cloud CNAME records that point to our load balancers).
You can install the Hakuna CLI on your laptop, no need to have it on the cloud instances. Also, most of the features you can find on the CLI are also available on the web dashboard.