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
-
Log on to the ROS console.
-
In the navigation pane on the left, choose .
-
Find the Deploy a Java Web staging environment template.
-
Click Create Stack.
-
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.
192.168.0.0/16
vSwitch CIDR Block
CIDR block of the vSwitch. Must be a subset of the VPC CIDR block.
192.168.1.0/24
ECS Image ID
Image ID of the ECS instance. Default: centos_7.
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_efficiency
ECS Instance Password
Password of the ECS instance.
Test_12****
-
-
Click Next:Check and Confirm. Then, click Create.
-
On the Stack Information tab, view the stack status. After the stack is created, click the Output tab to obtain the WebsiteURL.
-
Open the WebsiteURL to log on to the Tomcat Management Console.
Step 2: View resources
-
In the navigation pane on the left, choose .
-
On the Stacks page, click the target stack ID.
-
On the Stacks page, click the target stack name.
-
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
NoteResource fees vary. Check each product's pricing page.
-