From 0 To 200k+ Monthly Spot Hours In One Year
Demandbase used Spot & Kubernetes to cut their container costs by 80%
Leveraging spot in Dev, but what about Production?
Demandbase, as a fast-growing company with many new features and product releases, always had an eye on their costs. “Our team knew that cloud costs could quickly get out of hand,” said Josh Schlanger, VP of DevOps at Demandbase. As part of their cost optimization efforts, Schlanger and his team were already running some of their development and staging workloads on spot instances.
While the theory behind leveraging spot for development environments was clear, it was far more challenging in practice “our dev team wasn’t as effective as they could have been,” said Schlanger. Leveraging spot instances for production environments wasn’t even considered.
Running Containers & Spot Instances on Kubernetes Made Easy with Spot
Micheal Waltz and Rafael Moreira, DevOps engineers at Demandbase, first encountered Spot at AWS re:Invent 2016. They were impressed by the potential cost savings, but even more exciting was that Spot can save them a ton of time as it natively integrates with Kubernetes with Rancher, their container management platform.
Containers and microservices were a key element of Demandbase’s approach. With Kubernetes managing all of their containers, Spot’s integration was key.
Spot removes the pain of leveraging spot instances for staging environment and Production!
Shortly after learning of Spot’s integration, they decided to give it a go, initially viewing it as a solution to the difficulties they had experienced with spot interruptions for development environments. “After rolling it through once on our dev environment, we saw the results and were very excited,” Schlanger said.
A few months later, Demandbase rolled Spot out for production workloads, a use-case for spot that Demandbase’s team hadn’t previously considered.
Additionally, the Jenkins CI/CD integration proved valuable in simplifying the process of ramping up their spot workloads. As their usage continued to grow, the incredible level of support was invaluable, said Schlanger. “Anytime we had a tiny issue or a feature request, the team has been so quick to respond, sometimes implementing a new feature within just a few days.” And their usage grew pretty quickly, 10x’ing their spot workloads within less than a year’s time.
There were three main draws to Spot as the cost-optimization platform of choice for Demandbase.
Incredible Cost-Savings– 80% savings on EC2
Ease of Use:The Kubernetes & Rancher integration and overall setup took less than a day
Leveraging Spot Instances for Production Workloads
Ultimately, said Schlanger, “because it was so easy, it was a no-brainer.”
Next Up for Demandbase
Demandbase is looking to ramp up their
Kubernetes usage in 2018 and is planning to rely on Spot to manage this roll-out with ease by leveraging Spot’s Kubernetes autoscaler.
Additionally, Demandbase is evaluating
Spot’s Multai Load-Balancer and
Spot Functions because of their confidence level in other Spot solutions. Initially, they are excited about getting greater visibility into their Load Balancer via MLB and using Serverless Compute to drastically lower costs for web services.