As far as I know, the Cloud Service (PaaS) package can only be created from Windows, so a Windows machine is currently required.
Visual Studio is probably the easiest tool to create your own cloud service, but you will need to learn about VS and the non-standard way to create an Azure application. It can be quite an investment.
You can install cmd and run the application (not just the Java EE WAR application) from the Azure plugin in Eclipse. If you already know Eclipse, this can be a quick way to create a cloud services package.
If you chose the Eclipse method, you can create your own application image as follows:
- Create a new Azure project, do not specify an application server and JVM.
- Check out the script launch example (basically it unpacks jvm, the application server, transfers the war to the deployment folder and starts the application server). The step for the application server and another application is similar: install and run it, the startup.cmd file can do this for your application.
- Make a similar script to install your application: unzip jvm, application or package manager. Put each item in the right place, and then run the application (remember to call it with the start command to make sure the script is completed)
When you understand how this works, you should try to make your Azure package more flexible by installing the archive in Blob support and downloading it at startup. This will increase the development efficiency, trust me. In the second step, you can configure the launch of the script by downloading another script or configuration file, which you can specify in the ServiceConfiguration.csfg file, which will allow you to limit the loading of your Windows machine ...
source share