In cloud structure, we frequently prioritize efficiency, scale, and safety, however they will include shocking prices. In one in all our Azure-based deployments, our workforce found {that a} seemingly easy caching answer—designed solely to assist primary key-value storage—was costing us greater than $5,000 per 30 days.
On the coronary heart of this price was our use of Azure Cache for Redis (Premium), which we had adopted to satisfy Digital Community (VNet) isolation necessities throughout a multi-region, multi-environment setup (manufacturing, growth, staging, and many others.). Every area and atmosphere required its personal Redis occasion to adjust to safety and infrastructure separation requirements. Though our caching wants have been minimal—lower than 200 MB of knowledge that refreshed solely as soon as per hour—we had no alternative however to make use of Redis Premium for VNet assist.
Why Redis Premium wasn’t the precise match
Initially, we used Azure Redis Commonplace, which was cost-effective and appropriate for our use case. Nonetheless, we quickly confronted a compliance requirement: All companies wanted to be remoted through VNet integration. Redis Commonplace, sadly, doesn’t assist VNets. The one possibility was to maneuver to the Premium tier, which begins at a considerably larger value level.