My use case is a singleton HTTP server (no horizontal scaling). I already tried ECS, App Runner, Elastic Beanstalk among other tools. Every deployment option has minute+ downtime or otherwise takes minutes to complete. Is there any option on AWS to achieve instant deploy like Heroku? I simply want to restart my app with new code / new configuration.
ibash|1 year ago
The basic idea is that traffic gets served by nginx or haproxy and forwarded to your app server. When you deploy another app server and background process gets spun up. Then when the new app server is ready you have nginx/haproxy switch where it’s forwarding traffic.
You can do this on a regular vm and skip all the extra tooling.
ibash|1 year ago
fragmede|1 year ago
boronine|1 year ago
znpy|1 year ago
In this way whether the startup takes one or 10 minutes is irrelevant
boronine|1 year ago
JSDevOps|1 year ago
nathants|1 year ago