More details on Deployment Groups?
This discussion is public.
Following up on: http://help.appveyor.com/discussions/questions/485-what-is-an-agent...
I have apps that deploy to multiple servers (e.g. same app, two different web servers in a farm). Would a group be helpful here? How is it used, do you specify to deploy to a group rather than an environment? Or is it just a UI grouping? If it is an Appveyor Agent, do you need to set the group on the server install too, or is setting it in Provider settings enough?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 1
Feodor Fitsner
on 20 Jul, 2015 11:09 PM
Deployment group works together with "environment access key". Groups are useful when your build produces multiple artifacts which are parts/tiers of a single application and must be deployed together. For example, this can be Web app deployed to front-end (let's say
web
group) and Windows service deployed to back-end (svc
group).Environment settings in this case are:
When you install deployment agent you can specify deployment group and use the same environment access key for all machines:
Hope that helps.
2
brian.donahue
on 21 Jul, 2015 12:48 AM
I think so... so, in your case there are 4 servers, 2 groups with 2 servers each. In my case where I just need to deploy same app to two servers, should I just give both the same Access Key and no group and that will work?
Support Staff 3
Feodor Fitsner
on 21 Jul, 2015 01:01 AM
Same access key and no group should work as, essentially, you have 1 tier only.
4
brian.donahue
on 21 Jul, 2015 01:07 AM
Yes, just verified this! Thanks!
5
brian.donahue
on 21 Jul, 2015 01:19 AM
Is there a way to stagger deployments in same environment? E.g. I have two servers in same environment (same access key) and I'd like to deploy an app to one server first, then the other. Is that possible? I know I can do it with two environments - I had that working before, just wondering what the options are.
Support Staff 6
Feodor Fitsner
on 21 Jul, 2015 01:22 AM
Right, having two environments is the only option.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.