Best practices for deploying a website in a cloud service

What is the best practice for deploying multiple websites in the Cloud Service?

I have three websites, is it possible to deploy these three websites in one cloud service? (Three instances in one cloud service)

Or do I need to create three cloud services and deploy each website separately?

thank

My ServiceDefinition file:

  <WebRole name="WebRoleName" vmsize="ExtraSmall">
    <Sites>
      <Site name="Web" physicalDirectory="../WebSite1">
        <Bindings>
          <Binding name="Endpoint1" endpointName="Endpoint1" />
        </Bindings>
      </Site>
      <Site name="Web2" physicalDirectory="..\..\..\WebSite2">
        <Bindings>
          <Binding name="Endpoint2" endpointName="Endpoint2" />
        </Bindings>
      </Site>
    </Sites>
    <Endpoints>
      <InputEndpoint name="Endpoint1" protocol="http" port="80" />
      <InputEndpoint name="Endpoint2" protocol="http" port="81" />
    </Endpoints>
    <Imports>
      <Import moduleName="Diagnostics" />
      <Import moduleName="RemoteAccess" />
      <Import moduleName="RemoteForwarder" />
    </Imports>
  </WebRole>
</ServiceDefinition>

, WebSite1 , WebSite2 - , : 81 Remote Desktop IIS, , WebSite1 , WebSite2 . WebSite2 WebSite2.Test , -. WebSite2 -, http://ID.cloudapp.net:81 p >

? Test WebSite2? ( )

+3
2

. , . 80 URL-, :

http://www.mywebsite.com/site1
http://www.mywebsite.com/site2
http://www.mywebsite.com/site3

:

http://kellyhpdx.wordpress.com/2012/04/11/deploying-multiple-web-applications-to-a-single-azure-instance-and-applying-web-config-transforms-correctly/

, , , .

webrole, , - , , 2 : 1 1 - , .

+2

.csdef Azure, . , . , .

0

All Articles