Manage instance
The following describes how to manage instances in the Bare Metal Server service.
View instance list and basic information
View the list of running instances and their basic information.
-
Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
-
In the Instance menu, check the currently created instances.
Instance menuCategory Description Name User-defined name of the instance ID Unique ID (UUID) of the instance Status Status of the instance
- For more information about status values, see Instance lifecycleType Server type of the instance Image Image installed on the instance Primary private IP Private IP address assigned to the primary network interface of the instance Primary public IP Public IP address connected by the user to the primary network interface of the instance Availability zone Availability zone where the instance is located Created at Creation date and time of the instance
Run and manage instance
Click the [⋮] button on the right side of the instance list to run various features.
-
Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
-
In the Instance menu, select the [⋮] button for the instance you want to manage.
Instance moreCategory Description Start Start a stopped instance to the ActivestateStop Temporarily stop using the instance
- Charges continueReboot Restart the instance after terminating running processes
- Restart may fail if processes do not terminate properlyHard reboot Restart the instance after powering it off Delete Completely terminate and release the instance Edit information Modify the instance name and description Rebuild instance Rebuild the instance to reset and reinstall the operating system and key pair Connect public IP Connect a public IP to a network interface attached to the instance
- Available only to project administratorsDisconnect public IP Disconnect the public IP applied to a network interface attached to the instance
- Available only to project administratorsConnect to instance Connect to the instance through SSH
- Available only for instances with a Linux-based operating system installed
- For more information, see Connect to linux instance with ssh
The following precautions apply when changing the instance status through the command line.
- If you shut down the server from the operating system using the Shutdown command, it is configured to reboot automatically.
- To shut down the server, use the console.
View instance details
View detailed information such as instance details, networks attached to the instance, and monitoring.
-
Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
-
In the Instance menu, select the instance for which you want to view detailed information.
-
Check the information on the instance details page.
- Details tab
- Network tab
- Monitoring tab
Category Description Name User-defined instance name ID Unique ID (UUID) of the instance Description Description of the instance Status Current status of the instance Availability zone Availability zone where the instance is located Host name Host name automatically generated in private IP format
- Host name assigned in thehost-{PRIVATE_IP}formatInstance type Instance type selected when creating the instance Image Image name of the instance vCPU Number of CPUs according to the instance type Memory Memory size according to the instance type Volume Disk capacity applied to the instance Key pair Key pair of the instance Creator UUID User who created the instance Created at Creation date and time of the instance (elapsed time since creation) infoAll Bare Metal instances are provided in a VPC environment. The VPC provides networking and security features and allows you to build a logically isolated service environment based on your network requirements.
Category Item Description Network bonding Enabled Whether network bonding mode is used Bonding mode Type of network bonding Network Network interface ID Unique UUID of the network interface Network interface name Name assigned to the network interface Connection status Connection status of the network interface
- In Use: Connected to a resource
- Available: Not connected to a resourcePrivate IP Private IP assigned to the network interface Public IP Public IP connected to the network interface Availability zone Availability zone where the network interface was created VPC name Name of the VPC where the network interface was created VPC ID VPC ID where the network interface was created Subnet name Name of the subnet where the network interface was created Subnet ID Unique UUID of the subnet where the network interface was created You can view detailed monitoring information after installing the monitoring agent in advance. The installation method for the monitoring agent for Bare Metal Server monitoring is as follows.
-
Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
-
In the Instance menu, select the instance on which to install the monitoring agent.
-
In the Monitoring tab, click [Go to installation guide].
-
After installing the monitoring agent according to the guide, configure each item in the Metric explorer tab under Management > Monitoring > Explorer. For more information, see Management > Monitoring > How-to Guides > Use explorer.
-
If you need to check logs, you can view each item in the Log explorer under Management > Monitoring > Explorer. For more information, see Management > Monitoring > How-to Guides > Use explorer.
-
A default monitoring dashboard is provided, but you can create a custom dashboard to suit your monitoring purpose. For more information, see Management > Monitoring > How-to Guides > Use dashboard.
Hard reboot instance
You can force restart the instance.
Restarting an instance is the same as rebooting the operating system. Rebooting an instance takes about 10 to 15 minutes on average, and the existing settings, such as public DNS, public and private IP addresses, and data on attached volumes, are retained. However, force restarting an instance does not start a new billing period for the instance.
-
Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
-
In the Instance menu, select [⋮] for the instance to restart > Hard reboot.
Hard reboot instance -
In the Hard reboot instance pop-up window, check the instance and click the [Confirm] button.
Delete instance
Delete an instance that is no longer in use.
Deleted instance resources are fully released after termination and cannot be recovered.
- Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
- In the Instance menu, select [⋮] for the instance to delete > Delete instance.
- In the pop-up window, enter the confirmation text, then click the [Delete] button.
Set time reference
Consistent and accurate time reference is important for many server operations and processes. The images provided by KakaoCloud use time synchronization services provided by the operating system by default, such as Network Time Protocol(NTP), Chrony, and systemd-timesyncd. Through these time synchronization services, multiple servers can operate based on the same time standard and reference consistent time. However, these external services can be used only when the server has internet access.
In a local network environment, you can synchronize time using the NTP service provided by KakaoCloud. In a Linux environment, you can use the Chrony client to use the KakaoCloud NTP service inside the instance.
- The KakaoCloud synchronization service is provided through the IPv4 address
169.254.169.123. - VPCs created before February 21, 2024 do not provide an NTP service endpoint, and this will be migrated gradually.
- RHEL family
- Debian family
-
Install the Chrony package.
sudo yum install chrony -
Open the /etc/chrony.conf file and add the following line.
server 169.254.169.123 prefer iburst minpoll 4 maxpoll 4 -
Restart the chronyd daemon and apply the changes.
sudo service chronyd restart -
Use the following command to configure chronyd to start whenever the system boots.
sudo chkconfig chronyd on -
Check whether Chrony synchronizes time using the IP
169.254.169.123. Also check whether the default time source marked with^*is set to169.254.169.123.chronyc sourcesOutputMS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^- 193.123.243.2 2 6 17 9 -8932us[-8909us] +/- 4550us
^- ec2-13-209-84-50.ap-nort> 2 6 17 9 -8534us[-8512us] +/- 5038us
^* 169.254.169.123 2 4 17 9 +11us[ +34us] +/- 39ms -
Check the time synchronization status of Chrony.
Check time synchronization statuschronyc trackingOutputReference ID : A9FEA97B (169.254.169.123)
Stratum : 3
Ref time (UTC) : Wed Jun 28 08:14:40 2023
System time : 0.000019450 seconds fast of NTP time
Last offset : +0.000022669 seconds
RMS offset : 0.000022669 seconds
Frequency : 1.352 ppm slow
Residual freq : +2.810 ppm
Skew : 0.061 ppm
Root delay : 0.076084495 seconds
Root dispersion : 0.000831026 seconds
Update interval : 2.0 seconds
Leap status : Normal
-
Install the Chrony package.
sudo apt install chrony -
Open the /etc/chrony/chrony.conf file and add the following line.
server 169.254.169.123 prefer iburst minpoll 4 maxpoll 4 -
Then restart the chronyd daemon to apply the changes.
sudo /etc/init.d/chrony restart -
Check whether Chrony synchronizes time using the IP
169.254.169.123. Check whether the default time source marked with^*is set to169.254.169.123.Check whether time synchronization is enabledchronyc sourcesOutputMS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* 169.254.169.123 2 4 37 4 +41us[ +189us] +/- 39ms
^- pugot.canonical.com 2 6 17 18 -8895us[-8864us] +/- 162ms
^- prod-ntp-3.ntp1.ps5.cano> 2 6 17 18 -3232us[-3203us] +/- 125ms
^- prod-ntp-5.ntp1.ps5.cano> 2 6 17 19 -1723us[-1707us] +/- 123ms
^- alphyn.canonical.com 2 6 17 18 -2344us[-2321us] +/- 140ms
^- 121.174.142.82 3 6 17 19 -9870us[-9853us] +/- 28ms
^- ntp-seoul.gombadi.com 2 6 17 20 -8532us[-8519us] +/- 52ms
^- send.mx.cdnetworks.com 2 6 17 18 -8997us[-8971us] +/- 29ms
^- 193.123.243.2 2 6 17 19 -9014us[-8994us] +/- 4132us -
Check the time synchronization status of Chrony.
Check time synchronization statuschronyc trackingOutputReference ID : A9FEA97B (169.254.169.123)
Stratum : 3
Ref time (UTC) : Wed Jun 28 08:25:52 2023
System time : 0.000156159 seconds slow of NTP time
Last offset : -0.000184961 seconds
RMS offset : 0.000184961 seconds
Frequency : 5.999 ppm fast
Residual freq : -0.600 ppm
Skew : 35.807 ppm
Root delay : 0.076914668 seconds
Root dispersion : 0.000669460 seconds
Update interval : 16.2 seconds
Leap status : Normal