After deploying semi-managed Dataphin, retrieve the initial account, obtain the IP address, and bind the host to access Dataphin.
Prerequisites
Deployment is complete when the Enter Dataphin button at the bottom of the instance becomes clickable. In the Dataphin console, click Semi-managed and select the region where you purchased Dataphin to verify.
Obtain the initial Dataphin account
-
Use the initial Dataphin account for your first logon after deployment.
-
Do not modify or delete the initial Dataphin account or its AK/SK. Doing so makes the Dataphin instance unusable.
-
Log on to the Alibaba Cloud RAM console using the Alibaba Cloud RAM main account.
-
Navigate to the user information page. Dataphin automatically creates an initial account named SuperOps.
Click User > User logon name under SuperOps.
-
On the SuperOps information page, click Authentication management > Modify logon settings. In the dialog box, set console access to Enabled. Optionally, change the account password (retain current, auto-generate, or customize).
-
Click OK.
-
Click the Login Method
icon and copy the login link.Log on with the SuperOps account password. After logon, open the Dataphin console and click Enter Dataphin. For first-time logon, bind the host first. For more information, see Attach the host.
Obtain the IP address
If you did not enable Dataphin public network access when purchasing Dataphin, first connect to the Dataphin VPC through VPN (Connect a client to a VPC by using SSL-VPN), then bind the host. If you enabled Dataphin public network access, bind the host directly. For more information, see Attach the host.
-
In the Server Load Balancer (SLB) console, click Instance management to open the Instance management list. Switch the region to where you purchased Dataphin.
-
Click the instance with TCP port 443 and 80 to open the instance details page.
-
Find the IP address under Billing information > Endpoint.
-
If you did not enable Dataphin public network access, the Endpoint shows only a private IP. Copy this IP address.
-
If you enabled Dataphin public network access, the Endpoint shows both a private IP and an Elastic IP (EIP). Copy the EIP.
-
Attach the host
Attach the host on Windows systems
-
Locate the file named hosts in the system.
Path: C:\Windows\System32\drivers\etc\hosts.
-
Edit the hosts file.
Example:
192.168.0.1is the Endpoint copied earlier, anddataphin.lydaas.localis the product access domain set during purchase. 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.
On macOS, run
sudo vi /private/etc/hostsand enter your password when prompted.NoteOpen Terminal first (Launchpad > search for Terminal).
On Linux, run
sudo vi /etc/hostsand enter your password when prompted. -
Press i to enter edit mode.
Example:
192.168.0.1is the Endpoint copied earlier, anddataphin.lydaas.localis the product access domain set during purchase. Add192.168.0.1 dataphin.lydaas.localto the hosts file. -
Press Esc, then enter
:wqand press Enter to save and exit.
After binding the host, go to the Dataphin console and click Enter Dataphin to access Dataphin.