jeudi 24 septembre 2015

Deploying Flask application on AWS without downtime

I have a Flask application running on an Amazon Web Services EC2 Ubuntu Server. When I update the code, I use git to push the latest code to my EC2 instance. However, as users are signed in and are most likely in the middle of something, they are signed out and taken to the sign in page.

As I tend to deploy to my application often this can be an issue. Is there a way using either AWS or Flask on the ubuntu server to prevent this issue? I heard about Amazon's CodeDeploy however, it looks like it only works with Elastic Beanstalk instances.

What can I do? Thanks.




Aucun commentaire:

Enregistrer un commentaire