Creating Azure Cloud Hosted Environments Through Lifecycle Services

Lifecycle Services is the one-stop-shop for you as a partner, a prospective customer, and also a fully-fledged Dynamics AX user because it is chock full of tools that you can use to make your life so much easier. One of these tools is the Cloud Hosted Environment feature that will create a Dynamics AX environment for you that is hosted through the Azure services within a couple of minutes – give and take 30 for the machine to be deployed. Using this tool, you can deploy out pilot systems to prospects, create training environments that you can discard at any time, or just have your own dynamics AX instance running in the cloud rather than investing in a huge workstation. This is an incredibly useful tool.

I am sure you will have a better experience in the cloud than Han Solo did when he was deployed there.

How To Do It…

To do this, open up Lifecycle Services, and open up the project that you want to deploy the environment for. Then click on the Cloud Hosted Environment tile within the Tools group.

Lifecycle Services will then ask you to specify the Azure Subscription ID that you are using to host the virtual machine in. If you don’t have one, then click on the Sign Up For Azure link.

That will take you to the Azure site where you can sign up.

If you’re lucky you may even be able to catch a promotion to test out the service.

I signed up this way and instantly got a $200 credit. You can’t complain about that.

Once you have signed up, note down your Subscription ID.

Return back to Lifecycle Services and paste in your Azure Subscription ID and click on the Next button.

Then you will be asked to link Lifecycle Services with the Azure account. To do this, click the Download button to get your Management Certificate.

Then save the Certificate to your desktop.

Return to Azure, and select the Management Certificates tab within the Settings group and then click on the Upload button in the bottom bar.

When the Upload A Management Certificate dialog is displayed, click on the Browse For File link.

And then find the management certificate that you saved away and click the Open button.

Then click the check box to upload the certificate.

Now within Azure you should have a new Management Certificate record.

Note: it may take a minute for the certificate to upload.

Now return to Lifecycle Services and click the Next button.

Specify your region, and then click the Connect button.

Now you will be able to access the Cloud Hosted Environments list form. To add a new demo server, click on the + icon in the top left of the form.

You will then be given a list of possible environments.

Select the version that you want to deploy and then click the Deploy button.

You will then be asked to set up your demo environment.

Give your environment a Name, check the mandatory agreement box, and then click the Next button.

Finally, if you are sure that you want to do this, click the Deploy button.

Disclaimer: If you run this particular version of the demo without turning it off then keep in mind that it will run you about $600 a month.

Now Azure needs to do a little bit of work to deploy the image. Now would be a good time to get a coffee – it will take 30 minutes or so.

After a little bit, you will find that the image has been deployed.

If you return to your Azure account you will notice that the server is now available. To access it just click on the Connect button in the footer of the form.

And you will be able to log into the demo environment.

And Dynamics AX is already configured for you with the demo data.

That is super cool.

Tip: So that you don’t get hit with a large bill at the end of the month, when you are not using the VM, just turn it off.

The billing for these VM’s is on a Pay-As-You-Go basis and the bulk of the cost is through the CPU usage. I ran this machine for about an hour and it cost me $2.28 which is not bad.

  1. Hi Murray,

    Thanks for sharing.

    The current Demo Image has some flaws (missing/wrong setup), but roumers say that a new one will be available in a short time.

    There also seem to be some issues deploying to some of the regions, with the effect that the deployment will take a lot more time (5-10 hours). I believe that the LCS team is also working on this.

    /Claus Andersen, EG A/S

    • Claus, You’re right – the current image is the CTP 3 release, but the full demo image should be available soon… or so a little bird told me. PS. 5-10 hours is still a shorter time than it takes for me to deploy out a traditional instance of AX… maybe grab a bite along with the cup of coffee in that case. Murray.

  2. Guilherme said:

    Muito bom!

  3. I have deployed the Dynamics AX 2012 R3 environment via Lifecycle services and Azure as described in your article (thank you). The environment is deployed. I can rdp to the servers in the environment. I’ve compiled the application and CIL. The only company I can “see” is DAT. I was expecting to be able to access the sample companies. Any ideas? Thanks in advance.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: