Application Topology Discovery

By analyzing sandbox environments and matching infrastructure information with production systems, the method provides a non-invasive approach to discover cloud application topology, addressing the resistance to intrusive instrumentation and ensuring accurate communication link mapping.

JP7561874B2Active Publication Date: 2024-10-04INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022568492
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-05-26
Filing Date
2021-04-20
Publication Date
2024-10-04
Estimated Expiration
2041-04-20

AI Technical Summary

Technical Problem

Existing solutions for discovering cloud application topology require intrusive instrumentation in production environments, which can be resisted by administrators due to concerns over sensitive information, and there is a need for non-invasive methods to infer and discover communication links beyond physical connections.

Method used

A method that identifies a sandbox environment to analyze communication links and a production system to identify structural dependencies, combining these to create a complete topology without requiring intrusive instrumentation, by matching infrastructure information between sandbox and production environments.

Benefits of technology

Enables non-invasive topology discovery for cloud applications, allowing for accurate mapping of communication links without disrupting production systems, thus overcoming resistance to intrusive methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561874000001
    Figure 0007561874000001
  • Figure 0007561874000002
    Figure 0007561874000002
  • Figure 0007561874000003
    Figure 0007561874000003
Patent Text Reader

Abstract

A computer-implemented method for identifying an application topology includes identifying a sandbox environment corresponding to a target application, analyzing the sandbox environment to identify a set of communication links between services in the sandbox environment that indicate a first topology, identifying a production system corresponding to the target application, querying the production system to identify a set of structural dependencies that indicate a second topology, and combining the first topology and the second topology to create a complete topology of the cloud application. Further disclosed herein are computer program products and computer systems for identifying an application topology.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to the field of cloud computing, and more particularly to discovering the topology of an existing cloud computing environment. [Background technology]

[0002] The communication topology of a cloud application consists of the set of services used within the cloud application and their external dependencies or components, the API endpoints supported by the components, the directed source-destination communication links between them, and the API endpoint(s) of the destination components to which the source components connect at each link. Fine-grained topology information can be important for fault diagnosis and optimization of cloud applications running in production. Known solutions for discovering or inferring the topology of an application include the use of cloud service meshes, service mesh observability tools, and open tracing tools. These types of tools require a degree of instrumentation within the application, especially in the production environment, which can be considered intrusive. In various cases, the "physical" topology of the production environment may be available or discoverable based on knowledge of the components in the system, but information about services or components in the production environment that are not physically evident may not be readily available. Owners / administrators of the production environment may be reluctant to make such connectivity information available, especially in scenarios where the application receives or manages sensitive information. As distributed applications become increasingly prevalent, there is an increasing need for topology analysis that can infer and discover beyond the physical connections within an application. Summary of the Invention

[0003] As disclosed herein, a computer-implemented method for identifying an application topology includes identifying a sandbox environment corresponding to a target application. Once the sandbox environment is identified, the method proceeds by analyzing the sandbox environment to identify a set of communication links between services in the sandbox environment that are indicative of a first topology. The method further includes identifying a production system corresponding to the target application and querying the production system to identify a set of structural dependencies that are indicative of a second topology. The method concludes by combining the first topology and the second topology to create a complete topology of the cloud application. The computer-implemented method for identifying an application topology may enable topology discovery without requiring intrusive instrumentation or extensive analysis of the production environment. The computer-implemented method for identifying an application topology may further include matching services in the sandbox environment with services in the production system by matching infrastructure information used by the services in the sandbox environment and the services in the production system. By matching services in the sandbox environment with services in the production system in this manner, it is possible to establish correspondences between services present in the sandbox environment that have access to the topology and services present in the production system that may be more difficult to analyze, which may ultimately enable corresponding communication links to be identified. The computer-implemented method for identifying an application topology may further include using the service-to-service communication links in the sandbox environment to establish corresponding links between services in the production system. Matching the communication links in the sandbox environment with services present in the production system allows inference of links in the topology of the production system without requiring instrumentation of the production system.

[0004] A computer program product for identifying an application topology includes one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions including instructions for identifying a sandbox environment corresponding to a target application. The computer program product further includes instructions for analyzing the sandbox environment to identify a set of communication links between services in the sandbox environment indicative of a first topology. The computer program product further includes instructions for identifying a production system corresponding to the target application and for querying the production system to identify a set of structural dependencies indicative of a second topology. The computer program product further includes instructions for combining the first topology and the second topology to create a complete topology of the cloud application. The computer program product may enable execution of the method for identifying an application topology without requiring intrusive instrumentation or extensive analysis of the production environment. The computer program product may further include instructions for matching services in the sandbox environment with services in the production system by matching infrastructure information used by the services in the sandbox environment and the services in the production system. The computer program product for identifying an application topology may further include instructions for using the inter-service communication links in the sandbox environment to establish corresponding links between services in the production system.

[0005] As disclosed herein, a computer system for identifying an application topology includes one or more computer processors, one or more computer readable storage media, and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions including instructions for identifying a sandbox environment corresponding to a target application. The computer system further includes instructions for analyzing the sandbox environment to identify a set of communication links between services in the sandbox environment that are indicative of a first topology. The computer system further includes instructions for identifying a production system corresponding to the target application, and instructions for querying the production system to identify a set of structural dependencies that are indicative of a second topology. The computer system further includes instructions for combining the first topology and the second topology to create a complete topology of the cloud application. The computer program product may enable execution of the method for identifying an application topology without requiring intrusive instrumentation or extensive analysis of the production environment. The computer system may further include instructions for matching services in the sandbox environment with services in the production system by matching infrastructure information used by the services in the sandbox environment and the services in the production system. The computer system for identifying an application topology may further include instructions for using the inter-service communication links in the sandbox environment to establish corresponding links between services in the production system. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 illustrates a cloud computing environment according to one embodiment of the present invention. [Diagram 2] FIG. 2 illustrates abstraction model layers according to one embodiment of the present invention. [Diagram 3]FIG. 1 is a block diagram illustrating a topology analysis system in accordance with at least one embodiment of the present invention. [Figure 4] 1 is a flow chart illustrating a topology discovery method in accordance with at least one embodiment of the present invention. [Diagram 5] FIG. 1 is a block diagram of a horizontal topology in accordance with at least one embodiment of the invention. [Figure 6] FIG. 2 is a block diagram of a vertical topology in accordance with an exemplary embodiment of the present invention. [Figure 7] FIG. 2 illustrates a complete topology according to an exemplary embodiment of the present invention. [Figure 8] FIG. 1 is a block diagram of components of a computing system implementing an image analysis system according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Through a combination of passive query execution and instrumentation of sandbox environments (e.g., test, development, and staging environments), embodiments of the present invention analyze and build upon existing topologies without intrusive analysis of the corresponding production systems.

[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described in detail with reference to the drawings, in which: Implementations of embodiments of the present invention may take a variety of forms, and details of exemplary implementations are discussed below with reference to the figures.

[0009] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the teachings recited herein is not limited to a cloud computing environment. Rather, embodiments of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.

[0010] Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0011] Its features are as follows.

[0012] On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without the need for human interaction with the provider of the service.

[0013] Broad Network Access: Capabilities are available over the network and are accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms (e.g., cell phones, laptops, and PDAs).

[0014] Resource Pooling: Pooling provider computing resources to serve multiple consumers using a multi-tenant model where various physical and virtual resources are dynamically allocated and reallocated according to demand. Consumers generally have no control over or knowledge of the exact location of the resources provided to them, although there is a sense of location independence in that the location may be identifiable at a higher level of abstraction (e.g., country, state, or data center).

[0015] Rapid Elasticity: Capacity can be rapidly and elastically provisioned, sometimes automatically, to quickly scale out and rapidly release to quickly scale in. To the consumer, provisionable capacity often appears to be unlimited and can be purchased in any quantity at any time.

[0016] Metered Services: Cloud systems leverage metering capabilities at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts) to automatically control and optimize resource usage. Resource usage can be monitored, managed, and reported to provide transparency to both providers and consumers of the services utilized.

[0017] The service model is as follows:

[0018] Software as a Service (SaaS): The capability offered to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer has no management or control over the underlying cloud infrastructure, including networks, servers, operating systems, storage, or even individual application features, with the possible exception of limited user-specific application configuration settings.

[0019] Platform as a Service (PaaS): The ability provided to a consumer is to deploy applications that the consumer creates or acquires, written using programming languages ​​and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does control the deployed applications and possibly the application hosting environment configuration.

[0020] Infrastructure as a Service (IaaS): The ability offered to consumers is to provision processing, storage, network, and other basic computing resources onto which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does control the operating systems, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).

[0021] The deployment model is as follows:

[0022] Private Cloud: The cloud infrastructure is operated exclusively for an organization. It can be managed by the organization or a third party and can be on-premise or off-premise.

[0023] Community Cloud: The cloud infrastructure is shared by several organizations to support a specific community with common concerns (e.g., mission, security requirements, policies, and compliance considerations). It may be managed by the organization or a third party and may exist on-premise or off-premise.

[0024] Public Cloud: The cloud infrastructure is made available to the general public or large industry organizations and is owned by an organization that sells cloud services.

[0025] Hybrid Cloud: A cloud infrastructure is a composite of two or more clouds (private, community, or public) that remain unique entities but are joined by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).

[0026] Cloud computing environments are service-oriented with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the core of cloud computing is an infrastructure that includes a network of interconnected nodes.

[0027] Referring now to FIG. 1, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or cell phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, may communicate. The nodes 10 may communicate with each other. They may be physically or virtually grouped (not shown), for example, in one or more networks, such as the private, community, public, or hybrid clouds described above, or combinations thereof. This enables the cloud computing environment 50 to provide infrastructure-as-a-service, platform-as-a-service, and / or software-as-a-service services without the need for cloud consumers to maintain resources on their local computing devices. It should be understood that the types of computing devices 54A-N illustrated in FIG. 1 are intended to be exemplary only, and that the computing node 10 and cloud computing environment 50 can communicate with any type of computerized device via any type of network and / or network-addressable connections (e.g., using a web browser).

[0028] Referring now to Figure 2, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 1) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 2 are intended to be exemplary only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:

[0029] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes 61, RISC (reduced instruction set computer) architecture based servers 62, servers 63, blade servers 64, storage devices 65, and networks and networking components 66. In some embodiments, the software components include network application server software 67 and database software 68.

[0030] The virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71, virtual storage 72, virtual networks including virtual private networks 73, virtual applications and operating systems 74, and virtual clients 75.

[0031] In one example, the management layer 80 may provide the following functions: Resource provisioning 81 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and accounting or billing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification of cloud consumers and tasks as well as protection for data and other resources. User portal 83 provides consumers and system administrators with access to the cloud computing environment. Service level management 84 provides allocation and management of cloud computing resources such that requested service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides advance arrangement and procurement of cloud computing resources anticipated to be required in the future according to SLAs.

[0032] The workload layer 90 provides examples of functionality for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this layer include mapping and navigation 91, software development and lifecycle management 92, virtual classroom instructional delivery 93, data analytics processing 94, transaction processing 95, and topology discovery 96.

[0033] 3 is a block diagram illustrating a topology analysis system 300 in accordance with at least one embodiment of the present invention. As shown, topology analysis system 300 includes a computing system 310, a sandbox environment 320, a production application 330, and a network 340. Topology analysis system 300 may be configured to perform a non-invasive analysis of a topology of a cloud application.

[0034] Computing system 310 may be a desktop computer, a laptop computer, a dedicated computer server, or any other computer system known in the art. In some embodiments, computing system 310 represents a computer system utilizing clustered computers to function as a single pool of seamless resources. In general, computing system 310 represents any electronic device or combination of electronic devices capable of receiving and transmitting data, as described in more detail with respect to FIG. 8. Computing system 310 may include internal and external hardware components, as illustrated and described in more detail with respect to FIG. 8.

[0035] As shown, computing system 310 includes an analysis application 315. Analysis application 315 may be an application configured to analyze a topology of a cloud production application. In at least one embodiment, analysis application 315 is configured to analyze the cloud application in a non-invasive manner without requiring access to sensitive data. In general, analysis application 315 is configured to perform a topology discovery method. One embodiment of a suitable topology discovery method is described with respect to FIG.

[0036] As shown, analysis application 315 includes horizontal analysis component 316, vertical analysis component 317, and topology construction component 318. Each of horizontal analysis component 316, vertical analysis component 317, and topology construction component 318 may include their own dedicated memory or processing units or may leverage shared memory and processing units housed within computing system 310 or analysis application 315. In combination, horizontal analysis component 316, vertical analysis component 317, and topology construction component 318 may be configured to perform particular steps of a topology discovery method, such as the topology discovery method described with respect to FIG.

[0037] The horizontal analysis component 316 is configured to analyze the sandbox environment 320 to identify a set of communication links between the services, which may include identifying one or more services contained within the sandbox environment. In at least some embodiments, the horizontal analysis component is configured to identify which of the identified one or more services communicate with each other to establish the set of communication links. The horizontal analysis component 316 may be further configured to monitor any instrumentation tools present within the application. In at least some embodiments, the horizontal analysis component 316 is further configured to use static analysis of code elements, such as environment variables, to identify existing communication links. The horizontal analysis component may be further configured to identify one or more service names corresponding to the identified one or more services contained within the sandbox environment.

[0038] The vertical analysis component 317 may be configured to query the production application 330 to identify a set of structural dependencies. In at least one embodiment, the vertical analysis component 317 is configured to send a query to one or more components of the production application 330 to request information about the one or more components of the production application. For each component, the vertical analysis component 317 may be further configured to inherit an API from the corresponding component in the sandbox environment 320 and to inherit a source-destination link based on the corresponding source-destination link in the sandboxed component. The vertical analysis component 317 may be further configured to query the production application 330 for any of a service, a pod, a deployment, a daemon set, a replica set, a stateful set, a node, or an egress network policy. In at least some embodiments, the vertical analysis component 317 is configured to request the name of the component in the production application 330 and the identity of the container image backing the service in the production system.

[0039] The topology construction component 318 may be configured to combine the horizontal and vertical topologies provided by the horizontal and vertical analysis applications 316 and 317. In at least one embodiment, the topology construction component 318 is configured to match the IDs of container images supporting services in the sandbox environment 320 with the IDs of container images supporting services in the production application 330. The topology construction component 318 may be configured to match the names of services in the sandbox environment 320 with the names of services in the production application 330. In at least one embodiment, the topology construction component 318 is configured to calculate network fingerprints of traffic originating from services in the sandbox environment 320 and the production application 330. In such an embodiment, the topology construction component 318 may be further configured to run a similarity matching algorithm on the network fingerprints. The topology construction component 318 may be further configured to prompt the user for feedback or additional information regarding the constructed topology.

[0040] The sandbox environment 320 may correspond to a testing environment intended to represent the target cloud application. In at least some embodiments, the sandbox environment 320 is an environment in which code can be tested for the cloud application without exposing the live servers and their data to potentially harmful changes or errors. In some embodiments, the sandbox environment 320 corresponds to a staging environment intended to represent the target cloud application. A staging environment may be a near-exact replica of a production environment intended to test code, builds, or updates to ensure quality in a production-like environment before the application is deployed. In some embodiments, the sandbox environment 320 corresponds to a development environment. A development environment corresponds to a collection of procedures and tools for testing and debugging the target cloud application. A development environment, sometimes referred to as an integrated development environment or IDE, may include any of a compiler, an interpreter, a source code editor, a set of build automation tools, and a debugger. In some embodiments, the sandbox environment 320 may represent some combination of a staging environment, a development environment, and a testing environment.

[0041] The production application 330 corresponds to a functional cloud application. The production application 330 may be a final version of the cloud application represented by the sandbox environment 320. An exemplary embodiment of a suitable production application is illustrated with respect to FIGS.

[0042] The network 340 may be, for example, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the two, and may include wired, wireless, or fiber optic connections. In general, the network 340 may be any combination of connections and protocols that support communication between the computing system 310, the sandbox environment 320, and the production application 330.

[0043] 4 is a flow chart illustrating a topology discovery method 400 in accordance with at least one embodiment of the present invention. As shown, the topology discovery method 400 includes identifying a sandbox environment corresponding to a cloud application (410), analyzing the sandbox environment to identify a set of communication links between services (420), identifying a production system corresponding to the cloud application (430), querying the production system to identify a set of structural dependencies (440), and combining the horizontal and vertical topologies to create a complete topology of the cloud application (450). The topology discovery method 400 may be utilized to perform a non-invasive analysis of the topography of a cloud application.

[0044] Identifying 410 a sandbox environment corresponding to the cloud application may include receiving or identifying a request to analyze a specified cloud application or a target cloud application. In at least some embodiments, the sandbox environment corresponds to a test environment intended to represent the target cloud application. The test environment provides an environment in which code may be tested for the cloud application without exposing the live servers and their data to potentially harmful changes or errors. In some embodiments, the sandbox environment corresponds to a staging environment intended to represent the target cloud application. A staging environment may be a near-exact replica of a production environment intended to test code, builds, or updates to ensure quality in a production-like environment before the application is deployed. In some embodiments, the sandbox environment corresponds to a development environment. A development environment corresponds to a collection of procedures and tools for testing and debugging the target cloud application. A development environment, sometimes referred to as an integrated development environment or IDE, may include any of a compiler, an interpreter, a source code editor, a set of build automation tools, and a debugger. Identifying 410 a sandbox environment corresponding to the cloud application may further include sending a request for access to an appropriate sandbox environment. In such embodiments, a request for authorization may be sent to an owner / controller of the cloud application and the corresponding sandbox environment. In at least some embodiments, identifying 410 a sandbox environment corresponding to the cloud application further includes identifying a sandbox environment that best represents the cloud application. In at least some embodiments, a horizontal analysis component, such as horizontal analysis component 316 described with respect to FIG. 3, is configured to perform processing related to identifying 420 a sandbox environment corresponding to the cloud application.

[0045] Analyzing the sandbox environment to identify a set of communication links between services (420) may include identifying one or more services included within the sandbox environment. The set of communication links between services may alternatively be referred to herein as a horizontal topology. In additional embodiments, the set of communication links between services may alternatively be referred to as a first topology. It should be understood that the terms horizontal topology or first topology do not indicate a physical orientation of the topology, nor an order of occurrence of the topology. Analyzing the sandbox environment (420) may further include identifying which of the identified one or more services communicate with each other to establish the set of communication links. In at least one embodiment, analyzing the sandbox environment (420) includes instrumenting the cloud application using existing service mesh observability tools to achieve visibility of the connections. A service mesh is a dedicated infrastructure layer built into an application and configured to control how different parts of the application communicate with each other. In embodiments where the target cloud application includes a service mesh layer, analyzing (420) the sandbox environment includes analyzing the service mesh to identify a communication infrastructure between one or more services included within the sandbox environment. Analyzing (420) the sandbox environment to identify a set of communication links between the services may include using static analysis of code elements, such as environment variables, to identify existing communication links. In some embodiments, analyzing (420) the sandbox environment includes analyzing Domain Name System (DNS) queries to identify existing communication links between the services. Analyzing (420) the sandbox environment may further include identifying one or more service names corresponding to the identified one or more services included within the sandbox environment.In at least one embodiment, analyzing the sandbox environment (420) includes identifying an identity of a container image that supports a service within the sandbox environment. In at least some embodiments, a horizontal analysis component, such as horizontal analysis component 316 described with respect to FIG. 3, is configured to perform processing related to analyzing the sandbox environment (420).

[0046] Identifying 430 a production system corresponding to a cloud application may include querying the cloud application or a corresponding sandbox environment for information related to the corresponding production system. In at least one embodiment, identifying 430 a production system corresponding to a cloud application includes identifying a production system related or associated with at least one of the one or more services included within the sandbox environment. Identifying 430 a production system corresponding to a cloud application may include receiving information identifying / indicating a production system associated with the cloud application. In at least some embodiments, identifying 430 a production system corresponding to a cloud application includes requesting access to or attempting to establish a connection with the production system so that queries and query responses may be sent / received. In at least some embodiments, a vertical analytics component, such as vertical analytics component 317 described with respect to FIG. 3, is configured to perform processing related to identifying 430 a production system corresponding to a cloud application.

[0047] Querying the production system to identify a set of structural dependencies (440) may include sending a query to one or more components of the production system to request information about the one or more components of the production system. The set of structural dependencies may also be referred to as a vertical topology. In additional embodiments, the set of structural dependencies (or the vertical topology) may be referred to as a second topology. It should be understood that the terms vertical topology or second topology do not indicate a physical orientation of the topology, nor an order of occurrence of the topology. In at least one embodiment, querying the production system (440) includes, for each component in the production system, inheriting an API from a corresponding component in the sandbox environment, as well as inheriting source-destination links based on corresponding source-destination links in the sandboxed component. In other words, in embodiments where a component in the production system actually has a corresponding component present in the sandbox environment, it is inferred that the component also has the same connecting links and APIs as the corresponding sandbox component. In such an embodiment, querying the production system to identify the set of structural dependencies (440) includes updating the set of structural dependencies to reflect APIs exhibited by a corresponding component(s) in the sandbox environment. If a corresponding component does not exist in the sandbox environment, the component may be tagged as missing information or ignored. Querying the production system to identify the vertical topology (440) may further include querying the production system for any of services, pods, deployments, daemon sets, replica sets, stateful sets, nodes, or egress network policies. Querying the production system to identify the vertical topology may further include requesting names of components in the production system.In at least some embodiments, querying the production system (440) further includes requesting an identity of a container image that underpins the service in the production system. In at least some embodiments, a vertical analysis component, such as vertical analysis component 317 described with respect to FIG. 3, is configured to perform processing related to querying the production system (440) to identify a set of structural dependencies.

[0048] Combining the horizontal and vertical topologies to create a complete topology of the cloud application (450) may include combining the set of identified communication links identified in step 420 with the set of structural dependencies identified in step 440 to create a complete topology of the cloud application. Creating the complete topology of the cloud application (450) may include matching an ID of a container image supporting a service in the sandbox environment with an ID of a container image supporting a service in the production application. In additional embodiments, such as when a container image ID is not available, creating the complete topology of the cloud application (450) includes matching a name of a service in the sandbox environment with a name of a service in the production application. Creating the complete topology of the cloud application (450) may include computing a network fingerprint of traffic originating from services in the sandbox environment and the production application. Such embodiments may further include running a similarity matching algorithm on the network fingerprints. Creating the complete topology of the cloud application (450) may further include forwarding information regarding the communication links in the sandbox environment to the production environment. One example of a process for combining two topologies may be through discovering similar nodes from structural characteristics and connectivity of nodes associated with the vertical topology (e.g., deriving pairwise similarity scores for nodes in two different graphs using local neighborhood structural similarity) and then inferring characteristics of prod nodes associated with the horizontal topology from similar sandbox nodes. In some embodiments, such as when some of the queried information is incomplete, the complete topology may be augmented or edited or adjusted by an expert. In at least some embodiments, a topology construction component, such as the topology construction component 318 described with respect to FIG. 3, is configured to perform processes associated with creating (450) a complete topology of an application.

[0049] With respect to Figures 5, 6, and 7, exemplary embodiments of applications and corresponding services and service deployments within the applications are shown. While the illustrated embodiments include various specific services and deployments by name and display connections between these specific services and deployments, it should be understood that any number of applications may be suitable for analysis using the methods discussed herein and should not be limited to applications that include only the combinations of services discussed with respect to these figures. Rather, the services and service deployments shown and described represent any application or service that exists within an application and is responsible for sending and / or receiving data within the capacity associated with that application. With respect to the illustrated embodiments, each service may perform various operations on the data or may perform no operations on the data, or may be somewhere in between, and with respect to the methods disclosed herein, it is only the existence of these services / deployments / applications and their communication with each other that is analyzed. With respect to the communications / connections between various services and deployments, the methods disclosed herein do not analyze the data within the communications that occur over these connections, but rather detect the existence of these connections to identify which services communicate with each other within an application. Thus, it should be understood that the services, deployments, and various other structures / applications illustrated with respect to Figures 5, 6, and 7 are intended to represent applications according to a single embodiment of the present invention, but are not a comprehensive list of services that can be analyzed using the methods herein, nor a list of required components.

[0050] FIG. 5 illustrates a block diagram of a horizontal topology 500 in accordance with at least one embodiment of the present invention. The illustrated embodiment includes a set of sample services that may be present in a sandbox environment, but should be considered merely one example of the many combinations of services that may be present in other embodiments of the present invention. As illustrated, the horizontal topology 500 includes a reporting service 510, a statistics service 520, a transaction service 530, a details service 540, a front page service 550, a rating service 560, and a reviews service 570. FIG. 5 further illustrates the flow of data between the illustrated services. As illustrated, the reporting service 510 provides reporting data to the statistics service 520. The statistics service 520 processes the received reporting data and provides statistics and analysis to the transaction service 530. The front page service 550 provides page information to both the reviews service 570 and the details service 540. The reviews service 570 processes the received page information and provides review information to the ratings service 560. The details service 540 processes the received page information and provides details information to the transaction service 530.

[0051] FIG. 6 illustrates a block diagram of a vertical topology 600 according to an exemplary embodiment of the present invention. The illustrated embodiment includes a set of sample structures and dependencies that may be present in a production application, but should be considered merely one example of the many combinations of structures and dependencies that may be present in additional embodiments of the present invention. As shown, the vertical topology 600 includes pods 610, nodes 620, reviews deployment 630, ratings deployment 640, front page deployment 650, details deployment 660, reports deployment 670, statistics deployment 680, and transactions deployment 690. The pods 610 (610A, 610B, 610C) may each represent a single instance of a process / microservice running in a cluster. The nodes 620 may communicate with each other. They may be grouped physically or virtually (not shown), for example, in one or more networks, such as the private, community, public, or hybrid clouds described above, or combinations thereof. It is understood that the nodes 620 can communicate with any type of computerized device over any type of network and / or network addressable connections (e.g., using a web browser). In some embodiments, each illustrated node 620 may correspond to a separate node, while in other embodiments, some of the illustrated nodes 620 correspond to the same node. It is understood that the deployments are illustrated alongside their corresponding nodes and pods, and which deployments are associated with each node may vary from embodiment to embodiment. The review deployment(s) 630 (630A, 630B, 630C) corresponds to a particular deployment (or deployments) of one or more review services, such as the review service described with respect to FIG. 5. The rating deployment 640 corresponds to a particular deployment of a rating service, such as the rating service described with respect to FIG. 5. The front page deployment 650 corresponds to a particular deployment of a front page service, such as the front page service described with respect to FIG. 5.Detail deployment 660 corresponds to a particular deployment of a detail service, such as the detail service described with respect to Figure 5. Reporting deployment 670 corresponds to a particular deployment of a reporting service, such as the reporting service described with respect to Figure 5. Statistics deployment 680 corresponds to a particular deployment of a statistics service, such as the statistics service described with respect to Figure 5. Transaction deployment 690 corresponds to a particular implementation of a transaction service, such as the transaction service described with respect to Figure 5. As shown, vertical topology 600 does not include comprehensive information about connections between services or deployments.

[0052] FIG. 7 illustrates a complete topology 700 according to an exemplary embodiment of the present invention. As illustrated, the complete topology 700 represents a combination of the horizontal topology 500 and the vertical topology 600. The dotted lines and corresponding labels surrounding the vertical topology components (various specific deployments) indicate the services from the horizontal topology to which they correspond, and the arrows in the complete topology 700 correspond to the communication links between the illustrated services. A typical sandbox is built with minimal configuration and resources to provide a way to train and gain real-world hands-on experience without accessing a production environment that may also contain sensitive data. As illustrated, the services in the horizontal topology of FIG. 5 are matched to deployments in the vertical topology of FIG. 6 based on service name, but could alternatively be matched using container image IDs.

[0053] 8 illustrates a block diagram of components of a computing system 110 in accordance with an exemplary embodiment of the invention. It should be appreciated that FIG. 8 is intended as an illustration of one implementation and is not intended to imply any limitation with respect to the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made.

[0054] As shown, computer 800 includes a communications fabric 802 that provides communication between computer processor(s) 804, memory 806, persistent storage 808, communications units 812, and input / output (I / O) interface(s) 814. Communications fabric 802 may be implemented with any architecture designed to pass data and / or control information between processors (e.g., microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components in the system. For example, communications fabric 802 may be implemented with one or more buses.

[0055] Memory 806 and persistent storage 808 are computer-readable storage media. In this embodiment, memory 806 includes random access memory (RAM) 816 and cache memory 818. In general, memory 806 may include any suitable volatile or non-volatile computer-readable storage media.

[0056] One or more programs may be stored in persistent storage 808 via one or more memories of memory 806 for access and / or execution by one or more of the respective computer processors 804. In this embodiment, persistent storage 808 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive, persistent storage 808 may include a solid-state hard drive, a semiconductor storage device, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, or any other computer-readable storage medium capable of storing program instructions or digital information.

[0057] The media used by persistent storage 808 may also be removable. For example, a removable hard drive may be used for persistent storage 808. Other examples include optical and magnetic disks, thumb drives, and smart cards, which are inserted into a drive and transferred onto other computer-readable storage media that are also part of persistent storage 808.

[0058] Communications unit 812, in these examples, provides for communication with other data processing systems or devices. In these examples, communications unit 812 includes one or more network interface cards. Communications unit 812 may provide communications using either or both physical and wireless communication links.

[0059] The I / O interface(s) 814 allow for input and output of data with other devices that may be connected to the computer 800. For example, the I / O interface 814 may provide a connection to an external device 820, such as a keyboard, a keypad, a touch screen, or any other suitable input device, or a combination thereof. The external device 820 may also include a portable computer-readable storage medium, such as a thumb drive, a portable optical or magnetic disk, a memory card, and the like. Software and data used to practice embodiments of the present invention may be stored on such a portable computer-readable storage medium and loaded into the persistent storage 808 via the I / O interface(s) 814. The I / O interface(s) 814 may also be connected to a display 822.

[0060] Display 822 provides a mechanism for displaying data to a user and may be, for example, a computer monitor.

[0061] The programs described herein are identified based on the applications in which they are implemented in specific embodiments of the invention. However, it should be understood that any specific program names herein are used for convenience only, and thus the invention should not be limited to any particular application identified and / or implied by such names.

[0062] The present invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail integration. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon for causing a processor to carry out aspects of the present invention.

[0063] A computer readable storage medium may be any tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded devices such as punch cards or grooved ridge structures having instructions recorded thereon, and any suitable combination thereof. A computer-readable storage medium, as used herein, should not be construed to be a transitory signal per se, such as, for example, radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over a wire.

[0064] The computer readable program instructions described herein may be downloaded from a computer readable storage medium to the respective computing / processing device or to an external computer or storage device over a network, such as, for example, the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface of each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0065] The computer readable program instructions for carrying out the operations of the present invention may be source or object code written in any combination of one or more programming languages, including assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or object-oriented programming languages ​​such as Smalltalk®, C++, and procedural programming languages ​​such as the “C” programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the last scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or a connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing state information of the computer-readable program instructions to execute the computer-readable program instructions to perform aspects of the invention.

[0066] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0067] These computer readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine such that, when the instructions are executed via the processor of the computer or other programmable data processing apparatus, means are generated for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored constitutes an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0068] Furthermore, computer-readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable apparatus, or other device to perform a series of operational steps, thereby generating a computer-implemented process that, when executed on the computer, other programmable apparatus, or other device, implements the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0069] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or part of instructions that includes one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions described in the blocks may occur out of the order shown. For example, depending on the functionality involved, two blocks shown in succession may in fact be realized as one step, may be executed simultaneously, substantially simultaneously, partially or completely overlapping in time, or the blocks may be executed in reverse order, if necessary. It will also be noted that each block in the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that performs the specified functions or acts or executes a combination of dedicated hardware and computer instructions.

[0070] The description of various embodiments of the present invention is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the present invention. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements to the technology found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

Claims

1. 1. A computer-implemented method for identifying an application topology, comprising: Identifying a sandbox environment corresponding to a target application; analyzing the sandbox environment to identify a set of communication links between services within the sandbox environment that are indicative of a first topology; identifying a production system corresponding to the target application; Querying the production system to identify a set of structural dependencies indicative of a second topology; combining the first topology and the second topology to create a complete topology for the target application; 4. A computer-implemented method comprising:

2. 2. The computer-implemented method of claim 1, wherein creating the complete topology of the target application includes matching the services in the sandbox environment with the services in the production system by matching infrastructure information used by the services in the sandbox environment and the services in the production system.

3. 3. The computer-implemented method of claim 1, wherein creating the complete topology of the target application comprises using service-to-service communication links in the sandbox environment to establish corresponding links between services in the production system.

4. The computer-implemented method of claim 1 , further comprising instrumenting the sandbox environment with one or more observability tools.

5. A computer-implemented method as described in any of claims 1 to 4, wherein analyzing the sandbox environment to identify the set of communication links includes performing a static analysis of code and environment variables present in the sandbox environment.

6. A computer-implemented method as described in any of claims 1 to 5, wherein analyzing the sandbox environment to identify the set of communication links includes analyzing Domain Name Service (DNS) queries corresponding to the sandbox environment.

7. A computer-implemented method as described in any of claims 1 to 6, wherein identifying the set of structural dependencies indicative of the second topology includes matching an ID of a container image supporting the service in the sandbox environment with an ID of a container image supporting the service in the production system.

8. A computer program causing a computer to execute a method according to any one of claims 1 to 7.

9. A computer-readable storage medium having the computer program of claim 8 recorded thereon.

10. 1. A computer system for identifying an application topology, comprising: one or more computer processors; one or more computer readable storage media; program instructions stored on the computer-readable storage medium for execution by at least one of the one or more processors; the program instructions comprising: instructions for identifying a sandbox environment corresponding to a target application; instructions for analyzing the sandbox environment to identify a set of communication links between services in the sandbox environment that are indicative of a first topology; instructions for identifying a production system corresponding to the target application; instructions for querying the production system to identify a set of structural dependencies indicative of a second topology; instructions for combining the first topology and the second topology to create a complete topology for the target application; 1. A computer system comprising:

11. 11. The computer system of claim 10, wherein the instructions for creating the complete topology of the target application include instructions for matching the services in the sandbox environment with the services in the production system by matching infrastructure information used by the services in the sandbox environment and the services in the production system.

12. 12. The computer system of claim 10 or 11, wherein the instructions for creating the complete topology of the target application include instructions for using service-to-service communication links in the sandbox environment to establish corresponding links between services in the production system.

13. 13. The computer system of claim 10, further comprising instructions for instrumenting the sandbox environment with one or more observability tools.

14. A computer system as described in any of claims 10 to 13, wherein the instructions for analyzing the sandbox environment to identify the set of communication links include instructions for performing a static analysis of code and environment variables present in the sandbox environment.

15. A computer system as described in any of claims 10 to 14, wherein the instructions for analyzing the sandbox environment to identify the set of communication links include instructions for analyzing a Domain Name Service (DNS) query corresponding to the sandbox environment.

16. A computer system as described in any of claims 10 to 15, wherein the instructions for identifying the set of structural dependencies indicative of the second topology include instructions for matching an ID of a container image supporting the service in the sandbox environment with an ID of a container image supporting the service in the production system.

Citation Information

Patent Citations

  • System management method, information processor, and program for decentralized network environment

    JP2008211350A

  • Methods, apparatus, and systems for exploring application topology relationships.

    JP2018503275A