KR-20260067920-A - METHOD, APPARATUS AND PROGRAM FOR SUPPORTING CONVERSION OF VIRTUAL MACHINE IMAGES BETWEEN HETEROGENEOUS CLOUD PLATFORMS
Abstract
According to one embodiment of the present disclosure, a computer program stored on a computer-readable storage medium may perform the following methods to support the conversion of a virtual machine image between heterogeneous cloud platforms. The method comprises: receiving a request from a user's device to migrate a first virtual machine of a first cloud platform configured in a first format to a second cloud platform configured in a second format; obtaining a first-1 image of the first virtual machine from a first root volume of the first virtual machine and obtaining a first-2 image of the first virtual machine from a first data volume of the first virtual machine through the first cloud platform; converting a modified first-1 image from which a predetermined script has been removed from the first-1 image into a second-1 image corresponding to the second format and converting the first-2 image into a second-2 image corresponding to the second format; creating a second root volume based on the second-1 image and creating a second data volume based on the second-2 image. and based on the second root volume and the second data volume, the method may include the step of creating a second virtual machine corresponding to the second format on the second cloud platform.
Inventors
- 강경구
Assignees
- (주) 케이티클라우드
Dates
- Publication Date
- 20260513
- Application Date
- 20241106
Claims (15)
- A computer program stored on a computer-readable storage medium, wherein the computer program performs the following methods to support the conversion of virtual machine images between heterogeneous cloud platforms, and the method comprises: A step of receiving a request from a user's device to migrate a first virtual machine of a first cloud platform configured in a first format to a second cloud platform configured in a second format; A step of obtaining a first-1 image of the first virtual machine from a first root volume of the first virtual machine and obtaining a first-2 image of the first virtual machine from a first data volume of the first virtual machine through the first cloud platform; A step of converting a modified 1-1 image, from which a predetermined script has been removed from the 1-1 image, into a 2-1 image corresponding to the 2nd format, and converting the 1-2 image into a 2-2 image corresponding to the 2nd format; A step of creating a second root volume based on the above 2-1 image and creating a second data volume based on the above 2-2 image; and Based on the second root volume and the second data volume, a step of creating a second virtual machine corresponding to the second format on the second cloud platform; including, A computer program stored on a computer-readable storage medium.
- In paragraph 1, The first cloud platform and the second cloud platform are software that provides virtualized computing resources according to the user's request, and The above first format and the above second format are different, A computer program stored on a computer-readable storage medium.
- In paragraph 1, The first cloud platform above includes CloudStack, and The above-mentioned second cloud platform includes OpenStack, A computer program stored on a computer-readable storage medium.
- In paragraph 1, The above 1-1 image is configured based on a server image and a first snapshot image obtained from the first root volume, and, The above first-2 images are configured based on a second snapshot image obtained from the first data volume, A computer program stored on a computer-readable storage medium.
- In paragraph 4, The above server image includes the entire configuration and metadata existing on the volume of the virtual machine, and The first snapshot image above includes information about data and applications at a first point in time of the first root volume, and The second snapshot image above includes information on data and applications at a second point in time of the first data volume, A computer program stored on a computer-readable storage medium.
- In paragraph 5, The above metadata is, A valid ID of the image of the first virtual machine, location information where the image of the first virtual machine is stored, and the size of the image of the first virtual machine, A computer program stored on a computer-readable storage medium.
- In paragraph 1, The above-mentioned predetermined script is, A script that is used in the first cloud platform and not used in the second cloud platform, A computer program stored on a computer-readable storage medium.
- In paragraph 1, After receiving a request to migrate the first virtual machine to the second cloud platform configured in the second format, a step of performing authentication for the user; including, A computer program stored on a computer-readable storage medium.
- In paragraph 8, The step of performing authentication for the above user is, A step of receiving information about the user from the user's device; and A step of comparing at least one of the information about the first virtual machine or the information about the second cloud platform with the information about the user; including, A computer program stored on a computer-readable storage medium.
- In paragraph 8, The step of comparing at least one of the information about the first virtual machine or the information about the second cloud platform with the information about the user is: A step of determining whether the user and the requester are the same by comparing information about the user and information about the requester who requested the creation of the first virtual machine; and If the above user and the above requester are not the same person, the step of sending a notification to the user's device rejecting the request to migrate the first virtual machine to the second cloud platform; including, A computer program stored on a computer-readable storage medium.
- In paragraph 8, The step of comparing at least one of the information about the first virtual machine or the information about the second cloud platform with the information about the user is, A step of determining whether the user has access rights to the second cloud platform by comparing information about a member who can access the second cloud platform with information about the user; and If the user does not have access rights to the second cloud platform, the step of sending a notification to the user's device rejecting a request to migrate the first virtual machine to the second cloud platform; including, A computer program stored on a computer-readable storage medium.
- In paragraph 1, After receiving a request to migrate the first virtual machine to the second cloud platform configured in the second format, a step of performing verification on the second cloud platform; including, A computer program stored on a computer-readable storage medium.
- In Paragraph 12, The step of performing verification for the above-mentioned second cloud platform is, A step of obtaining the resource status of the second cloud platform through the second cloud platform; and A step of determining whether migration of the first virtual machine to the second cloud platform is possible by comparing the resource status of the second cloud platform with the configuration of the first virtual machine; including, A computer program stored on a computer-readable storage medium.
- As a computing device including a cloud platform, One or more processors; Memory for storing instructions executable on the above-mentioned cloud platform and one or more processors; and Network Department; Includes, The above one or more processors, A process of receiving a request from a user's device to migrate a first virtual machine of a first cloud platform configured in a first format to a second cloud platform configured in a second format; A process of obtaining a first-1 image of the first virtual machine from a first root volume of the first virtual machine and obtaining a first-2 image of the first virtual machine from a first data volume of the first virtual machine through the first cloud platform; A process of converting a modified 1-1 image, from which a predetermined script has been removed from the 1-1 image, into a 2-1 image corresponding to the 2nd format, and converting the 1-2 image into a 2-2 image corresponding to the 2nd format; A process of creating a second root volume based on the above 2-1 image and creating a second data volume based on the above 2-2 image; and A process of creating a second virtual machine corresponding to the second format on the second cloud platform based on the second root volume and the second data volume; performing, Computing device.
- A method for supporting the conversion of virtual machine images between heterogeneous cloud platforms, performed on a computing device including a cloud platform, wherein A step of receiving a request from a user's device to migrate a first virtual machine of a first cloud platform configured in a first format to a second cloud platform configured in a second format; A step of obtaining a first-1 image of the first virtual machine from a first root volume of the first virtual machine and obtaining a first-2 image of the first virtual machine from a first data volume of the first virtual machine through the first cloud platform; A step of converting a modified 1-1 image, from which a predetermined script has been removed from the 1-1 image, into a 2-1 image corresponding to the 2nd format, and converting the 1-2 image into a 2-2 image corresponding to the 2nd format; A step of creating a second root volume based on the above 2-1 image and creating a second data volume based on the above 2-2 image; and Based on the second root volume and the second data volume, a step of creating a second virtual machine corresponding to the second format on the second cloud platform; including, method.
Description
Method, apparatus and program for supporting conversion of virtual machine images between heterogeneous cloud platforms The present disclosure relates to a technology that supports the conversion of virtual machine images, and specifically, to support the conversion of virtual machine images between heterogeneous cloud platforms. A cloud platform is a platform that utilizes internet technology to provide highly scalable IT resources as a service to a large number of customers. Through a cloud platform, users can create virtual machines (VMs) and use them like a personal desktop environment. However, heterogeneous cloud platforms differ in format, so virtual machine images may not function properly when moved. These problems make it inconvenient for users to use virtual machines on cloud platforms, and new technologies and methods are required to resolve them. In this regard, Korean Published Patent Application No. 10-2024-0009546 discloses a business management system using a cloud computing-based platform. FIG. 1 is an exemplary diagram of a system for supporting the conversion of virtual machine images between heterogeneous cloud platforms according to one embodiment of the present disclosure. FIGS. 2 to 8 are flowcharts illustrating a method for supporting the conversion of virtual machine images between heterogeneous cloud platforms according to one embodiment of the present disclosure. FIG. 9 illustrates a brief and general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented. Various embodiments are now described with reference to the drawings. In this specification, various descriptions are provided to provide an understanding of the present disclosure. However, it is evident that these embodiments can be practiced without such specific descriptions. As used herein, terms such as “component,” “module,” “system,” etc. refer to computer-related entities, hardware, firmware, software, combinations of software and hardware, or executions of software. For example, a component may be, but is not limited to, a procedure executed on a processor, a processor, an object, an execution thread, a program, and/or a computer. For example, both an application executed on a computer device and the computer device itself may be a component. One or more components may reside within a processor and/or an execution thread. A component may be localized within a single computer. A component may be distributed among two or more computers. Additionally, these components may be executed from various computer-readable media having various data structures stored therein. Components may communicate through local and/or remote processes, for example, according to signals having one or more data packets (e.g., data from a component interacting with another component in a local system or distributed system, and/or data transmitted through signals to other systems and networks such as the Internet). Furthermore, the term "or" is intended to mean an implicit "or" rather than an exclusive "or." That is, unless otherwise specified or evident from the context, "X uses A or B" is intended to mean one of the natural implicit substitutions. In other words, if X uses A; if X uses B; or if X uses both A and B, "X uses A or B" may apply to any of these cases. Additionally, the term "and/or" as used herein should be understood to refer to and include all possible combinations of one or more of the enumerated related items. Additionally, the terms “comprising” and/or “comprising” should be understood to mean that such features and/or components are present. However, the terms “comprising” and/or “comprising” should be understood not to exclude the presence or addition of one or more other features, components and/or groups thereof. Furthermore, unless otherwise specified or clearly evident from the context to indicate a singular form, the singular in this specification and claims should generally be interpreted to mean “one or more.” And, the term “at least one of A or B” should be interpreted to mean “a case including only A,” “a case including only B,” or “a combination of A and B.” Those skilled in the art should recognize that the various exemplary logical blocks, configurations, modules, circuits, means, logics, and algorithmic steps described in connection with the embodiments disclosed herein may be implemented in electronic hardware, computer software, or a combination of both. To clearly exemplify the interchangeability of hardware and software, various exemplary components, blocks, configurations, means, logics, modules, circuits, and steps have been generally described above in terms of their functionality. Whether such functionality is implemented in hardware or software depends on the specific application and design constraints imposed on the overall system. Skilled technicians may implement the described functionality in various ways for each specific application