Migrate Subusers to EU Data Resident Subusers
Twilio designed data residency to process and store email and recipient personally identifiable information (PII) within the European Union (EU). To support this, Twilio SendGrid offers two region options: Global and EU.
As EU data residency requires subusers, it also requires a paid account.
Existing customers who want to change their global traffic to EU data resident need to migrate their subuser data to EU subusers. Twilio can't automate this process.
When you choose the EU region for a subuser, it ties that subuser to EU-based infrastructure. This makes their emails and recipient PII EU data resident. To prevent transferring data across borders, Twilio locks the subuser to the selected region once created.
EU Data Residency requires one or more EU-based subusers.
- Open the Twilio SendGrid Console.
- Click Settings.
- Click Subuser Management.
- Click Create a new subuser.
- Select EU User when asked to Assign Region to Subuser.
- Include the region of the subuser in the name.
For example: write it asSubuser1_Marketing_EU
.
To learn more about SendGrid subusers, see Subusers.
You can neither export nor import sender authentication data. You can authenticate a single domain twice then use it for both global and EU sending.
To associate an authenticated domain with the European Union, follow the procedure in the Setting up domain authentication guide with two changes.
- Open the Twilio SendGrid Console.
- In the Advanced Settings section,
- Select Make domain EU pinned.
- If this option can't be selected, your account has no EU subusers. Add them first.
- Once completed, the EU-pinned domains
CNAME
value includeseu
.
- Assign the EU-based domain to the subuser under Assign to a subuser.
- Select Make domain EU pinned.
To learn about the procedures inolved in configuring authentication, see the following guides:
-
Download your unsubscribes from your previous account.
- Open the Twilio SendGrid Console.
- Go to the Global unsubscribes page.
- Click the gear dropdown menu.
- Click Export CSV.
-
Load your unsubscribes into your new account.
- Open the Twilio SendGrid Console.
- Click Global Unsubscribes or Group Unsubscribes.
- Click the gear dropdown menu.
- Click Manually Add Recipients.
- If you chose Global Unsubscribes, the Add Global Unsubscribes panel displays.
- If you chose Group Unsubscribes, the Add Group Unsubscribes panel displays.
- Open the CSV file you downloaded in your preferred text editor.
- Select its contents, the exported unsubscribed emails, and copy them.
- Paste the exported unsubscribed emails on the Email Addresses line.
Separate each email address with a comma or a line break. - Click Add.
To add unsubscribes using the API, use the Suppressions resources.
- Open the Twilio SendGrid Console.
- Click Email API.
- Click Dynamic Templates.
- Export the HTML of any transactional templates you want to migrate.
- For each template you exported, complete these steps.
- Open the template in your preferred HTML or text editor.
- Select the HTML and copy it.
- From the Dynamic Templates, click Create a Dynamic Template.
The Create a Dynamic Template pane displays. - Type a name for the template in the Dynamic Template Name box.
- Click Create.
- Click on the name of the template in the list of templates.
- Click Add Version.
The Select a Design page displays. - Click Select in the Blank Template box
- Choose to use the code editor.
- Paste the HTML of the exported template into the editor.
- Click Save.
- Click the back arrow.
- Repeat for every template.
When using the SendGrid API, your accounts list need different, EU-based API Keys.
- Create API Keys for all EU subusers. You can't export API Keys.
- Update your integrations with the new API Keys.
As described in Dedicated IP addresses, add EU IP Addresses to EU subuser accounts.
Once added, the EU IP addresses need to warm up.
To warm up the IP addresses, choose one of the following options:
- Assign the EU IP to an EU subuser then warm up the IP. Any subsequent EU IP addresses warm up as normal.
- Assign the EU IP to a global subuser with a warmed up EU or global IP address. These email addresses can't be EU Data Resident.
Once warmed up, move the EU IP address to an EU subuser so they can use EU data residency.
To learn more about IP warmup, check out Warming Up an IP Address.
Assign EU IP addresses to an IP pool that contain global IP addresses. In such instances, the EU subuser can only send emails using the EU IP addresses in the pool. To send emails, you don't need to assign the IP pools to each individual subuser account.
To learn more, see IP Pools.
Once you create all EU subusers, if they assume all sending, delete the old subusers.