Deployment Checklist

You are here:
< All Topics

Server Deployment Checklist 

 

 Azure Server Deployment Checklist 

Step 1: Create Resource Group

  1. Sign in to the Azure Portal using Azure credentials. 
  2. Create a Resource Group: 
    • Select Subscription. 
    • Choose a unique Resource Group Name. 
    • Select Region for resource location. 
    • Click Create to finalize the resource group. 

     

    Step 2: Create Web App Service

    1. Search for App Services and select Create.
    2. Fill in Basic Details:  
      • Choose Subscription and Resource Group. 
      • Set a unique Web App Name. 
      • Select Code as the deployment method. 
      • Choose Java 8, Apache Tomcat 9.0, and Windows as the runtime stack. 
      • Select Region (e.g., UK South). 
    3. Configure Pricing Plan: Select the appropriate plan (e.g., Standard_S2).
    4. Finalize: Click Review + Create, then click Create. 

    Step 3: Create MySQL Database 

    1. Navigate to Resource Group and select Azure Database for MySQL Flexible Server. 
    2. Fill in Basic Details:

      o Choose Subscription, Resource Group, and MySQL Server Name.

      o Select Region (e.g., UK South), MySQL Version 8.0.

    3. Configure Compute & Storage:

      o Choose Compute Tier (e.g., Burstable), Processor (e.g., AMD), and Storage size (e.g., 128GB).

      o Enable Storage Auto growth.

    4. Set Backup Configuration: Enable backup retention (e.g., 7 days) and geo-redundancy.
    5. Authentication: Set MySQL Authentication, username (e.g., abccc), and password.
    6. Finalize Database Creation: Click Review + Create and Create.

    Step 4: Set Environment Variables in App Service

    1. Navigate to App Service in the Azure portal and select Configuration under Settings.
    2. Add Environment Variables:

    a. Add variables such as DB_SERVER, DB_USER, DB_PASSWORD.

    b. Save changes and restart the App Service to apply changes.

    Step 5: Deploy Java Web Application (WAR file)

    1. Upload WAR file to the wwwroot/webapps folder using the Kudu console.
    2. Restart App Service and verify deployment by checking the app’s URL.

    On-Premise Server Deployment Checklist

    Step 1: Prepare Server Environment

    1. Create E: Drive on the server (100 GB space) and create a folder named aresource in E:\.

    2. Copy all downloaded files (Java, MySQL, Tomcat, .war file, and EnvironmentVariables bat file) into E:\aresource.

    Step 2: Install Java 8

    1. Install Java 8 64-bit (no customization needed).

    2. Java will install in C Drive.

    Step 3: Install Tomcat

    1. Run the Tomcat installer:

    • Change the Connector Port from 8080 to 80.
    • Set installation path to E:\aresource\Apache Software Foundation\Tomcat x (where x is the version).

    2. Ensure Tomcat starts automatically and select initial memory pool (4GB) and maximum memory pool (8GB).

    3. Verify Installation:

    • Open a browser and enter localhost to check Tomcat’s default page.
    • Verify network connectivity by accessing the server’s IP address from a local machine.

    Step 4: Install MySQL

    1. Run MySQL Web Installer:

    • Choose Custom Installation and select MySQL Server, Workbench, and Shell.
    • Set password as test#123 during installation.

    2. Create Database:

    • Open MySQL Workbench, connect using root and test#123, then create a new database named anakage_universal_db.

    Step 5: Deploy the Code

    1. Run the EnvironmentVariables bat file provided by Anakage.

    2. Deploy the .war File:

    • Rename the .war file to ROOT.war.
    • Go to E:\aresource\Apache Software Foundation\Tomcat x\Webapps and delete everything in this folder (ensure Tomcat is not running).
    • Copy ROOT.war into the Webapps folder.
    • Start Tomcat via Tomcat Monitor.

    Step 6: SSL Configuration

    1. Configure SSL in Tomcat:

    • Edit server.xml to add or modify the HTTPS connector.

    2. Configure Security in web.xml:

    • Add security constraints in web.xml to enforce HTTPS for the web application.

    Step 7: Ensure Network Accessibility

    1. Verify Accessibility:

    • On a local machine, open a browser and enter the server’s IP address or hostname.
    • Ensure the login page loads. If not, enable Port 80 in the server’s firewall:           Go to Windows Defender Firewall > Advanced Settings >Inbound Rules and add a rule to enable Port 80.

    2. Verify that the server URL is accessible from all networks within the company.

    Step 8: Solutions Setup

    1. Login to the Web Portal using provided credentials.

    2. Upload Solution Excel File:

    • Click on Solutions tab and upload the provided Excel file using the SELECT FILE button.

    3. Upload Solution EXE:

    • Click on +EXE and upload the techselfsupport.exe provided by Anakage.

    This merged checklist summarizes the mandatory steps for setting up both Azure Server and On-Premises Server environments.

        Table of Contents