Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

now alias - maximum number of concurrent instances exceeded #1014

Closed
maticzav opened this issue Nov 29, 2017 · 2 comments
Closed

now alias - maximum number of concurrent instances exceeded #1014

maticzav opened this issue Nov 29, 2017 · 2 comments

Comments

@maticzav
Copy link

Hi,

I have noticed that whenever I run now alias, which repoints new deployment to my url, it first creates the new scaled version of new instance and only later on downscales the old one. Due to this many attempts to alias my webpage fail, as the number of concurrent instances is exceeded.

Would it be possible to first downscale the old deployment and then upscale the new one?

@ewolfe
Copy link

ewolfe commented Jul 2, 2018

You would lose out on "zero downtime" deployments. You could do something like:

now scale example.now.sh 1
now
now alias
now rm example --safe --yes

@leo
Copy link
Contributor

leo commented Nov 13, 2018

Thank you so much for the effort you have put into this issue! 😊

However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.

As of Now 2.0, there are no instances anymore.

You can read more about our biggest release yet here: https://zeit.co/blog/now-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants