Deploy a Java Web development and testing environment

更新时间:
复制 MD 格式

Resource Orchestration Service (ROS) lets you deploy a Java Web development and testing environment with a single click by creating a stack.

Overview

The Deploy a Java Web staging environment template creates a CentOS 7-based ECS instance with Tomcat and JDK installed. After you create the stack, use the WebsiteURL from the stack output to access the Tomcat Management Console.

Step 1: Create a stack

  1. Log on to the ROS console.

  2. In the navigation pane on the left, choose Templates > Public Templates.

  3. Find the Deploy a Java Web staging environment template.

  4. Click Create Stack.

  5. On the Configure Parameters page, enter a Stack Name and set the following parameters.

    Parameter

    Description

    Example

    Zone ID

    Zone of the ECS instance.

    China North 1 Zone C

    VPC CIDR Block

    CIDR block of the VPC.

    VPCs and vSwitches.

    192.168.0.0/16

    vSwitch CIDR Block

    CIDR block of the vSwitch. Must be a subset of the VPC CIDR block.

    VPCs and vSwitches.

    192.168.1.0/24

    ECS Image ID

    Image ID of the ECS instance. Default: centos_7.

    Image overview.

    centos_7

    ECS Instance Type

    ECS instance type.

    Select a supported type from Instance families.

    ecs.xn4.small

    ECS System Disk Category

    System disk category. Valid values:

    • cloud_efficiency: ultra disk.

    • cloud_ssd: Standard SSD.

    • cloud_essd: enterprise SSD (ESSD).

    • Cloud: basic disk.

    • ephemeral_ssd: local SSD.

    Cloud disk overview.

    cloud_efficiency

    ECS Instance Password

    Password of the ECS instance.

    Test_12****

  6. Click Next:Check and Confirm. Then, click Create.

  7. On the Stack Information tab, view the stack status. After the stack is created, click the Output tab to obtain the WebsiteURL.

  8. Open the WebsiteURL to log on to the Tomcat Management Console.

Step 2: View resources

  1. In the navigation pane on the left, choose Stacks.

  2. On the Stacks page, click the target stack ID.

  3. On the Stacks page, click the target stack name.

  4. Click the Resources tab.

    Resources created by this template:

    Resource

    Quantity

    Resource description

    Specifications

    ALIYUN::ECS::Instance

    1

    ECS instance for the Java Web development and testing environment.

    • Total quantity: 1.

    • Instance type: ecs.xn4.small.

    • Disk category: ultra disk.

    • System disk size: 40 GB.

    • Assign public IP address: Yes.

    ALIYUN::ECS::VPC

    1

    VPC to enhance network security.

    None

    ALIYUN::ECS::VSwitch

    1

    vSwitch to manage instances in the specified zone.

    None

    Note

    Resource fees vary. Check each product's pricing page.