Using WebtoB
    • PDF

    Using WebtoB

    • PDF

    Article Summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    Available in Classic and VPC

    Before use

    Q. What is NAVER Cloud Platform’s WebtoB?

    • Korea's representative next-generation web server, WebtoB, is provided as a server installation type.
    • It can reliably handle large amounts of client requests while consuming less server resources.
    • It provides load balancing and failover through clustering and provides differentiated functions. (WEB API, JEUS optimal linkage, output compression, etc.)

    Q. What are the features of WebtoB?

    • Online Transaction Processing (Online Transaction Processing, OLTP): WebtoB is designed to be suitable for processing large-scale transactions on the web, effectively solving problems on web systems such as delays in processing speed and server down.
    • WebtoB architecture: WebtoB is largely composed of system processes, web containers, server processes, and administrator tools. The administrator tool, WSM (WebtoB System Manager), is responsible for operating all processes in WebtoB and supports the entire system to operate efficiently.

    Q. How do I create a a WebtoB server?

    • You can create it by selecting the WebtoB server image from the console's Compute > Server menu.
    • Create a server with the specifications you want and add storage as needed.
    • You will be charged monthly or hourly. You can use this service after you create a server and configure the environment.
    • To use the WebtoB web service, you need to apply for a public IP address and add the Server Port port in the ACG settings (the port is changeable).
    • After connecting to the console, you can easily create a server using the following steps.

    Q. Can't access the Node.js Web service.

    • To use WebtoB web service, you need to apply for a public IP address and assign it to the server, and add the Web Server Port port to ACG.
    • If you still cannot access it after checking the public IP address and ACG settings, your web server process might be stopped; execute the restart command on the terminal to restart the process.

    Create WebtoB server

    To create and access the WebtoB server, follow the steps below in order.

    Step 1. Connect to Console

    Log in to the Console and click Compute > Server.

    webtob-1-1-01_en.png

    ① To create a server, click [Create server].

    Step 2. Select server image

    Select a WebtoB server image to create a server.

    webtob-1-1-02_en.png

    ① Select a WebtoB image.

    Step 3. Set Server

    Set server Select a storage type, server type, pricing plan, and zone, and enter a server name.

    webtob-1-1-03_en.png

    ① Select a zone.

    • NAVER Cloud Platform provides 1 Region.

    ② Select a storage type to use as boot storage.

    ③ Select the server type you want.

    • Some server specifications may not be supported depending on the boot disk type.
    • Select a server type according to the capacity you want.

    ④ You can select either the monthly or hourly pricing plan.

    ⑤ Enter a server name.

    • The name is used to identify servers, so it must be unique.

    ⑥ Click [Next].

    Step 4. Set login key

    If you have an existing login key, select Use an existing login key. Otherwise, create a new login key according to the following procedure.

    webtob-1-1-04_en.png

    ① Select Create a new login key.

    ② Enter an login key name.

    ③ Click [Create & save login key] to save the login key file to your local PC.

    • Issue a new login key.
    • After saving it, please keep the login key in a safe place on your PC.
    • The login key is used to obtain an initial administrator password.

    ④ Click [Next].

    Step 5. Set ACG

    You can set a firewall by either using an existing ACG or creating a new one.

    Select an existing ACG

    The following process describes how to set a firewall using an existing ACG.

    webtob-1-1-05_en.png

    ① You must select an ACG. Select one of the existing ACGs including the default ‘ncloud-default-acg’.

    • You can select up to 5 ACGs of your own.
    • You must select an ACG to activate [Next] button so that you can proceed with the setting.

    ② If you want to create and configure a new ACG besides your existing one, select Create a New ACG.

    ③ Click [Next].

    Create a new ACG

    The following process shows how to set a firewall by creating a new ACG.
    webtob-1-1-06_en.png

    ① In Create a New ACG, click [Create ACG].

    ② Enter an ACG name.

    ③ In ACG setting, enter a protocol, an access source, and an allowed port to create.

    • Protocol : Select between TCP, UDP, and ICMP.
    • Access source : Enter an IP address or ACG name.
    • Allowed port : Specify a single port or range.
    • For a terminal connection, the rule for SSH 'TCP/22' must be set in ACG of a server to be connected. To add rules, specify a protocol, an access source, and an allowed port, and click [Add].

    ④ If the service ports are all added, click [Create].

    Step 6. Confirm

    Confirm the settings.

    webtob-1-1-07_en.png

    ① Make sure that the server image, server, login key, and ACG are set properly.

    ② After the final confirmation, click [Create server].

    • This may take several minutes or longer to be completed.

    Check server list

    Check if the created server is in the list.

    webtob-1-1-08_en.png

    ① The server you have created will appear in the list.

    ② Wait until the server is created, the WebtoB package is installed, and the server status becomes Running.

    Set access environment

    Request public IP address

    To use the WebtoB, you must use a public IP address to access the server, and you will be charged additionally for using a public IP address.
    webtob-1-1-09_en.png

    ① Select PUBLIC IP from the left menu. Click [Allocated New IP] to get a public IP address assigned.

    ② From Select Server, select a WebtoB server to assign the public IP address for.

    ③ Click [Next]. Confirm the server name and click [Create] button again.

    Set port forwarding

    To connect to a server via a terminal program (such as Putty), you must set port forwarding.
    webtob-1-1-10_en.png

    ① Select Server from the left menu. To connect to the server, click [Set Port Forwarding].

    ② Set an external port number in the Set port forwarding window. The range of external port numbers is between 1024 and 65,534. It cannot be used for service purposes other than the feature to connect to a server.(The internal port number is set to 22.)

    ③ Click [Add] to add the setting to the bottom and select [Edit] or [Delete] to edit or delete the setting.

    ④ Click [Apply] for SSH connection to the configured external port using a terminal program.

    Create ACG

    Add a terminal connection SSH ('TCP / 22') and WebtoB service ('TCP / UDP' configuration) rule to ACG.
    If you have already added rules when creating the server, you do not need to perform the ACG setup task in this step.
    webtob-1-1-11_en.png

    ① Select ACG from the left menu and click [Create ACG] at the top.

    ② Enter an ACG name.

    ③ When you're finished setting, click [Create].

    Set ACG

    webtob-1-1-12_en.png

    ① Select the created ACG.

    ② Click [Set ACG] at the top.

    ③ In ACG rule setting, enter a protocol, an access source, and an allowed port to create.

    • Protocol : Select between TCP, UDP, and ICMP.
    • Access source : Enter an IP address or ACG name.
    • Allowed port : Specify a single port or range.

    For a terminal connection, the rule for SSH "TCP/22" must be set in ACG of a server to be connected. To add rules, specify a protocol, an access source, and an allowed port, and click [Add].

    ④ When you're finished setting, click [Apply].

    Get server admin password

    To connect to a server via terminal program (such as Putty), you need to know the administrator password.
    webtob-1-1-13_en.png

    ① Select Server from the left menu.

    ② Select a server, and from Manage Servers, click Get Admin Password.

    ③ Click [Drop files here or click to upload] to attach the login key file (.pem) saved on your PC when creating the server.

    ④ After attaching it, click [Get Admin Password] to get a password to use when first logging in to the server via terminal program.

    • It is recommended to change the password to one that the administrator can remember after connecting to the server.

    Terminal connection

    Terminal programs (PuTTY, etc.) can connect to the server and manage WebtoB processes.

    Connect to the server via a terminal

    webtob-1-1-14_en.png

    ① Run a terminal program (such as Putty).

    ② Enter the values of 'Public IP' and 'External Port' confirmed in your server list or from the details of the server, and click Open to connect to the server.

    • Get a public IP : Go to Server > Server in your console and select a server. You can find a Public IP for port forwarding in Show
    • Get an external port number : Go to Server > Server in your Console and select a server. You can find an external port value for port forwarding in Show.

    ③ Enter the user information and password and log in.

    • login as: root
    • password: The administrator password identified above.

    ④ Please change the root account's password to the one you can easily remember after first logging in. Enter the passwd root command to enter a new password.

    WebtoB startup and shutdown

    You can register, start and shut down the installed default instance as a Linux service by using the following command.

    • Activation : sudo systemctl start webtob5.service
    • Stop : sudo systemctl stop webtob5.service
    • Status check : sudo systemctl status webtob5.service

    After initial server creation, you can determine whether the installation is successful by calling the following page.
    (Please check the public IP connection and ACG settings.)
    webtob-sample_en.png

    See also

    For more information about the software used in NAVER Cloud Platform WebtoB, please visit the web pages below.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.