-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Feature] Start/stop with resource manager #37
Comments
This is a blocker for us moving from the classic Azure plugin. |
ping @dtretyakov |
@erichexter, we consider implementing it in the next plugin version. Could you please share details about your use case: why you prefer If it's a start time consideration we have an idea to reuse created machines in the clone behavior, so you will have a chance to create a pool of stopped/deallocated vms which are ready to start same way as in the start/stop behavior. For details see issue #34. |
@dtretyakov yeah, startup time is a consideration but also we already have tools/knowledge around creating Azure vms. |
@dtretyakov Yes that is exactly the reason. Creating a new VM takes magnitudes longer than starting one. |
@SaphuA, recent change in issue #34 brings ability to reuse created virtual machines. While terminating it just moves vm into Stopped/Deallocated state and on demand starts it again. Please try to download updated plugin from the gallery and enable |
I'd love to see start/stop instead of a full clone. I need my machines to have static public IP addresses, and the current cloning doesn't allow me to link an existing public IP to a machine. Not to mention the time to get things built. |
For us the reason to use start/stop is that we can keep the workspace to make the checkouts faster. The Azure VPN speeds suck (we have Gbit speeds to/from Internet in general, but we've tried two different Azure regions close to us without even getting 20 Mbit/s throughput through VPN) so clean checkouts adds several minutes to build times. We have many builds for many repos so the chance that the same workspace is reused during the lifetime of the Azure agent is very low, effectively rendering every build a clean checkout. We're considering express route but it is a very expensive solution. We've considered agent-side checkouts and a git mirror in Azure, but it causes configuration problems since we also have build agents on-site. |
@dtretyakov thank you, but after commenting I also saw your comment about issue #34 and tried the updated plugin and it seems to solve our problem well already! |
@dtretyakov "Reuse allocated virtual machines" works fine if delay between stopping agent and starting it quite small 1-4 hours. In our case, they stopped in the evening, and in the morning (delay 6-8 hours, for weekends up to 48hours), plugin creating new agents instead of starting old ones. This behavior is not useful, new agents has new ip addresses, without needed permission, and build is failing. Could you fix that? |
@eakukin, it looks like a bug. Could you please report it in the TeamCity tracker and securely attach |
In the latest snapshot plugin build available "start/stop" mode. Please let me know if it completely covers your use cases. |
This mode is available in Azure plugin 0.7.0 |
@dtretyakov I have only just had a chance to test this but it seems to be working well. 👍 I did notice an issue with the Name Prefix missing the first letter of the image name. |
As management certificates are deprecated would love to be able to do starting/stopping with the resource manager plugin.
The text was updated successfully, but these errors were encountered: