tag:help.appveyor.com,2012-11-13:/discussions/questions/1496-more-details-on-deployment-groupsAppVeyor: Discussion 2018-08-25T01:58:08Ztag:help.appveyor.com,2012-11-13:Comment/374333162015-07-20T23:09:32Z2015-07-20T23:09:32ZMore details on Deployment Groups?<div><p>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 <code>web</code> group) and Windows service deployed to
back-end (<code>svc</code> group).</p>
<p>Environment settings in this case are:</p>
<pre>
<code>Environment access key: ABC123
web_app.deploy_website: true
web_app.group: web
svc_app.deploy_service: true
svc_app.group: svc</code>
</pre>
<p>When you install deployment agent you can specify deployment
group and use the same environment access key for all machines:</p>
<pre>
<code>Web Server 1:
Access key: ABC123
Group: web
Web Server 2:
Access key: ABC123
Group: web
App Server 1:
Access key: ABC123
Group: svc
App Server 2:
Access key: ABC123
Group: svc</code>
</pre>
<p>Hope that helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/374333162015-07-21T00:48:58Z2015-07-21T00:48:58ZMore details on Deployment Groups?<div><p>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?</p></div>brian.donahuetag:help.appveyor.com,2012-11-13:Comment/374333162015-07-21T01:01:06Z2015-07-21T01:01:06ZMore details on Deployment Groups?<div><p>Same access key and no group should work as, essentially, you
have 1 tier only.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/374333162015-07-21T01:07:04Z2015-07-21T01:07:04ZMore details on Deployment Groups?<div><p>Yes, just verified this! Thanks!</p></div>brian.donahuetag:help.appveyor.com,2012-11-13:Comment/374333162015-07-21T01:19:53Z2015-07-21T01:19:53ZMore details on Deployment Groups?<div><p>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.</p></div>brian.donahuetag:help.appveyor.com,2012-11-13:Comment/374333162015-07-21T01:22:06Z2015-07-21T01:22:06ZMore details on Deployment Groups?<div><p>Right, having two environments is the only option.</p></div>Feodor Fitsner