The Hidden Shortcut to Increasing Fintech Gross Margins – Cloud Automation
In this article, learn how to prepare your fintech product for scaling and stay cost-effective at the same time with cloud automation.
Join the DZone community and get the full member experience.Join For Free
Running a fintech company is a tough nut to crack if you can’t predict your opex and are in a constant battle for your profit margins. You’re busy innovating your payment products, creating omnichannel experiences, or automating insurance processes.
As fintech companies rely on the cloud and containerization, cloud costs contribute a lot to that struggle.
I know what that feels like. In my last company, at the end of each month, we’d sit with our CTO and the executive team and try to find out whether we’re spending the right amount for cloud resources.
Improving on Fintech’s Critical Ability to Scale
Back in December 2019, the trading app Robinhood received 100k requests per second at peak time. By June 2020, that number increased to 750k requests per second.
Can you scale up like that and manage a 7x load increase (or more) when Elon Musk tweets about your app? Or when a global pandemic suddenly inspires everyone to invest in ETFs?
You can prepare your fintech product for events like that and stay cost-effective at the same time.
I wrote this guide to show you how to do the following:
- 5 problem areas for cloud cost optimization in fintech
- Best practices to address these optimization issues
5 Problem Areas for Cloud Cost Optimization in Fintech
- Planning and managing cloud costs – Fintechs often experience high barriers to planning, managing, and reporting on cloud costs throughout a project’s lifespan and across several projects/teams within a time period.
- Allocating cloud costs to teams – This area is challenging as well if you’re not sure which projects or teams have used which resources. How else can you tell which resources were required for the job and which ones were wasted?
- Forecasting cloud expenses – The way cloud providers bill your project might not fit nicely with your company’s quarterly or annual financial plan. Cloud costs rise and fall with demand, which is something you can’t predict with full confidence.
- Complex cloud service billing – The sales and billing procedures used by cloud infrastructure providers are hard to understand, even if you spend days analyzing your cloud costs. Just take a look at a typical cloud bill, and you’ll see that it’s complicated and hard to unpack.
- HR effort – For cloud optimization to work, a few engineers need to dedicate their time to it. Which for you means attracting and finding the right talent.
Best Practices to Address These Optimization Issues
1. Build a Culture of Cloud Cost Ownership
You probably run a modern, automated CI/CD pipeline where developers can easily test and deploy code to improve your product faster.
But, are they aware of the costs when spinning up new virtual machines?
Cost management has never been part of their job.
Empower your engineering team to take ownership of cloud budgets. Give them a solution that provides full visibility into these expenses. Ideally, it should also take as many cost-related tasks off their plate as possible.
How? By automating them.
If you ask your engineers to consider all the 400+ instance types AWS offers before making a decision, they’re unlikely to act on this absurd ask.
By equipping your engineers with a solution that picks and matches virtual machines to their application requirements, you’ll begin solving the cost problem without adding any extra work to their already busy schedules.
2. Avoid Cloud Waste With Automated Rightsizing and Autoscaling
Many aspects of the financial world change dynamically. Remember that Robinhood story I shared in the intro?
Your product needs to translate a sudden influx of requests for buying stocks into executable operations, even if it’s a 7x increase over six months.
What you need is compute capacity that can smoothly adjust to dynamically changing circumstances.
This is where automated rightsizing and autoscaling can help.
When people are storming into your app, you don’t have time to pick the most cost-effective virtual machines. You need them NOW.
The software can take care of that. AI cost optimization can assess the most suitable VM type and size, then scale back down once the rush is over.
3. Prevent Cloud Sprawl With Automated Resource Scheduling
You might think that cloud waste isn’t your problem. But 9 times out of 10, companies end up spending more than they should.
It can be shadow IT projects launched by your marketing or sales team. Or a bunch of virtual machines used for testing a new feature the team forgot to remove.
And that really happens, even to the best of us. A team at Adobe once generated over 500k in cloud expenses because of a computing job left running on Azure.
Some cloud optimization solutions offer resource scheduling. This means that they constantly monitor your infrastructure for resource use, provision new resources when necessary, and then scale them down when the rush is over.
4. Don’t Fall Into the Trap of Reservations or Savings Plans
Reserving capacity upfront makes a lot of sense to fintech companies. After all, it’s not like your team is suddenly going to move your application on-prem. And you get to enjoy great savings.
But consider this: you’re entering into a deal lasting one or three years. Both are eternity in the tech world – and especially in the cloud computing market.
A lot can change during that time, for example:
- The cloud provider might sunset a service or change their offer.
- They might add new instance types that match your use cases perfectly.
- The fintech market might go through some dynamic changes due to things like Covid-19 or new regulations.
- You might want to refactor your application.
- Or, pivot your business to a new direction.
- What if your app gets mentioned by Snoop Dog (snooping at you, Klarna), and your popularity skyrockets?
Take the cryptocurrency wallet Coinbase as an example. In three years, their bitcoin wallet base grew from zero to more than 3 million. Could Coinbase have predicted this growth within the first 6 months of its operation? Not likely.
This illustrates the primary pitfall of reservations and savings plans. Knowing how much capacity you need three months from now is already hard. What about one or three years ahead?
Instead of locking yourself into a deal, you can’t escape later, use automated solutions that select the most cost-effective resources and constantly adjust them to your changing needs.
5. Use Spot Instance Automation to Cut Costs
Spot instances are a great choice for training and retraining the ML models powering your fintech product. You can use them for anything – from security and fraud detection tools to asset management or Business Intelligence solutions that use AI to support decision-making.
This type of virtual machine might get interrupted when the cloud provider reclaims the capacity. If you’re prepared for that and have a plan for managing interruptions gracefully, you can use spot instances across more workloads – even the customer-facing things in production.
Automation is essential for tapping into the discounts spot instances offer. And just to remind you, we’re talking about even 90% off the on-demand rates!
A cloud automation platform picks the best spot instance candidates for your application, taking into account their interruption rate and cost-performance balance.
If that instance gets interrupted while your workload is running, the automation mechanism replaces it with another one to keep it going. If there are no alternative spot instances available due to high demand, the Spot Fallback feature will temporarily move your workload to an on-demand instance.
Published at DZone with permission of Laurent Gil. See the original article here.
Opinions expressed by DZone contributors are their own.