11

Provisioning a 1 GB Redis cache service on AWS takes around 8 minutes. Doing the same on Azure takes around 16 minutes. Ours Terraform scripts need the call back from the Redis systems. Why is this taking so long and how can we make this process faster for immutable infrastructure?

  • ideally, we would like to create related infra less than 4 minutes
  • some tests even take longer 8 and 16 minutes are the averages
  • we are using a managed Redis service by cloud providers.
  • Doing manually also takes that much time to complete it. Infrastructure gets set up but the Redis is not usable for Terraform or X.
  • This happens in any random account in cloud providers with or without Terraform

enter image description here

030
  • 13,383
  • 17
  • 76
  • 178

1 Answers1

0

The amount of time it takes a cloud to create a specific cloud resource is an implementation detail of that cloud. And so you will not be in a position to change the amount of time it takes Azure to create a Redis cache unless you are also in a position to change the underlying implementation of how Azure creates that Redis cache.

If a cloud implementation takes an unacceptably long time to create a specific resource, you have two options as a user: create a different kind of resource, or create it in advance of when you need it so that you don't have to spend the creation time during your low-latency deploy process.