r/SQLServer • • 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?

11 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/dbrownems ‪ ‪Microsoft Employee ‪ Jan 16 '26

But you _also_ lose the disk if the VM is moved to another host, which you have no control over. Azure SQL Database Business Critical tier actually uses the local flash drive for primary database storage, and uses AGs and careful hosting to protect the database.

1

u/itenginerd Jan 17 '26

Honestly never thought of that possibility, but it makes total sense. The VM wouldn't survive the reboot of the host. I didn't know that about SQL BC, but I knew they had a bunch of copies in an AG. Makes total sense to use the local drives for that.