r/SQLServer • u/confused_112 • Jan 15 '26
Question SQL server migrated to AWS
Hi everyone,
Our infra team moved SQL server 2019 and Application Server (does the authentication part) to AWS EC2 instance (r6i.4xlarge).
When it was on prem, the latency on Database volume was under 15ms but after we did lift and shift to AWS the latency has been increased to 90ms which is really affecting the read and write operations.
We are using gp3 drives with IOPS 15000 and throughput 1000 MiB (increased after facing slowness) to counter the issue but unable to resolve the lag.
AWS network is reached from S2S VPN tunnel from on prem fortigate and its not saturating when checked Packer Per Second and bandwidth.
Any suggestions on how to optimize and fine tune the database or network to resolve this?
View all comments
Show parent comment
1
u/itenginerd Jan 15 '26
I've been out of the Azure world for a bit, so apologies if I'm mistaken here. I believe the warning on ephemeral disks isn't about data surviving reboots, it's about data being cleared when the VM is deallocated. You can run entire VMs on ephemeral disks; you can patch them, reboot them, even shut them down. But if you deallocate the VM, that's when the ephemeral disk clears.
Had a guy accidentally put his domain controller's AD database on ephemeral storage. Worked for years till I showed up and we had to shut the VM down and the box lobotomized itself...