Free tool for (very) easy Windows Azure migration available

Topics: Azure, Release notes
Coordinator
Feb 28, 2011 at 2:17 PM

Check out http://docs.composite.net/Azure if you want to test drive/run Composite C1 on Windows Azure - we have released a tool that makes it really easy to migrate your site.

The guide also contain links to free trial offers and free computing hours for MSDN subscribers, so you should be able to check this out without paying a dime :)

Apr 4, 2011 at 7:28 PM

Hei,

Is it possible to create my own package: cspkg file?

 

 

What I did is :
1. I download it the Composite C1 site from here: http://package.composite.net/AzureInstallFiles/DownloadWebsite.aspx
2. I run: 
       cspack ServiceDefinition.csdef /role:WebRole;Website /out:CompositeC1Demo.cspkg

with alsmost default csdef: 


  <?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="C1AzureBootLoader" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
  <WebRole name="WebRole" vmsize="ExtraSmall">
  <Sites>
      <Site name="Web" physicalDirectory="Website">
        <Bindings>
          <Binding name="Endpoint1" endpointName="Endpoint1" />
        </Bindings>
      </Site>
    </Sites>
    <LocalResources>
      <LocalStorage name="DiagnosticStore" sizeInMB="4096" cleanOnRoleRecycle="false" />
    </LocalResources>
    <ConfigurationSettings>
      <Setting name="ZippedWebsiteUrl" />
      <Setting name="BlobConnectionString" />
      <Setting name="BlobContainersPrefix" />
      <Setting name="InternalInstallFilesUrl" />
    </ConfigurationSettings>
    <Endpoints>
      <InputEndpoint name="Endpoint1" protocol="http" port="80" localPort="80" />
    </Endpoints>
    <Certificates />
 <Imports>
      <Import moduleName="RemoteAccess" />
      <Import moduleName="RemoteForwarder" /> 
    </Imports>
  </WebRole>
</ServiceDefinition>

And cspckg:

 <?xml version="1.0"?>
<ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serviceName="C1AzureBootLoader" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
  <Role name="WebRole">
    <ConfigurationSettings>
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value=" bla bla " />
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="bla bla" />
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value=" bla bla " />
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
   <Setting name="ZippedWebsiteUrl" value="http://package.composite.net/AzureInstallFiles/DownloadWebsite.aspx" />
      <Setting name="BlobConnectionString" value="DefaultEndpointsProtocol=http;AccountName= bla bla;AccountKey= bla bla " />
      <Setting name="BlobContainersPrefix" value="compositec1" />
      <Setting name="InternalInstallFilesUrl" value="http://package.composite.net/AzureInstallFiles/" />
    </ConfigurationSettings>
    <Instances count="1" />
    <Certificates>
      <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint=" bla bla " thumbprintAlgorithm="sha1" />
    </Certificates>
  </Role>
</ServiceConfiguration>

3. I upload it the package to Windows azure and it RUNS OK.
4. I manage to log in remotely to the instance and examine the installation

BUT all data is persisted in the file system of VM instance NOT on Windows storage.!!! WHY ????
Is there some other configuration which have to be done to allow persistent of XML data files in the blob storage?

Thanks !!!