How to Migrate from SES v1 to v2 Without Downtime?

0
3
Asked By SwiftFrog77 On

I'm currently using Terraform to manage my AWS deployments and have SES configured with the v1 API. I want to migrate to the v2 API but I'm not sure about the best steps to take. Should I first destroy the v1 resources and then deploy the v2 ones? Additionally, I'm concerned about my DKIM DNS setup—will I need to create new entries for that? It's critical that there's no downtime because emails are vital for my business. Switching to a different domain is not an option due to the lengthy warmup period it requires, which could take up to two months.

1 Answer

Answered By ChillPanda12 On

The resources for SES v1 and v2 are essentially the same, just configured differently through their APIs. You can gradually add v2 resources and import them without needing to remove the v1 resources right away, as long as you're not changing anything during the process. If you decide to transition fully, you could use the command 'terraform state rm ' to remove the v1 resources and then import the new v2 ones, like 'terraform import aws_sesv2_email_identity.example example.com'.

CuriousFox99 -

Wait, so are you suggesting I can have both v1 and v2 set up simultaneously without any issues?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.