Hoe to deploy mojoportal code on Azure with blob storage?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/13/2014 7:30:16 AM
Gravatar
Total Posts 12

How to deploy mojoportal code on Azure with blob storage?

Hi, 

I have mojoportal code and want to deploy on azure with using the blob storage feature, as if VM restarted then uploaded images, files with get lost.

We have created two webRoles and using cloud services to do the deployment.

We followed all the steps as suggested in 'https://www.mojoportal.com/windows-azure' link. but got stuck at ''https://www.mojoportal.com/uploading-mojoportal-files-to-azure-blob-storage" this link, downloaded 'CloudExplorer' nut it allow only upload files, and mojo portal link suggest that upload all folders. So will you please let us know how to do this?

We have created staging site as per mojo portal documentation 'http://b4316871bef544ed990531674ed16c9a.cloudapp.net/'. But what to do next not getting from given documentation on mojoportal as its seems documentation created on old azure environment.

 

So will you please let us know how to deploy the mojo code on azure using cloud service and blob storage?

If there is updated documentation for the same, will you please provide us?

Please do not hesitate to ask more details.

Thanks,

Rohit Jagtap.

 

 

 

 

 

5/13/2014 7:44:36 AM
Gravatar
Total Posts 18439

Re: Hoe to deploy mojoportal code on Azure with blob storage?

I told you on this thread already what I recommend is configure your vms with a shared blob storage drive so it can behave like a normal file system. if you must use vm worker roles I suggest research how to do that.

yes our Azure documentation for vms is out of date, when we get time we will try to update it but there are lots of articles already on the web about how to configure things at Azure and the issue about uploaded files is not specific only to mojoPortal  and the easy solution is to just use Azure Web sites instead of making your own vm worker roles.

please don't ask duplicate questions

5/13/2014 11:15:52 AM
Gravatar
Total Posts 18439

Re: Hoe to deploy mojoportal code on Azure with blob storage?

The thing about Azure is it keeps evolving and they keep trying to solve the difficult problems so we don't have to. Admittedly these are difficult problems to solve at the application level. That is also why it is hard to keep documentation up to date. It is better if they solve it at the platform level.

Just today Scott Guthrie posted about new Azure features, see especially the section about "Virtual Machines: Support for Capturing Images with both OS + Data Drives attached". That is what I've been saying to do, then it is just a matter of making an IIS Virtual directory that maps the /Data/Sites/[SiteID]/media folder to a folder in in the mounted data drive. So user files are uploaded to the attached data drive which behaves just as if it were normal file system storage and the rest of the mojoportal installation files are part of the vm image.

eventually I will get around to trying to document this process myself but it isn't my top priority and the longer I wait it will just get easier because they are still working on making it easier. In the meantime, Azure Websites is the easiest solution compared to Azure vm web roles.

You must sign in to post in the forums. This thread is closed to new posts.