8 ms·
For https://pinggy.io/ https://pinggy.io/ we have specific needs. In a nutshell, we use EC2 and VMs from other clouds with a bunch of shell scripts for automati
by ghoshbishakh 2y ago
For https://pinggy.io/ https://pinggy.io/ we have specific needs. In a nutshell, we use EC2 and VMs from other clouds with a bunch of shell scripts for automation.
We run VMs (EC2) instances and not containers. The reason is that the kind of traffic we serve is a very long lasting TCP connection. We do not want to stop containers without draining all traffic, which in this case takes days to weeks. As a result, EC2 instances are fine, since there is no need of upscaling and downscaling frequently either. The deployment is handled through our shell scripts. IaC is not required for the same reason - frequency of starting and stopping VMs is very less. We start VMs manually then trigger the deployment script.