Customizing the Azure Site Java Runtime Environment (1)

Source: Internet
Author: User
Tags pfx file

Azure website provides a PAAs platform for rapid deployment of modern Web applications that allows users to quickly deploy their applications to the cloud in minutes, with automatic scaling (auto-scaling), SSL, multiple languages (Java,python, PHP, node. js,. Net), and other features such as seamless integration with other azure services, have won the favor of many users.

As a PAAs platform, the Azure website app runtime Environment, OS and other infrastructure are managed by Microsoft, the user only need to care about their own app and data, but in some cases, users want to be able to customize the environment of the settings, better run the program, in this regard, Azure website also provides this kind of advanced users with flexible options for users to do customized deployment, this article in the Java operating environment as an example of how to customize the website operating environment, mainly divided into the following two parts:

    1. Basic Configuration and Definitions
    2. Customizing the default Tomcat version and JDK environment provided by Azure website
    3. Customizing with user- defined tomcat versions and JDK environments
    4. Java 8 under PermGen (Permanent Generation)
Azure Website Java Operating Environment basic configuration
    1. Log in to Azure's management portal and create a test website called Myjavasite, as follows:

2. Go to the site you created myjavasite, select "Dashboard", because we mainly update the site by FTP, so we need to reset the deployment password, select the lower right corner "reset deployment Credentials", set your deployment password and remember:

?

3. Select "Configuration" interface, we configure the Java Runtime Environment, by default love PHP runtime environment is open, we test Java does not need, choose to close; Java version we choose 1.7.0_51, Tomcat chooses 7.0.50, which is currently the only version available on the Azure site:

?

4. The final platform section, select 64-bit, 32-bit platform for the JVM size will have a 2GB limit, it is not recommended, under normal circumstances choose to select 64 bits.

    1. Azure's web site also supports user-defined SSL, can upload its own PFX file and set it up, and also supports a custom domain name, which can be used to point your domain name to the Azure website, no longer in detail:

    2. You can configure the default welcome file for your site on the interface, that is, by default/site/wwwroot which file is the welcome file, and you can add, modify the default document name and search order, set complete click Save configuration :

    3. Back to the "dashboard" screen, in the lower right corner you can see the URL of your website, upload the FTP address of the file, FTP username password, click on your site URL, you can see the default home page, on behalf of your site is the configuration created successfully:

Customizing the Azure Site Java Runtime Environment (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.