This topic explains how to retrieve the initial account, acquire the IP address, and connect the host after purchasing the semi-managed version of Dataphin.
Prerequisites
Once the deployment is finished, you can access Dataphin successfully. In the Dataphin console, click Semi-managed, choose the region where you purchased Dataphin, and the Enter Dataphin button at the bottom of the instance will become clickable, signifying that the deployment is complete.
Obtain the initial Dataphin account
After Dataphin is successfully deployed, use the initial Dataphin account to log on for the first time.
Do not modify or delete the initial Dataphin account and its corresponding AK and SK to prevent the Dataphin instance from becoming unusable.
Log on to the Alibaba Cloud RAM console using the Alibaba Cloud RAM main account.
To access the user information page, follow the instructions below (Dataphin will automatically create an initial account named SuperOps for you to use).
Click User > User logon name under SuperOps in sequence.
On the SuperOps information page, click Authentication management -> Modify logon settings in sequence, and in the Modify logon settings dialog box, set console access to Enabled. You can decide whether to change the account password based on business needs, with options to retain the current password, generate a password automatically, or customize a password.
Click OK to complete the modification of the logon configuration.
Click the Login Method
icon and copy the login link.Use the SuperOps account password to log on. After a successful logon, you can access the Dataphin console and click Enter Dataphin to reach the Dataphin home page. If this is your first logon, you must first connect the host locally. For more information, see Attach the host.
Obtain the IP address
If you did not enable Dataphin public network access when purchasing Dataphin, connect to the VPC where Dataphin is located via VPN. After a successful connection, you can perform host attachment. For more information about connecting to a VPC, see Connect a client to a VPC by using SSL-VPN. If you enabled Dataphin public network access when purchasing Dataphin, you can directly connect the host locally. For more information, see Attach the host.
In the Server Load Balancer (SLB) console, click Instance management to access the Instance management list and switch the region to where you purchased Dataphin.
Click the instance name with TCP port 443 and 80 to access the instance details page.
On the instance details page, view the IP address under Billing information - Endpoint.
If you did not enable Dataphin public network access when purchasing Dataphin, the Endpoint will show only a private network IP. Please copy this IP address.
If you enabled Dataphin public network access when purchasing Dataphin, the Endpoint will display both a private network IP and the purchased Elastic EIP. Please copy this Elastic IP address.
Attach the host
Attach the host on Windows systems
Locate the file named hosts in the system.
The path for Windows systems is: C:\Windows\System32\drivers\etc\hosts.
Edit the hosts file.
For instance:
192.168.0.1is the Endpoint copied earlier;dataphin.lydaas.localis the product access domain name set during the purchase of Dataphin. Add192.168.0.1 dataphin.lydaas.localto the hosts file.
Attach the host on Linux and Mac systems
Locate the file named hosts in the system.
For Mac systems, enter the command:
sudo vi /private/etc/hostsand press Enter, then enter the local startup password and press Enter.NoteFirst, open the Terminal application on the Mac computer (click Launchpad, enter Terminal in the top search box, and press Enter).
For Linux systems, enter the command:
sudo vi /etc/hostsand press Enter, then enter the local startup password and press Enter.Press the i key in the hosts file and press Enter to enter edit mode.
For instance:
192.168.0.1is the Endpoint copied earlier;dataphin.lydaas.localis the product access domain name set during the purchase of Dataphin. Add192.168.0.1 dataphin.lydaas.localto the hosts file.Press the Esc key to exit edit mode, then switch to command mode and enter
:wqand press Enter to save and exit.
After successfully connecting the host, revisit the Dataphin console and click Enter Dataphin to gain access to Dataphin.