Many companies and other organizations operate computer networks that interconnect numerous computing systems to support their operations, such as with the computing systems being co-located (e.g., as part of a local network) or instead located in multiple distinct geographical locations (e.g., connected via one or more private or public intermediate networks). For example, data centers housing significant numbers of interconnected computing systems have become commonplace, such as private data centers that are operated by and on behalf of a single organization, and public data centers that are operated by entities as businesses to provide computing resources to customers. Some public data center operators provide network access, power, and secure installation facilities for hardware owned by various customers, while other public data center operators provide “full service” facilities that also include hardware resources made available for use by their customers.
The advent of virtualization technologies for commodity hardware has provided benefits with respect to managing large-scale computing resources for many customers with diverse needs, allowing various computing resources to be efficiently and securely shared by multiple customers. For example, virtualization technologies may allow a single physical virtualization host to be shared among multiple users by providing each user with one or more virtual machines hosted by the single virtualization host. Each such virtual machine may represent a software simulation acting as a distinct logical computing system that provides users with the illusion that they are the sole operators of a given hardware computing resource, while also providing application isolation and security among the various virtual machines. Furthermore, some virtualization technologies are capable of providing virtual resources that span two or more physical resources, such as a single virtual machine with multiple virtual processors that spans multiple distinct physical computing systems.
In many cases, customers of virtualized computing services may not have much control over the specific virtualization hosts selected for their virtual machines, or over the network paths that may be used for inbound and outbound traffic of their virtual machines. Instead, customers may rely on the provider of the virtualized computing service to select virtualization hosts and network paths that are capable of supporting the desired levels of performance, availability, and the like. From the customers' perspectives, various types of resources allocated for their use may sometimes appear to be “black boxes”, with few tools available for detailed troubleshooting or analysis. As a result, when applications appear to be experiencing performance or functional problems, it may not be straightforward for the customers to quickly determine whether the problems result from infrastructure issues which are out of the customers' direct control, or whether the problems are caused by application bugs or customer-generated configuration errors.
While embodiments are described herein by way of example for several embodiments and illustrative drawings, those skilled in the art will recognize that embodiments are not limited to the embodiments or drawings described. It should be understood, that the drawings and detailed description thereto are not intended to limit embodiments to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description or the claims. As used throughout this application, the word “may” is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). Similarly, the words “include,” “including,” and “includes” mean including, but not limited to. When used in the claims, the term “or” is used as an inclusive or and not as an exclusive or. For example, the phrase “at least one of x, y, or z” means any one of x, y, and z, as well as any combination thereof.
Various embodiments of methods and apparatus for operations performed at a network health management service of a provider network, including techniques for aggregating metrics collected from a variety of sources at different granularities to produce customized and easy-to-understand network health state information relevant to the particular sets of resources allocated to customers, are described. The terms “network health state” or “network health status” may be used herein to indicate information regarding the performance and availability of network pathways between various types of resources, as described below in further detail. Health state information may be provided at various levels of detail in different embodiments, e.g., based on customer preferences. At a high level, an indication of whether a network impairment or failure has been detected with respect to certain sets of resources, and if so the extent to which the impairment may be affecting any given customer or a particular customer may be provided in various embodiments. At a more detailed level, statistics regarding packet loss rates, latencies (including aggregate statistics such as mean latency or 90th percentile latency for various packet sizes, and/or measures of “jitter” or latency variation over time), and the like may be provided, e.g., upon request, to customers in some embodiments.
Networks set up by an entity such as a company or a public sector organization to provide one or more network-accessible services (such as various types of cloud-based computing or storage services) accessible via the Internet and/or other networks to a distributed set of clients may be termed provider networks herein. A provider network may sometimes be referred to as a “public cloud” environment. The resources of a provider network may in some cases be distributed across multiple data centers, which in turn may be distributed among numerous geographical regions (e.g., with each region corresponding to one or more cities, states or countries) and may be organized into availability containers or availability zones for failure resilience purposes as described below in further detail. The underlying metrics to be used for network health state determination may be collected from data sources and/or intermediary tools at various levels of the provider network's resource grouping hierarchy—e.g., metrics may be collected indicative of connectivity or network performance between pairs of data centers, between pairs of availability containers, and so on.
In some provider networks, a multi-tenant virtualized computing service may be supported, as well as one or more multi-tenant storage services, database services, and the like. Using such services, customers may, for example, acquire a set of virtual machines from the virtual computing service, store various data sets at storage devices of selected storage services, and use the virtual machines to run applications that access the data sets. A given resource (e.g., a storage device or a computing device) of a multi-tenant service may at least in principle be utilized for operations performed on behalf of multiple customer accounts. In general, in at least some provider networks, information about infrastructure implementation details (e.g., the locations of various hosts or servers which may be in use for a given client) may not be accessible to customers; instead, customers may rely on the provider network operator to provision the appropriate set of physical and/or virtual resources to meet customer needs. As such, at least some of the underlying infrastructure components of the provider network, which may be involved in providing connectivity between endpoints of interest to customers, may be considered “non-public”, and may not be visible to or accessible to customers. In various embodiments, the network health management service may analyze metrics pertaining to non-public resources or devices (e.g., routers, physical network links, virtualization management software and the like which may not be accessible to customers), as well as from customer-visible data sources (such as processes running at virtual machines allocated to customers), to determine network health states for various endpoint pair categories which may be relevant to a given customer.
The term “endpoint pair”, as used herein, may indicate a pair of resources between which network packets may flow in one or both directions on behalf of one or more customers. For example, one endpoint pair may include, as the first element of the pair, a guest virtual machine established on behalf of a particular customer at a virtualization host of the provider network, and as the second element, a program running at a host located in a customer data center. Instead of (or in addition to) providing network health state information at the level of individual resources, the network health management service may provide summarized information with respect to various categories of endpoint pairs as discussed below in further detail. Thus, in the above example, the network health management service may (at least initially) provide information about the state of the network paths between a group of guest virtual machines established for the customer, and a group of devices located at the customer data center, instead of reporting on the state of the network path between an individual guest virtual machine and an individual customer data center device. Each of the two endpoints represented in an endpoint pair category may thus represent a respective resource set (one resource set comprising the group of virtual machines in the above example, and the other resource set comprising the group of devices located at the customer data center). The path between the endpoints of an endpoint pair category may comprise a virtual representation of one or more physical network links and/or associated network devices over which traffic flows between the corresponding resource sets in various embodiments. As such, the numerous devices and links of a potentially complex physical network being used on behalf of a customer may be virtualized into one or more endpoint pair categories for which easy-to-understand health state information can be provided. In some embodiments, detailed network health state information with respect to specific endpoints or resources may also be provided. In some embodiments, customers may be able to specify or select the particular endpoint pair categories for which network health state information is desired, and/or the particular endpoints for which network health state information is desired.
In general, the network health management service may be designed to provide relevant and reliable health state information efficiently to customers of various provider network services. “False positive” reports of network impairment (i.e., reports of problems which either do not exist, or may exist but do not affect a particular customer to whom a report of a problem is provided), which may tend to alarm customers unnecessarily, may be avoided as much as possible in various embodiments. Generally speaking, false positive reports may have several different root causes, including for example potentially unreliable metrics or data sources, the inability to determine whether a given network failure is actually going to impact a given customer, and so on; each of these types of causes may be addressed by the network health management service as described below in further detail. For example, prior to providing a potentially inaccurate report regarding a network impairment event, evidence of the event from multiple independent sources may be obtained in some embodiments. By providing timely and accurate network health state information, the network health management service may make it easier for customers to quickly determine whether unexpected application behavior is more likely to have been caused by an infrastructure issue or by problems in the application itself, thereby potentially reducing debugging costs. In effect, the service may consume large volumes of network related metrics from a variety of sources, and translate the metrics into health state information which is potentially much more useful to customers than the raw metrics may have been. In various embodiments, some of the raw metrics may not even be meaningful to customers, as they may refer to internal resources and devices of which customers are unaware. A number of easy-to-use programmatic interfaces for obtaining the network health state information at desired levels of granularity and desired reporting frequencies may be supported in different embodiments as described below. The network health management service (which may also be referred to as a network health manager herein) may in some embodiments be implemented as an independent service with its own sets of programmatic interfaces; in other embodiments, the network health management service may be subsumed within one of the other services of the provider network, such as a virtualized computing service. The network health management service may in general comprise or utilize a plurality of hardware and/or software components distributed within the provider network (and in some cases, outside the provider network, such as connectivity verification agents installed at customer data centers, which are described below).
According to one embodiment, the network health manager may be configured to identify one or more endpoint pair categories corresponding to resources associated with a customer of a virtualized computing service. The endpoint pair categories may be identified, for example, based on interactions with control plane or administrative components of the virtualized computing service at which resource allocation inventories may be maintained. Depending on the needs of an individual customer, one or more isolated virtual networks may be established for the customer as discussed below, and an endpoint pair category may comprise a virtual machine within one of the isolated virtual networks in some embodiments.
Various sets of network metrics which may provide insight into the health of endpoint pair categories relevant to the customer may be obtained in different embodiments. For example, a first set of network metrics may be obtained from a connectivity verifier tool, while a second set of network metrics may be obtained from an infrastructure monitoring tool or service. The connectivity verifier may comprise a fleet of agents or nodes which are configured to periodically communicate with one another and/or with endpoints outside the provider network in some embodiments, including at least one agent instantiated at a virtual machine established at the virtualized computing service. The agents may run as user-mode or application-layer processes in some embodiments, and as kernel-mode processes (or some combination of user-mode and kernel-mode components) in other embodiments. The infrastructure monitoring tool may collect metrics from at least some non-public resources or devices, such as routers, physical network links, and the like, which are not accessible to customers directly.
In some embodiments, respective weights may be assigned to the network metrics sets (or, more broadly, to the tools from which the metric sets are obtained), indicative for example of the relative priority or trustworthiness of the metrics sets with regard to potential identification of network impairments. For example, a knowledge base accessible to the network health manager may include entries indicating the reliability of various tools in different locations of the provider networks, the number of times false positive reports of network impairment have been produced using data from individual tools or underlying data sources, and so on. The factors taken into account when assigning weights may include, for example, the physical locations from which the metrics are collected, the logical location in the software/hardware stack from which the metrics are collected, how recently the metrics were collected (their collection times), and so on in various embodiments.
The network health manager may utilize the metrics sets and their respective weights to determine respective network health state of different endpoint pair categories, and provide an indication of the state to one or more destinations associated with the customer. For example, in one embodiment, a request may be received for network health state information via a programmatic interface such as an API (application programming interface) exposed by the network health management service, and the requested information may be provided in a response to an API invocation. In another embodiment, a data set which can be used to display a graphical representation or layout of resources used by the client as well as the corresponding network health state information may be transmitted to a client-side device for presentation.
In one embodiment, at least one metrics set collected by the network health manager may indicate a possible network impairment event, such as a failure of a router, gateway, or a physical network link. In an attempt to reduce false positive reports of such impairments, the network health manager may try to verify, using different metric sets obtained from another source, whether the impairment has actually occurred. A verification algorithm that may rely on factors such as the number of independent sources which appear to confirm the impairment, the number of successive metrics sets which indicate impairment, the relative weights assigned to the metrics sets or their sources, and so on, may be used before the impairment is reported to a customer. In at least one embodiments, fine-grained information about network packet flows, obtained for example at an encapsulation protocol processing component of the provider network, may be used to filter reports of network impairment to only those customers whose applications are expected to be affected by the impairments, as discussed below in further detail. In one such embodiment, respective probabilities of impact of a network impairment event on a given customer's application(s) may be assigned, e.g., based on an analysis of network configuration of resources allocated to the customer and/or on the particular services being used by the customer, and a report of the impairment event may be provided to a customer if the probability of impact exceeds a threshold.
Each service may comprise a set of administrative or control-plane components, not shown in
The GVMs allocated to a given customer may be used to run various applications of the customer's choice in the depicted embodiment, and those applications may communicate with and/or utilize resources implemented using other services of the provider network 102, including for example the storage service and the database service. The dotted lines with double arrows indicate network packet pathways which may be used on behalf of service customers. For example, network packets may flow between GVM 132B and CDA 152A, between GVM 132C and CSA 142A, and between GVM 132B and external endpoints 170 (such as devices of the public Internet and/or devices located at customer premises such as offices or customer-managed data centers). GVM 132B and CDA 152A may be considered one endpoint pair whose network health state may be of interest to customer C1, GVM 132C and CSA 142A may be considered another endpoint pair, while GVM 132B and external endpoints 170 may be considered a third endpoint pair. More broadly, endpoint pair categories of interest may include {GVMs of VCS 130, CSAs of SS 140}, {GVMs of VCS 130, CDAs of DS 150} and {GVMs of VCS 130, external endpoints 170}. It is noted that at least in some embodiments in which one or more of the other services used by GVMs of VCS 130 (such as SS 140) allow access from the public Internet, special endpoints called virtual private endpoints may be established within the VCS to enable service requests to flow from the VCS to the other services (and responses to the service requests to be received) without requiring the use of a public IP address or the use of public Internet links.
In the depicted embodiment, a network health management service (NHMS) 110 comprising a plurality of nodes may be established at the provider network to provide network health state information regarding various endpoint pair categories (and/or specific endpoint pairs) to clients such as 120A or 120B via a variety of programmatic interfaces 119. The programmatic interfaces 119 may comprise, for example, a set of APIs for sending health state requests and receiving corresponding responses (e.g., requests/responses 166), one or more web-based consoles, one or more command-line tools, and/or graphical user interfaces (GUIs) which are not necessarily web-based. The NHMS 110 may include a plurality of aggregation and analysis nodes (AANs) 112, such as AANs 112A and 112B, each of which may be implemented using one or more computing devices in the depicted embodiment. In addition, metadata 113 used for aggregating and presenting health state information may be maintained at the NHMS 110, such as knowledge base entries which can be used to assign trust scores or weights to various metrics, client preferences, and so on.
The AANs 112 may be configured to identify the particular endpoint pair categories which correspond to a given customer's resource set in the depicted embodiment, e.g., by querying one or more control-plane metadata stores associated with various services including the VCS 130, the SS 140 and/or the DS 150. The AANs 112 may collect a variety of network metrics sets from various parts of the provider network 102 in order to provide relevant and reliable network health state information to clients 120. A number of metrics collectors (MCs) may be used, such as MCs 134 associated with VCS 130, MCs 144 associated with storage service 140, MCs 154 associated with database service 150, and one or more MCs 164 which are not specifically tied to any particular service of the provider network. In different embodiments, some MCs may comprise pre-existing tools that already collect various types of metrics, while other MCs may represent agents (e.g., processes or threads of execution, or hardware devices) set up on behalf of the NHMS itself. Some MCs may collect network metrics, such as request/response message success rates, from entities visible to customers, while other MCS may collect metrics from private resources such as resources 136, 146, 156 or 158. In general, as indicated by the non-dashed arrows in
In some embodiments, respective sets of AANs 112 and MCs may be set up corresponding to various hierarchical and/or location-based groupings of service resources. For example, as discussed below, in some embodiments, respective AANs and/or MCs may be set up in each room of each data center of the provider network at which resources used for a given service are located. Generally speaking, the NHMS 110 may be designed to be able to detect network problems or impairments at various granularity levels by combining information obtained from a wide range of data sources, so that the appropriate network health state information can be provided quickly to clients 120.
The AANs may assign respective weights or trust scores to individual MCs and/or to individual metrics sets in the depicted embodiment, e.g., based on a variety of factors such as the history of false positive reports of network impairments, the level of the data sources within the software/hardware stacks, the locations of the data sources, etc. Using the weights and the collected metrics, respective descriptors or records indicative of the current (and/or past) network health state of different endpoint pair categories may be generated. In some embodiments, respective probabilities of a given network impairment's impact on a given customer's applications may be estimated, and the indication of the impairment may be provided if the probability exceeds a threshold. In various embodiments, confirmations of the evidence which indicates a potential network problem may be obtained from multiple sources, before presenting an indication of the problem to a client 120. The health state information pertaining to a given customer may be provided via the appropriate sets of programmatic interfaces 119 to one or more destinations in the depicted embodiment. In some embodiments, at least some of the network health state information may be stored in a repository, e.g., for trend analysis, at least temporarily.
Network metrics may also be collected at the NHMS directly from at least some of the underlying data sources in various embodiments, as in the case of data source 210K. It is noted that from the perspective of the NHMS nodes 230, the intermediary tools 220 may be considered data sources, even though the data being provided by the intermediary tools may in turn have been obtained from other resources. The intermediary tools 220 may each provide data in different formats, and the NHMS nodes may be responsible for parsing the diverse data records provided, normalizing them into a standard format, disambiguating among the resources to which the metrics from different tools apply, mapping the metrics to different endpoint pair categories, and so on. Service use metadata 270 may indicate the particular provider network services and features which are being used by a given customer in the depicted embodiment, as well as the specific resources of each service which are allocated to the customer. The service use metadata 270 may be helpful in identifying the particular endpoint categories for which network health state information 260 should be provided to a given client 240. The network health state information 260 may be described as curated in the depicted embodiment in that, for example, customized summaries of relevant information pertinent to individual client accounts may be provided (rather than a generic representation of network health state information applicable to an entire service or provider network). In some cases, for example, even if two customers have resources located in the same room of a particular data center, different health state information may be provided to the two customers based on the specific services being used and/or the differences in the networking configurations of the resources.
The client account resource set detector 304 may determine, e.g., via communications with respective control plane (i.e., administrative) components 352 of one or more services of the provider network, the collection of provider network services that are being used by (or have been allocated to) a customer associated with a given client account, and/or the specific resources of various services that are being used. As mentioned above, networking-related metrics may be collected at an NHMS node 302 from a variety of data sources. The metrics records obtained may be formatted differently by the various intermediary tools and/or data sources, and parser(s) 306 may extract the relevant information from the metrics records. In at least some cases, metrics pertaining to the same underlying network flow may be received from more than one data source. For example, two application-layer processes at respective hosts may provide respective packet loss rates with respect to network traffic between the hosts, while an intermediary network device such as a router or switch may also provide information about the packets transferred between the hosts. The data source disambiguator 308 may be responsible for identifying, using any of various correlation-based techniques, the specific underlying resources to which one or more metrics sets correspond in the depicted embodiment. In some embodiments, various tools or data sources may express measurements of the same underlying phenomena in different units, and such measurements may be normalized to a common unit, e.g., by disambiguator 308 or by parsers 306.
Respective weights or trust scores may be assigned to metrics sets or data sources which provide the metrics sets in the depicted embodiment. A number of different factors may be taken into account by weight assigner 312. For example, a knowledge base 354 may contain records 377 indicative of the history of false positive reports regarding network impairments and the data sources or tools whose output was utilized for such reports. In addition, in some embodiments knowledge base 354 may include data source location records 378 indicating the specific layers of the software/hardware/firmware stack from which networking-related metrics are collected at various data sources, the physical or geographical locations of various data sources, and so on. In some embodiments, the weight assigner 312 may also consider timing and repetition-related factors 379—for example, if three consecutive metrics sets obtained from a given data source or intermediary tool indicate that a network impairment event may have occurred, the weight assigned to that data source or tool may be higher than if only two out of the last five metrics sets obtained indicated the network impairment. How recently a given metrics set was received may also play a role—e.g., if the collection time of one metrics set MS1 was ten minutes in the past, while the collection time of a different metrics set MS2 was one minute in the part, MS1 may have a lower trust score or weight assigned than MS2 (other factors being equal). In one implementation, the time that has elapsed since a metric set was collected may be used as a decay term (e.g., a linear or exponential decay) in a function used to assign weights or trust scores.
State aggregator and verifier 314 may be responsible for combining the information contained in the metrics collected, together with the weights assigned to the metrics, and generating network health state summaries and/or details for various endpoint pair categories (and/or pairs of specific endpoints). In various embodiments, the aggregated information may be stored in the form of health state descriptors or records of the kind described below in the context of
The presentation manager 318 may be responsible for formatting network health state information appropriately for transmission to various destinations. For example, the network health state for a set of endpoint pairs may be presented in human-readable format for one set of destinations (such as email addresses of interested parties) and in machine-readable format for another set of destinations (such as alert generator programs and the like). In at least one embodiment, data sets that can be used to generate graphical representations of a customer's resources and the corresponding health state information may be produced by presentation manager 318 and transmitted to one or more client display devices. Depending on preferences indicated by customers and/or summarization decisions made at the NHMS, only a subset of the total network health information aggregated at node 302 (and recorded in network health state descriptors) may be transmitted at a given time or in a given message/report in some embodiments. It is noted that some of the components shown in
Client identifier 403 may indicate, for example, a client account of the provider network on whose behalf the network state information stored in the remainder of the descriptor 402 is being generated. As mentioned earlier, in various embodiments the set of endpoint pair categories with respect to which network health state information is to be provided for a given customer may be determined at the NHMS. Examples of several endpoint pair categories are discussed in further detail below in the context of
The timestamp or time period element 406 may indicate the time at which (or the time period during which) the metrics used to generate the health state information were collected in the depicted embodiment. The impairment-related summary state 408 may provide a high-level overview of packet flow conditions via network pathways between the endpoint pairs represented by category 404. The summary state for a given endpoint pair category may be selected from a (typically small) set of options in various embodiments, e.g., in which an individual option may represent a corresponding degree of impairment of network traffic associated with the endpoint pair category. In one embodiment, a color-coded scheme may be used (e.g., at a client-side display device at which a data set derived from descriptor 402 may be displayed) to indicate the severity of an impairment, in which the color green or the word green indicates unimpaired connectivity (packets are flowing without significant errors or delays), the color or word yellow indicates partial impairment of connectivity (some packets may be dropped/delayed between some endpoints), while the color or word red indicates severe impairment of connectivity (most packets may be delayed or dropped). Other symbols or encodings of the high-level impairment-related summary state 408 may be used in other embodiments. For example, numeric codes may be used in some embodiments: e.g., “0” for no impairment, “1” for partial impairment, and “2” for severe/extensive impairment, or a “percent impaired” scheme may be used, in which the probability of encountering a problem due to an impairment is provided (e.g., based on an approximate fraction of resources of a particular type which are impacted by a failure event). In various embodiments the network health management service may define a default set of impairment-related summary states for various types of endpoints and resources, e.g., based on respective ranges of metrics. In at least one embodiment, as discussed below in the context of
A number of lower-level statistics may be used to derive the summary state in different embodiments, and at least some of the lower-level statistics may be stored in the descriptor 402 in the depicted embodiment. Request/response success rate statistics 410 may be generated, for example, by a connectivity verifier tool which causes request messages from selected agents to be sent to selected endpoints and tracks how many responses to the request messages are received within a threshold interval. Latency statistics 412 may record the time taken for messages to be transmitted from one device to another. Different kinds of latency statistics 412 may be collected and/or provided to clients of the network health management service, in different embodiments. For example, aggregate statistics such as mean latency for different packet sizes may be collected in one implementation, while jitter statistics indicating variations in latencies over time may also or instead be collected in another embodiment. Packet loss rate statistics 414 may indicate the fraction of packets that were lost or dropped during a given period of network traffic between two endpoints. Individual ones of the statistics 410, 412 and 414 may be computed or aggregated using metrics collected from various data sources in the depicted embodiment. In some embodiments, information 416 regarding recent trends in some or all of the other statistics may be stored in a descriptor 402. In at least one embodiment, an indication of the particular tools or data sources from whose output the statistics and/or summary were derived may also be stored in a descriptor 402, e.g., using ID element 418. It is noted that only a subset of the information indicated in the descriptor 402 may be provided to clients of the network health management service in various embodiments—e.g., in one embodiment, at least initially, only the summary information may be provided to clients via a programmatic interface. Some programmatic interfaces may enable clients to obtain more details, such as the statistics 410, 412 or 414, and/or the trend information 416. In at least one embodiment, descriptors 402 may not necessarily be stored in persistent storage. A given descriptor 402 may simply represent the intermediate results of processing some set of network health-related metrics on behalf of a customer, prior to reporting health state information derived from the metrics to the customer.
A given customer of a provider network may be associated with several client accounts in some embodiments—e.g., different accounts may have been set up for different departments of an organization, or for different collaborating business entities. The set of client accounts for which network health state information is desired may be indicated in client ID field 504. In some embodiments, customers with a large number of resources may only wish to see health state information pertaining to a subset of the resources and/or services which they are utilizing; these resources and/or services may be indicated in element 506 of the request 502.
In one embodiment, instead of or in addition to indicating the services and/or resources for which network health state information is to be provided, a client may specify one or more endpoint pair categories 508. In some embodiments, a catalog of endpoint pair categories for which health state information is available may be made available to customers via a programmatic interface, and categories 508 may be selected from such a catalog. In one embodiment, customers may define customized endpoint pair categories, e.g., using labels of the kind discussed below in the context of
In at least some embodiments, clients may optionally indicate definitions 512 for a number of health states which the network health management service is to report with respect to the client's resources. For example, some clients may define a “severely impaired” state if there is a 10% probability of packets between a pair of endpoints being dropped, while other clients may define a “severely impaired” state if the average latency of messages between a pair of endpoints exceeds T milliseconds, or if the jitter or variance of latencies exceeds a threshold. In some cases, health states may be defined using multiple types of metrics. For example, a given state may be defined as a Boolean combination of a latency condition Cond1 and a packet drop rate condition Cond2. In one such scenario, an unimpaired health state may be defined by the logical equivalent of the Boolean combination “90th percentile latency for P-byte packets is less than T1 milliseconds” AND “packet drop rate in the last M minutes is no greater than D percent”. The number of states defined by one client may differ from the number defined by another client. In some embodiments, different state definitions may be indicated for respective categories of resources or endpoints. Furthermore, in addition to the overall impairment-related state (e.g., “unimpaired”, “severely impaired” etc.), in at least one embodiment clients may wish to obtain the underlying metrics which led to the determination of the overall state The kinds of metrics which are to be included in the response to request 502 may also be indicated in the request in some embodiments (e.g., as part of the state definitions element or in a separate element). Some clients may indicate that impairment-related summary state information of the kind discussed in the context of element 408 of
The reporting threshold 514 may be used to indicate the conditions under which a client is to be provided health state information. For example, some clients may prefer not to be provided health state information unless there is a 10% probability of a network impairment event which is likely to impact the client's applications. Other clients may wish to receive health state information regardless of whether an impairment event has been detected or not, or only when the state of a given resource or endpoint pair changes. Any combination of a number of reporting or notification mechanisms 516 may be indicated by a client in request 502 in various embodiments. For example, some clients may indicate e-mail addresses, text message addresses or the like, while other clients may wish to receive health state information on a dashboard or graphical display. In some embodiments, a notification service of the provider network may be selectable as a notification mechanism, or a client may simply want information to be provided via an application programming interface. Some clients may wish to use a “pull” model for obtaining network health state, in which the information is provided only when requested, while others may prefer a “push” approach, in which the network health management service proactively sends health state information periodically or under specified conditions to one or more destinations. A subscription model may be supported in at least some embodiments, in which in response to a single subscription request, multiple health state messages may be transmitted to one or more subscribers using a specified notification mechanism, which each message indicating the health state of one or more endpoint pair categories during respective time intervals. Reporting format 518 may indicate the encoding or data structure to be used to report the health state in the depicted embodiment—e.g., whether JSON (JavaScript Object Notation), XML (Extended Markup Language), or plain text is to be used, or whether a hash map or other data structure is to be used. Retention preferences 520 may indicate a time period (e.g., a week or a month) for which the network health state data is to be retained at the network health management service in some embodiments, e.g., so that queries regarding past health states can be supported. In at least some embodiments, a time series format for reporting health state information may also be supported. A sequence of network health state data records may be provided for an endpoint pair category or for a specific resource in such embodiments, with each record corresponding to a respective point in time within a time interval indicated by the client or selected by the service (e.g., one record may be provided for each minute of the previous ten minutes). Each network health state data record of a time series may represent a summary health state as of the corresponding point in time, or a particular metric collected at the corresponding point in time. In some embodiments, clients may request that information about various kinds of changes to health states of one or more endpoint pair categories over time be provided. For example, instead of providing a static health state information report corresponding to a particular time, or a time series whose intra-record intervals are explicitly specified by the customer, the NHMS may provide an indication of changes to the degree of impairment of an endpoint pair category over several seconds or minutes. For example, the NHMS may report that an endpoint pair was 70% impaired at time T1, 50% impaired at time (T1+delta1) as repairs were performed, 20% impaired at time (T1+delta1+delta2), etc. Retention preferences 520 may be set in some embodiments based at least in part on the desired time series durations and/or the time periods over which changing health state information is to be reported.
In some embodiments, one or more APIs may be implemented by the network health management service to enable health state requests to be sent to the network health management service and to receive the corresponding responses. For example, an API such as getHealthState(myAccountID, resourceDescriptor, serviceDescriptor, endpointPairDescriptor, timingPreferences, healthStateDefinitions, reportingThreshold, reportingMechanism, format, retentionPeriod) may be used in one embodiment, with the parameters respectively representing the various elements of request 502 shown in
The administrative virtual machine 655, the hypervisor 620, and the virtualization management offload cards 610 may collectively be referred to as virtualization management components (VMCs). The VMCs may act as intermediaries between the GVMs 650 and the (remaining) hardware components of the virtualization host, in effect presenting an abstracted or virtualized view of the hardware to each GVM. As discussed below in further detail, an encapsulation protocol may be implemented at the VCS, which enables GVMs 650 to communicate with each other (and with other endpoints) using network addresses which are not tied to the NICs 611 at the virtualization hosts.
Each GVM 650 (as well as the administrative VM 655) may comprise one or more applications, such as customer applications 654A and 654B of GVMs 650A and 650B respectively and administrative applications 657 of VM 655, at least some of which may be communicating with applications at other GVMs, VCS hosts, endpoints of other services of the provider network, or endpoints outside the provider network. In addition, each virtual machine may comprise a respective operating system 652 (such as 652A-652C) and may store respective networking-related configuration settings 653 (e.g., 653A-653C).
The NICs 611 of the virtualization host 602 may be connected via physical links 661A to switches 628, which may in turn be connected via additional physical links 661B and 661C to routers/gateways 629 and/or other network devices 631. At least in principle, connectivity disruptions, traffic flow slowdowns, packet drops and other network impairments may occur as a result of underlying problems at any combination of the hardware and software components shown in
The complexity of determining the network health state of a customer's resources may be further complicated by the fact that the resources may be spread across widely distributed locations, potentially with some locations more thoroughly instrumented for network measurements than others.
In the depicted embodiment, the VCS resources may also be logically divided among availability containers (ACs) 714, such as ACs 714A and 714B of region 712A, and ACs 714C and 714D of region 712B. Availability containers may also be called availability zones in some environments. A given availability container may comprise portions or all of one or more distinct locations or data centers, engineered in such a way (e.g., with independent infrastructure components such as power-related equipment, cooling equipment, or physical security components) that the resources in a given availability container are insulated from failures in other availability containers. In the examples shown in
Each data center 712 may in turn comprise one or more rooms, such as room 722A of data center 712B. A given room may in turn comprise a plurality of racks, such as rack 724A, within which a number of virtualization hosts (such as virtualization host 726A of rack 724A) are located, and each virtualization host may comprise zero or more GVMs (such as GVM 728A of host 726A). Networking failures or other impairments may occur at any of the various levels of the hierarchy shown in
Depending on their application and security needs, customers of virtualized computing service may require varying levels of network isolation.
Generally speaking, an IVN 804 may comprise one or more guest virtual machines and/or other devices (such as storage devices managed by a storage service, or networking devices such as virtual or physical gateways) and resources of a provider network. The customer for whom the IVN is established may be granted substantial networking configuration flexibility for the IVN. For example, customers may choose a range of private IP addresses from which particular addresses are to be assigned to various guest virtual machines, set up subnets, establish security rules for incoming and outgoing traffic, create routing table entries, and so on, in a manner very similar to the way that network configuration settings could be selected at a customer-owned facility. The private IP addresses assigned within a given IVN 804 may not be accessible (at least by default) outside that IVN; as a result, the client may choose arbitrary IP addresses for the GVMs without having to be concerned about the possibility of duplicating addresses already assigned outside the IVN. In general, IVN capability may enable VCS clients to set up networking configurations as though they were using client-owned resources, while benefiting from the scaling, availability and pricing-related advantages made possible by the provider network. IVNs may also be referred to as “virtual private clouds” in some provider network environments.
In some embodiments, each of the GVMs allocated to a customer may belong to an IVN; in other embodiments, at least some GVMs which are not configured as part of an IVN may be assigned to a customer. Different IVNs may be used for respective groups of related applications, and security settings may be configured independently for each IVN in some embodiments. By default, at least some of the resources (such as GVMs) within a given IVN may not be accessible to resources outside the IVN. In some embodiments, connectivity between the resources of an IVN, and resources outside the IVN, may be enabled using virtual and/or physical gateways. Some IVNs may be configured to enable secure communications between the GVMs of the IVNs and networks outside the provider network, e.g., customer networks established at customer-owned data centers. In at least some embodiments, IVNs may represent an important resource grouping abstraction from a customer perspective. As such, at least some customers may wish to obtain network health state information at the IVN level in such embodiments.
As mentioned earlier, in at least some embodiments, network health state information may be generated with respect to a number of endpoint pair categories.
Endpoint pair category 920A corresponds to resource sets located in different regions—e.g., one resource 912A in region R1, and another resource 912B in region R2. Category 920B comprises endpoints located in different availability containers—e.g., one resource 914A in availability container AC1, and a second resource 914B in a different availability container AC2. Category 920C comprises endpoints located in different isolated virtual networks, such as a guest virtual machine GVM1 in isolated virtual network IVN1, and a second GVM, GVM2, in IVN2.
In category 920D, one of the endpoints is a public Internet resource 918B (e.g., a web site of the public Internet), while the other endpoint is a GVM (GVM1) within an IVN (IVN1) of the VCS. In category 920E, one of the endpoints 930B corresponds to a resource which is part of a customer-premise network, while the second endpoint is a resource (GVM1) within an IVN (IVN1) of the VCS. Endpoint pair category 920E represents cross-service network traffic, e.g., between resource 932A of one provider network service (such as the VCS) and resource 932B of another provider network service (such as a storage service or a database service). As mentioned earlier, in some embodiments one or more of the other services accessed by GVMs of the VCS 130 may allow clients to submit requests from the public Internet. In some such embodiments, special endpoints (called virtual private endpoints) may be established within the VCS which enable service requests to flow from the VCS to the other services (and responses to the service requests to be received) using provider network resources, without requiring packets representing the requests/responses to traverse the public Internet. An endpoint pair category for cross-service traffic (analogous to category 920E) may include a virtual private endpoint for one of the services as one of the endpoints of the pair in some embodiments.
In at least one embodiment, customers of the provider network may define custom endpoint pair categories. For example, a set of APIs or other programmatic interfaces may be provided to allow a customer to label selected sets of resources with respective labels, and then to define an endpoint pair category which comprises one resource with one label, and another resource with a different label. Consider one example scenario in which a customer C1 has two applications, App1 (which runs on a first set of VCS resources) and App2 (which runs on a different group of VCS resources). Using programmatic interfaces provided by the VCS or the network health management service, customer C1 may label the resources being used for App1 as “App1-group” resources, and the resources being used for App2 as “App2-group” resources. A custom endpoint pair category such as 920G may then be created, corresponding to network communications between resources of App1-group and App2-group. Other custom endpoint pair categories may represent intra-group traffic—e.g., App1-group resources communicating with other App1-group resources, or App2-group resources communicating with App2-group resources. Network health state information for the custom endpoint pair categories may be provided to customer C1, e.g., either upon request or by default by the network health management service. Some customers may wish to obtain network health state information pertaining to a combination of custom endpoints and service-defined endpoints. The paths 922 (e.g., paths 922A-922G) between the endpoints of various endpoint pair categories may present a concise virtualized view of the various hardware components (e.g., physical network links, networking devices such as routers and the like) and associated software/firmware used for the traffic between the resources corresponding to the endpoints of the category. In effect, a virtualized view of the set of networking components being used on behalf of a customer may be provided using endpoint pair categories in various embodiments. Endpoint pair categories other than (or in addition to) those shown in
In various embodiments, the network health management service may be responsible for (a) identifying the endpoint pair categories for which network health state information is to be provided to a given client or customer and (b) using the network metrics obtained from various data sources and/or intermediate tools to generate network health state information for the identified endpoint pair categories. In some embodiments, as mentioned earlier, control plane components of various services of the provider network may be able to indicate the kinds of resources allocated to a given customer, from which the endpoint pair categories likely to be most useful to the customer may be derived. In at least one embodiment, clients may specify the particular endpoint pair categories for which health state information is desired, or clients may create new endpoint pair categories similar to category 920G of
A variety of programmatic interfaces may be used to provide network health state information at customizable granularity in various embodiments, including for example web-based consoles, APIs, command line tools and graphical user interfaces. FIG. 10 illustrates an example graphical interface which may be used to provide high-level network health state information to a client of a virtualized computing service, according to at least some embodiments. As shown, the interface may comprise a web-based health console 1002. The console 1002 may include a message area 1003 providing an overview of the contents of the console, and a summarized representation 1010 of the portion of the network for which health state information is being displayed. Groups of resources corresponding to the endpoints of different endpoint pair categories may be represented in summary form using individual icons, and the physical networking links/devices between the groups of resources may be represented by virtual paths between the endpoints of the categories. In at least one embodiment, as soon as the network health management service detects that an entity associated with a client account has successfully logged in to a management console associated with the virtualized computing service (or some other service of the provider network), health state information similar to that shown in
In the depicted example scenario, the console shows health state information for several endpoint pair categories, with at least one endpoint of each pair being a GVM within an isolated virtual network IVN-K. The endpoint pair categories are labeled 1051-1060 in
One endpoint of endpoint pair category (EPC) 1053 represents GVMs of IVN-K in availability container 1011A, while the other endpoint represents GVMs of IVN-K in availability container 1011B. EPCs 1051 and 1052 represent communications between the GVMs in availability containers 1011 and the external Internet. EPC 1057 represents network traffic among the GVMs of IVN-K within availability container 1011A, while EPC 1158 represents network traffic among the GVMs of IVN-K within availability container 1011B.
In the depicted example, EPC 1054 represents traffic between the GVMs in AC 1001A and a customer-owned data center DC1, while EPC 1055 represents traffic between the GVMs in AC 1011B and a different customer-owned data center DC2, EPC 1056 represents traffic between IVN-K and another isolated virtual network IVN-L. EPC 1059 represents traffic between the GVMs of AC 1011A and a storage service SS1. EPC 1060 represents traffic between the GVMs of AC 1011B and a database service DS1.
Among the various endpoint pair categories for which health state is displayed in
The kind of graphical display illustrated in
In at least some embodiments, customers may provide feedback regarding the network health state information displayed via the console 1002 (or, more generally, the health state information provided via any of the supported interfaces). Such feedback may include, for example, confirmations indicating that the customer is experiencing application behavior which matches the indicated health state information for an endpoint pair category or a particular resource, or contradictions of the health state indications provided by the network health management service. In the embodiment depicted in
Contents of such feedback messages may be used in a variety of ways in different embodiments at the network health management service. For example, in one embodiment the feedback obtained from customers may be treated as another set of metrics, which can then be aggregated together with metrics from other sources to update network health state information for various EPCs or resources. Consider a scenario in which the NHMS concludes (and indicates to numerous customers) that traffic between a particular availability container AC1 and the public Internet is flowing in an unimpaired manner. If feedback from a large number of customers who are using AC1 contradicts that conclusion, the aggregated customer feedback may potentially be used to trigger more extensive verification of the state of traffic flow between AC1 and the Internet, and/or to conclude that the state may actually be partially or extensively impaired.
Another way in which feedback message contents may be used by the NHMS in one embodiment is to trigger various types of events or operations at a customer support organization of the provider network. For example, consider a scenario in which, at some time T1, the NHMS concludes that an impairment event has occurred which is disrupting traffic between sets of endpoints {E1} and {E2}. The NHMS may notify customers that are expected to be affected by the event, e.g., using interfaces similar to console 1002, APIs, etc. Operations to debug and/or repair the impairment may be initiated at the provider network. Later, at some time (T1+delta1), based on various metrics and/or on input from the repairing organization or entities, the NHMS may conclude that the impairment has been fixed, and indicate the completion of repair and the resumption of unimpaired status to various customers. If a particular customer receives an indication that the health state of a particular EPC is supposed to be unimpaired, but continues to experience application networking problems associated with that EPC, a feedback message may be transmitted to the NHMS indicating that the customer's applications continue to be affected negatively. In such a scenario, the NHMS may use the contents of the contradicting feedback message to, for example, open or escalate a support request, or cause a member of the support staff of the provider network to contact the customer from whom the feedback was received. This course of action may be especially appropriate if, out of a large number of customers whose applications were experiencing a negative impact of the impairment event, most customers report that they are no longer experiencing the problem, but a particular customer C1 continues to experience the problem. In such a situation, something specific to C1's resources or applications may be causing the problem, and as a result a support action for C1 may be initiated.
As mentioned above, a refresh control 1007 may be used to update the information being displayed in some embodiments. In other embodiments, instead of or in addition to providing snapshots of health state information, each of which separately indicates network health at a given point in time, more dynamic views of health information may be provided. In one such embodiment, a time series of network health information may be represented graphically, with individual network health state records of a given time series representing the state of one or more resources at discrete points of time over a selected time interval. In some embodiments, changes to health state (if and when such changes occur) may be represented in the graphical view. For example, in one scenario the health state of a given endpoint pair category may be represented by a visual “percent unimpaired” indicator. If the endpoint pair category is extensively unimpaired as a result of some failure, the percent unimpaired value may fall to zero or some small integer. As repairs are performed, the percent unimpaired value may rise, eventually reaching 100%. This change in the degree of impairment may be shown in some embodiments using a graph in which the X-axis represents time and the Y-axis corresponds to the “percent unimpaired” metric. Having such dynamic and automatically updated views of health state may be especially valuable to customers whose applications have been affected by a failure.
In at least one embodiment, hints regarding the layout of the health state information in the graphical view may be provided. For example, information about a logical or physical relationship between a particular endpoint and another endpoint, or between a particular endpoint category and another endpoint category, which can be used to place the graphical representations of those entities relative to one another may be obtained (e.g., from a source such as a control plane component of a virtualized computing service). In one scenario, containment relationships between regions and availability containers may be provided to the device at which the health state information is going to be displayed, together with a directive that region-level information should generally be displayed above availability container level information. Such relationship information and accompanying directives may result in a consistent look-and-feel for the graphical representations of network health state information—for example, inter-region information may consistently be shown above intra-region information, regardless of the display device or the particular customer to whom the information is displayed. The relationship information may be included in the data sets generated by the network health management service for the graphical displays in some embodiments, or may be obtained separately in other embodiments.
In some cases, customers may wish to drill down to a finer granularity of detail than the summarized level shown in
In the zoomed-in network image 1110, the focus is on individual endpoints rather than on endpoint pair categories. Four GVMs are shown: GVM 1110A, 1110B and 1110C in isolated virtual network IVN-K, and GVM 1110D in isolated virtual network IVN-L. In at least some embodiments, network health state information at the individual resource level may only be shown with regard to pathways over which attempts to transmit network packets have actually occurred, e.g., within a selected time window. Thus, for example, in the scenario depicted in
In the example scenario shown, the respective states of network traffic flow between GVM 1110A and five other endpoints are shown: storage object S01 (which may be managed at a storage service of the provider network), GVM 1110B, GVM 1110C, and public Internet endpoints “a.b.c.d” (expressed, for example as Internet Protocol version 4 addresses) and “e.f.g.h”. As indicated by the respective symbols (selected from the symbol set shown in legend 1106), the health state of most of the traffic flows associated with GVM 1110A is unimpaired. The exception is the flow of traffic between S01 and GVM 1110A, which is shown as being severely impaired.
Seven traffic endpoints are shown with respect to GVM 1110B: GVM 1110A, GVM 1110C, GVM 1110D, the two public Internet endpoints, and two database instances DB1 and DB2 (which may be managed, for example, by a database service of the provider network). The state of the traffic flow for most of the endpoints with which GVM 1110B is in communication is shown as unimpaired, with the exception of the Internet endpoint “e.f.g.h”, which is shown as partially impaired. With respect to GVMs 1110C and 1110D, all the traffic flows for which health information is shown are unimpaired.
It is noted that the level of detail indicated in
In some embodiments, instead of using zoom controls, clients may be provided interfaces to name the resources for which they wish to view health state information, as well as the particular sets of health metrics to be shown.
In the depicted embodiment, the client may use button 1206 to add the name of a resource for which network health state information is to be displayed. A number of options for the resource type may be provided, e.g., via a drop-down menu in health display request parameter region 1204. Example resource types may include GVMs, storage objects, database instances and the like in various embodiments. The identifiers of the resources of the selected types may be supplied by clients in the “Resource ID” column of the health display request parameters region 1204. Corresponding to a given resource or resource type, options for the available health metrics may be provided via drop-down menu associated with the “Metrics” column in the depicted embodiment. After the client has indicated the specific resources and metrics for which health state information is to be displayed, the “submit request” button 1208 may be used to transmit the request to the network health management service in the depicted embodiment. The request may be translated into one or more API invocations in some embodiments, with a given API invocation including elements similar to those shown in
In the health display results region 1224, the metrics requested may be displayed for each of the resources indicated in the request. For example, as shown, with respect to GVM with identifier “GVM000223”, a request/response rate to the public Internet of 99.5% in the last 10 minutes is indicated. For GVM0007713, for which all available metrics were requested, the request response rate to the Internet, intra-IVN message latency and inter-IVM message latency may be shown. For the storage object with identifier SO5245, the outbound packet drop rate may be provided as requested. It is noted that in at least one embodiment, clients may be able to specify endpoint pair categories instead of, or in addition to, specific endpoints for which health state information is to be provided using interfaces similar to that shown in
As mentioned earlier, a number of different intermediary tools may be used to collect metrics for analysis and aggregation by the network health management service in some embodiments.
The network health management service 1301 may obtain high-level connectivity information, e.g., based on request/response success rates associated with pairs of user-mode processes and/or privileged kernel-mode processes, using a connectivity verifier tool 1310 in the depicted embodiment. In at least some embodiments, a number of Domain Name System (DNS) servers may be utilized at or from a provider network, e.g., for facilitating communications between control-plane components of various services as well as for customer applications. One or more DNS monitor(s) 1330 may keep track of the state of the DNS traffic in various parts of the provider network—e.g., measuring the latency for responding to DNS requests, the success rate of DNS requests, and the like. A DNS failure may have a substantial negative impact on customer application communications. As such, the network health management service may be able to utilize the output of the DNS monitors 1330 for determining the health state of various endpoint pair categories. As mentioned earlier, in some embodiments one or more of the other services accessed from the VCS, such as a storage service, may allow service requests to be transmitted from the public Internet. In some such embodiments, special endpoints (called virtual private endpoints) may be established within the VCS which enable service requests to flow from the VCS to the other services (and responses to the service requests to be received) using provider network resources, without requiring packets representing the requests/responses to traverse the public Internet. Tools 1335 for monitoring the connectivity to such virtual private endpoints, and/or performance of traffic flows which utilize the virtual private endpoints may also provide metrics to the NHMS in the depicted embodiment.
A number of mechanisms may be made available to clients regarding secure network pathways between the virtualized computing service and customer premise networks (networks external to the provider network, e.g., at an office location or a data center owned/managed by the customer). Such mechanisms may include, for example, dedicated direct-to-customer physical links and/or virtual private networks (VPNs) in various embodiments; more details regarding these alternatives are provided below in the context of
In at least one embodiment, a number of monitors 1320 for various internal physical links of the provider network may be configured to provide metrics to the network health management service 1301. For example, hardware links connecting rooms within data centers, or connecting pairs of data centers, may be monitored at a high priority as part of the infrastructure maintenance functions of the provider network. In some embodiments, as discussed below in further detail, an encapsulation protocol may be used to manage network traffic for guest virtual machines, and monitoring tools 1315 associated with the encapsulation protocol may be configured to provide input to the network health management service. In at least some embodiments, each of the various monitors and tools shown in
A number of approaches may be used to implement a connectivity verifier tool associated with one or more services of a provider network in various embodiments.
In addition to the customer GVMs, one or more connectivity verifier GVMs 1425 may be established in each availability container 1414, such as connectivity verifier GVM 1425A in availability container 1414A, 1425B in availability container 1414B, 1425C in availability container 1414C, and 1425D in availability container 1414D. In contrast to the customer GVMs 1420 which may be used primarily for running customer applications, each of the connectivity verifier GVMs may be tasked primarily with running connectivity tests involving sending messages to (and receiving responses from) a set of designated endpoints. For example, a list of network addresses of peer connectivity verification GVMs and/or one or more external endpoints 1470 may be provided to each connectivity verification GVM 1425 in the depicted embodiment, with an indication of (a) the respective rate at which request messages should be sent to the various addresses and (b) properties of the messages (e.g., message size, networking protocol, request content, acceptable response content, etc.). In accordance with the addresses and instructions received, for example, each connectivity verifier GVM may send a respective 200-byte payload request message to each of 100 destinations per minute, and track the number of responses received, the latency of the request/response round trip, etc. Similarly, when a connectivity request message is received from another GVM, a corresponding response may be transmitted to the requester by a connectivity verifier GVM. Any of a variety of protocols may be used in different embodiments for the request/response communications, such as variants of HTTP (HyperText Transfer Protocol), ICMP (Internet Control Message Protocol), and the like.
In the depicted embodiment, the request/response success rate (e.g., the fraction of requests for which corresponding results were received within a specified interval) and/or other metrics may be provided by each connectivity verifier GVM 1425 to a connectivity reporter 1430 in its region 1412 (such as connectivity reporter 1430A in region 1412A and connectivity reporter 1430B in region 1412B). The network traffic characteristics (packet loss rate, latency, etc.) between the connectivity verifier GVMs may be considered reasonable approximations of the network traffic characteristics that would be observed by the customer GVMs for similar destinations. The connectivity verifier tool may comprise the reporters 1430 and the special GVMs 1414 in the depicted embodiment. Network health management service (NHMS) nodes 1431, such as NHMS node 1431A and 1431B may collect connectivity metrics from the reporters 1430, and generate network health state information based at least partly on the connectivity metrics in the depicted embodiment.
In at least one embodiment, an installable agent module for connectivity verification may be made available by the connectivity verifier tool and/or the network health management service.
In various embodiments, the connectivity verifier agents may be configurable—e.g., clients may decide various attributes of the tests which should be run by each agent, the manner in which the results should be provided from the agents (e.g., to connectivity reporters such as 1530A or 1530B, or directly to NHMS nodes such as 1531A or 1531B). Some clients may wish to install CV agents at selected important subsets of their resources for which obtaining specific and detailed network health state information is considered a high-priority; other clients may install CV agents on all their resources. In at least one embodiment, the input received from CV agents may be used to detect and/or diagnose network problems at customer premises by the network health management service. As shown, CV agent 1527C may provide metrics to connectivity reporter 1530B, which may be analyzed by NHMS node 1531B to determine the state of the customer-premises network in which host 1575 is configured. It is noted that although region-level aggregation of connectivity verification data is shown in
A direct physical link 1654 may be established at customer C1's request between a customer router 1660 and a provider network router 1662 at a router co-location facility 1630 or transit center. Such dedicated physical links may be referred to as “direct connect” links in some environments, and may provide bandwidth that does not have to be shared by other customers. In one embodiment, for example, a customer may opt to configure either a 10 Gbps (Gigabits per second) dedicated direct-to-customer link or a 1 Gbps dedicated direct-to-customer link between an external data center and the provider network. Any of a variety of protocols may be used for the traffic flowing over the direct-to-customer links in various embodiments—for example, in the scenario depicted in
For some customer applications, the dedicated bandwidth associated with direct-to-customer links may not be required, and a VPN tunnel such as tunnel 1656 may be established between a customer gateway and a provider network gateway 1610. A variety of different protocols may be used for the VPN tunnel in different embodiments, such as SSL/TLS (Secure Sockets Layer/Transport Layer Security), DTLS (Datagram Transport Layer Security), a combination of IKE (Internet Key Exchange) and IPSec (Internet Protocol Security), and so on. The provider network gateways 1610 may be implemented using a variety of approaches in different embodiments—e.g., using a collection of protocol processing engines running at GVMs, using custom hardware devices, and so on.
In the depicted embodiment, metrics related to the health of the direct-to-customer links may be collected by monitors 1622A and 1622B and passed on to network health monitoring service nodes such as node 1631A for analysis and aggregation with metrics obtained from other sources. Monitors 1622A and/or 1622B may, for example, run a variety of tests over the direct-to-customer link 1654. Similarly, metrics pertaining to the virtual private network connection between the provider network and data center 1640B may be obtained by VPN monitors 1624 by running a different set of tests which utilize tunnel 1656, and the VPN metrics may be passed on for analysis and aggregation to NHMS node 1631B. In some embodiments, the NHMS nodes may comprise logic to parse and interpret metrics corresponding to the various protocols used for connectivity between customer networks and the provider network, such as GRE, IKE, TLS/SSL, IPSec etc. It is noted that some customers of the provider network may not utilize direct-to-customer links or VPNs, and part of the responsibility of the NHMS may include determining whether VPN-related or direct-to-customer link-related network state information is relevant for a given customer. It is noted that the term “customer data center” may be used synonymously with the terms “customer-owned data center” or “customer-managed data center” herein, and may refer to premise that are managed, owned or run at least in part by entities other than the provider network operator. Similarly, the term “customer device” may be used to refer to customer-owned or customer-managed devices (such as the router 1660).
In the embodiment shown in
In order to facilitate traffic between GVMs 1712 instantiated at different virtualization hosts 1730 (and between the GVMs 1712 and entities outside the VCS 1742, such as various network endpoints of services 1751 or 1752, as well as endpoints outside the provider network 1702), an encapsulation protocol may be implemented at various devices of the VCS 1742. Software and/or hardware components responsible for implementing the encapsulation protocol, labeled encapsulation protocol processing components (EPPCs) 1717, are shown incorporated within VMCs 1715 (including within network processing peripheral device 1733), and within edge router 128 in system 100. For example, VMC 1715A of VH 1730A includes EPPC 1717A, VMC 1715B includes EPPC 1717B, network processing peripheral device 1733 includes EPPC 1717C, and edge router 1728 includes EPPC 1717K. A virtualization host such as VH 1730C may be equipped with a network processing peripheral device 1733 in some embodiments so that, for example, some of the computing workload associated with implementing one or more network protocols (such as the encapsulation protocol itself and/or the underlying Transmission Control Protocol (TCP), User Datagram Protocol (UDP) or Internet Protocol (IP)) can be offloaded from the main CPUs or cores of the virtualization host. In some embodiments, the network processing peripheral device may be attached via the Peripheral Component Interconnect Express (PCI-Express) bus or another similar bus. In one embodiment, a customized or enhanced network interface card may serve as the network processing peripheral device for some virtualization hosts. In embodiments in which network processing peripheral devices are used at one or more virtualization hosts, some of the networking-related responsibilities of the hypervisor and/or administrative domain operating system which constitute the VMCs of the hosts may be delegated or offloaded to the peripheral devices, and as a result more of the processing capabilities of the CPUs/cores of the hosts may become available for guest virtual machines.
According to the encapsulation protocol, a message generated at an application process executing at a particular GVM (e.g., GVM 1712C) of a particular virtualization host (e.g., VH 1730A) and directed to an application process at a different GVM (e.g., GVM 1712L) at a different virtualization host (e.g., VH 1730B) may be included in an outbound baseline packet OBP1 at the networking software stack of the source GVM 1712C. The dashed arrow labeled 1766B indicates that customer data (i.e., messages generated at the application level) is being transmitted between GVM 1712C and GVM 1712L in the example scenario illustrated in
In the example where the outbound baseline packet OBP1 is created at GVM 1712C of VH 1730A, the virtualization management component VMC 1715A of VH 1730A may intercept OBP1, and a corresponding outbound encapsulation packet OEP1 may be prepared by EPPC 1717A. OEP1 may include one or more headers defined by the encapsulation protocol, for example, and the body of OEP1 may include OBP1. In at least some embodiments, OEP1 may indicate host address VHAddr1 as a source address, and VHAddr2 (or some intermediary address on a route towards VH2) as a destination address. OEP1 may be transmitted using VH 1730A's physical network interface card (NIC) on its path towards VH 1730B. When OEP1 reaches VH 1730B, EPPC 1717B of the VMC 1715B may examine its contents, and the baseline packet contained in OEP1 may be provided to GVM 1712L. A similar encapsulation technique may be employed for inbound packets with respect to a given GVM 1712 (e.g., a baseline packet generated at GVM 1712L may be incorporated within an encapsulation packet generated by EPPC 1717B of VMC 1715B, received and validated at EPPC 1717A of VMC 1715A, extracted and passed on to GVM 1712C).
In the scenario depicted in
Any of a number of criteria may be used to determine if and when a given EPPC should attempt to establish (as the TX EPPC) a packet tracking session, and the particular peer EPPC which should be selected as the potential RX EPPC of the session. For example, each EPPC may have a fixed-size pool of tracking resources (e.g., units of memory) in some embodiments, such that a selected subset of resources of the pool has to be reserved for any given session. An EPPC may attempt to establish a new packet tracking session, for example, if a tracking resource of the pool has recently been freed as result of a termination of another packet tracking session, or based on other criteria such as the reception of a network health state request at the NHMS. The peer EPPC which is to assume the role of RX EPPC may also be selected based on any combination of several criteria, such as the length of a time interval during which at least some encapsulation packets have been transmitted per minute or second between the TX EPPC and the proposed RX EPPC, the number of encapsulation packets which have been transmitted between the two EPPCs, the number of bytes which have been transmitted between the two EPPCs during a particular time interval, or the length of a time interval elapsed since a previous session between the two EPPCs ended. Not all communicating EPPC pairs may have corresponding tracking sessions established at a given point in time; for example, no session is shown for the EPPC pair (EPPCs 1717A and 1717B) corresponding to customer data path 1766B. Depending on the communication needs of the applications which are being run at the virtualization hosts of the VCS, and the constraints on tracking resources available at the EPPCs, it may sometimes be the case that packet tracking sessions can be set up for only a fraction of the communicating EPPC pairs of the VCS at a given point in time. For example, a given EPPC may be transmitting encapsulation packets to hundreds of destinations, but may be limited to participating in eight or sixteen tracking sessions at a time.
The session-initiating or TX EPPC may transmit an encapsulation packet to the proposed RX EPPC as part of a handshake procedure in the depicted embodiment, using one or more encapsulation headers or encoded bit sequences to request the participation of the RX EPPC in the session. After the session is established, the TX EPPC may tag some or all of the encapsulation packets (which contain embedded baseline packets) as packets to be tracked. A number of metrics may be maintained regarding the tracked packets at the RX EPPC and/or at the TX EPPC, such as the total number of packets sent, the total amount of data sent, the number of dropped or corrupted packets received, the number of out-of-order packets received, the latency associated with a particular route used for the packets relative to other routes, etc. Periodically, or in response to triggering conditions, the TX EPPC of a session 1767 may request that the metrics collected thus far at the RX EPPC be transmitted back to the TX EPPC. The TX EPPC may send the network metrics obtained from the RX EPPC to one or more of the nodes 1726 of the NHMS 1758 in the depicted embodiment. The scheduling of the network health update messages may be based on various parameters in different embodiments: e.g., one update message may be sent per set of metrics received from the RX EPPC, or update messages may be sent based on a preliminary analysis of the metrics obtained from the RX EPPC, or update messages may be sent in response to requests from the NHMS 1758. The contents of the update messages sent by a given EPPC 1717 may be analyzed at the NHMS 1758 to generate network health state information for various endpoint pair categories (or for specific pairs of endpoints) as discussed earlier.
In various embodiments, some or all of the messages exchanged between EPPCs to set up, terminate, or change the parameters of network packet tracking sessions and/or for reporting of collected metrics may themselves be contained in encapsulation protocol headers. In some embodiments, encapsulation packets used for such administrative operations may not necessarily contain baseline packets generated by or for the GVMS 1712. Thus, some session management messages may be piggybacked onto encapsulation packets which also carry customer data (baseline packets), while other session management messages may not contain baseline packets. The tracked packets (the ones for which metrics such as corrupted packet counts or dropped packet counts are collected) may typically contain baseline packets containing customer data. At least some communications between the EPPCs and the NHMS may also be implemented using packets formatted according to the encapsulation protocol in various embodiments. By tracking encapsulation packets used for customer data, a more representative measure of the performance being experienced by client applications of the VCS may be obtained than may have been possible if health monitoring agents that use heartbeat messages or pings were the only source of network health information.
Each GVM 1812 may comprise one or more application processes 1811 in the depicted embodiment, such as applications 1811A, 1811B, 1811K or 1811L. A given application such as 1811A may generate messages to be sent to other applications, such as 1811L. Such an application message may be incorporated within one or more baseline network packets (such as packet 1844A, in the case of application 1811A) prepared by the networking software stack of the operating system at the GVM where the application runs. The baseline packet may, for example, indicate the private address of the sending GVM (e.g., PA-A) as the source IP address, and the private address of the intended recipient GVM (e.g., PA-L) as the destination IP address. The baseline packet may be transmitted by the low level components of the GVM's networking software stack via a virtual network interface associated with the GVM. The VMC 1815 at the virtualization host where the GVM runs (e.g., VMC 1815A, which may comprise a hypervisor and/or an administrative domain operating system), which acts as the intermediary between the GVM and hardware components 1825A, may intercept such a baseline packet 1844A. The EPPC 1829A of VMC 1815A may include the contents of the baseline packet within an encapsulation packet 1845A. As discussed earlier, an encapsulation protocol may be employed in the VCS because the addresses of the GVMs may have to be mapped to the addresses of the virtualization hosts at which the GVMs are instantiated for the transmission of the packets along the routes needed to reach their destinations. For example, VH 1830A has a network interface card with host IP address HA-A, and VH 1830B has a network interface card with host IP address HA-B, while the respective GVMs established at the hosts 1830 have different IP addresses from the range selected by the customer. The VMC 1815A may determine the route over which the encapsulation packet 1845A should be sent using route tables of the IVN, network mappings and/or other VCS networking configuration metadata (which may comprise identifiers/addresses of gateways and other devices, etc.). The encapsulation packet 1845A may indicate VH 1830A's host IP address HA-A as the source, and the targeted VH 1830B's host IP address HA-B as the destination (although in some cases the destination address indicated in the encapsulation packet may be an address assigned to an intermediary device at which the address of VH 1830B may be available). The encapsulation packet 1845A may be transmitted along the appropriate route towards VH 230B, e.g., a route which may include various intermediary devices 1885 such as routers, tunneling devices, etc.
The encapsulation packet 1845A may eventually be received at the network interface card (one of the hardware components 1825B) of virtualization host 1830B. The encapsulation packet 1845A may be processed by the EPPC 1829B of VMC 1815B. EPPC 1829B may unpack the contents of the encapsulation packet 1845A. The original baseline packet 1844A extracted from encapsulation packet 1845A may be passed on to the GVM 1812L at which the destination application 1811L runs. Packets generated at the application 1811L and intended for application 1811A may follow the reverse path to that used for baseline packet 1844A. For example, a baseline packet 1844B (generated at GVM 1812L) with a source IP address PA-L and destination IP address PA-A may be intercepted and encapsulated by EPPC 1829B, and a corresponding encapsulation packet 1845B may be prepared and transmitted using intermediary devices 1885. That encapsulation packet 1845B, with a HA-B as its source address and HA-A (or an intermediary device address) as its destination address, may eventually reach VH 1830A. At VH 1830A, EPPC 1829A of VMC 1815A may extract baseline packet 1844B from encapsulation packet 1845B and transfer it to GVM 1812A. A number of different encapsulation protocol header values or bit sequences may be set by the EPPCs 1829 for establishing packet tracking sessions, tracking packets during the sessions, obtaining metrics at a TX EPPC of a session from the RX EPPC for the session, and so on. As mentioned earlier, in some embodiments at least a portion of the EPPC functionality discussed in the context of
In response to receiving the tracking synchronization request message 1922, the RX EPPC 1912 may first verify that the session ID 1934 in the message corresponds to a session for which the RX EPPC has been collecting metrics. If the session ID does not match a tracked session, a tracking error message may be sent to the TX EPPC. If the session ID is validated, the RX EPPC may prepare a tracking synchronization results message 1976 and transmit it to the TX EPPC 1902 in the depicted embodiment. The results message 1976 may include the synchronization identifier 1932 (corresponding to the request message 1922's synchronization identifier) and session-level network metrics 1965 in the depicted embodiment. In some embodiments, UDP (the User Datagram Protocol) may be used for transmitting packets between VHs, and respective sets of metrics may be collected for different UDP source ports (and corresponding alternate pathways between the TX EPPC and the RX EPPC). In such embodiments, an array of metric sets with one array element for each of the different UDP source ports used during the session may be included in the results message 1976. Any combination of a number of different types of network metrics may be collected for each port (and/or for the session as a whole) in different embodiments. For example, per-port metrics 1967A for a given port 1951A may include the total number of packets received 1952A, the number of ECNs (explicit congestion notifications) received 1954A, the number of out-of-order packets received 1956A, the number of corrupted packets received 1958A, and one or more latency measures such as the latest latency recorded for transmitting encapsulation packets using that port. In some embodiments, estimates of the packet transmission latency may be obtained by the RX EPPC as follows: when a hash change notification message is received, indicating that the next encapsulation packet sent by the TX EPPC will use a different port (and hence a different path), the RX EPPC may start a timer. When the next encapsulation packet is received, the timer may be stopped, and the elapsed time indicated by the timer may be considered a measure of the latency for the new path (e.g., under the assumption that the TX EPPC sent the encapsulation packet immediately after sending the hash change notification message).
Additional metrics, such as one or more route traces available at the RX EPPC, which identify the intermediary routers and links used for the alternate paths between the RX EPPC and the TX EPPC may also be included in the tracking synchronization results messages in some embodiments. Some of the network metrics shown in
Despite the use of a variety of tools and data sources of the kinds discussed earlier, the number of distinct resources and network pathways between resources in a large provider network may sometimes be too large to permit health state information for all possible endpoints to be captured and maintained on an ongoing basis. For example, the VCS 2010 (and/or other network-accessible services of the provider network) may comprise hundreds of thousands of hosts, individual ones of which may be used to instantiate dozens of guest virtual machines, and large numbers of networking devices may be established to support communications among the GVMs and between GVMs and resources of the other services. In at least some scenarios, therefore, the metrics available to a network health management service (NHMS) may not always be complete enough to make an immediate determination as to whether a given network health impairment event (such as a hardware or software failure at a particular router or switch) is going to impact the applications being run on behalf of a given customer.
In the depicted embodiment, an NHMS node 2020 may detect the occurrence of a network health impairment event 2050 using some of the metrics it has collected from various data sources and tools such as the connectivity verifier, DNS monitors, VPN monitors and the like. The example network health impairment event 2050 shown in
Depending on the estimated probabilities of impact, information about the impairment event 2050 may be filtered prior to presentation to customers. The filtering algorithm 2030 may, for example, determine that the probability that event 2050 would impact customer C1 is below a threshold, and the NHMS node 2020 may therefore transmit state message 2014A to C1 indicating that one or more endpoint pair categories relevant to C1 are unimpaired (as indicated by the symbol 2060A). Similarly, if the probability that applications of customer C2 are affected be event 2050 is below the threshold, state information 2014B indicating that C2′s endpoint pair categories are unimpaired may be provided to C2. In contrast, in the depicted scenario, the probability of a negative impact to C3's application may be estimated to be above a threshold. Consequently, the state information 2014C may indicate an impaired state of one or more endpoint pair categories relevant to C3 (as indicated by symbol 2061). In the depicted embodiment, in addition to the state information itself, a notification 2017 of the impairment event may be provided to customer C3. In some embodiments, an interface which can be used by customer C3 to request repair status corresponding to the impairment event may also be provided (e.g., analogous to the R-S buttons shown in
In some embodiments, a notification of the impairment event may be provided as part of network health state even to those customers who may not be affected by the event—e.g., customer C1 may be notified that event 2050 has occurred, but that C1's applications remain unaffected. Such notifications may be helpful, for example, in reducing customer uncertainty regarding impairment events. For example, if customer C1 learns (e.g., from social media or other sources) that a failure event has occurred at the provider network, but is unsure as to whether the event affects C1's applications, a message affirming that C1's applications are expected to be unaffected may be helpful. In various embodiments, the state information 2014 may be provided in response to health state requests or queries. In some embodiments, the health state information 2014 may be pushed to customer devices even if no specific health state request has been received. Graphical representations of the customer's networked resources, and the health state of various endpoint pair categories and/or individual endpoint pairs may be provided in at least some embodiments. In different embodiments, combinations of one or more of the techniques and algorithms described in the context of
Control-plane metadata from the services of the provider network may be obtained to determine the particular endpoint pair categories for which network health state information may be relevant to various customers (element 2104). For example, in one embodiment, an account identifier of a particular customer may be determined, and the set of isolated virtual networks (IVNs) established for the account identifier may be obtained from a virtualized computing service control-plane component. The list of other services which are being used by the customer from each of the IVNs may be determined, e.g., either based on records of traffic flow across IVN boundaries or from service subscription or billing metadata. Some customers may have thousands of individual guest virtual machines and use a large number of different services, so providing health state at the individual endpoint level may not be practicable or useful. Based on the examination of the metadata and/or traffic flow information, a set of endpoint pair categories which are easy to understand and/or visualize may be derived, so that network health information can be provided on a summarized basis to respective customers. Consider a scenario in which a control-plane component of the virtualized computing service indicates that a particular customer C1 has 100 and 150 guest virtual machines respectively in each of two IVNs (IVN1 and IVN2), and that half of the GVMs in each IVN are part of availability container AC1, while the other half are in a different availability container AC2. Furthermore, the control-plane component also provides metadata indicating that a gateway to access the public Internet has been set up for each IVN, IVN1 and IVN2. Given this information, the NHMS may be able to derive a small set of endpoint pair categories (e.g., corresponding to combinations with one endpoint in each of the four {IVN, AC} combinations and one endpoint representing the public Internet, etc.), which may be used to provide easily understandable summary network health state information to C1. In at least some embodiments, the metadata collected from service control plane components may include physical location information regarding resources allocated to or used by customers, in addition to logical containment information (such as which GVMs of the customer belong to which IVN). The physical location information may be especially useful in matching metrics reported by infrastructure monitors to the endpoint pair categories of the customers. In various embodiments, the endpoint pair categories may be used to generate a virtual view of the network resources being used for a customer. The paths between the endpoints of a category may comprises a virtual representation of one or more physical network links and/or devices, for example.
Respective networking-related metrics sets may be collected, e.g., periodically, from the data sources and/or intermediary tools at the network health managing service (element 2107). In at least some embodiments, metrics sets corresponding to different data sources may be formatted differently and/or may be collected at different rates. The metrics sets may also refer to the same underlying entities using different names or different units in some cases, which may require disambiguation and/or normalization by the network health management service.
In at least some embodiments, respective weights or trust scores may be assigned to the different metrics sets or tools (element 2110). The weights may be assigned based on a variety of factors in different embodiments, including for example a physical location of a resource to which the metric set or tool corresponds, a layer of a networking stack to which the metric set or tool corresponds, or a collection times of the metrics. In one embodiment, a knowledge base entry accessible to the network health management service may indicate how reliable a given tool has been with regard to providing information about network failures or other impairments, for frequently the tool has led to the presentation of false positive reports of network impairment events, and so on. The contents of such knowledge base entries (which may be updated as more evidence becomes available over time) may be used to assign weights in such embodiments.
Using the weights assigned to the collected metrics, network health state may be determined with respect to endpoint pair categories of relevance to a given customer (element 2113). In one embodiment, for example, network pathways between the resources corresponding to each endpoint of an endpoint pair category may be identified, and a subset of the metrics which correspond specifically to the physical and/or logical devices and links forming those pathways may be extracted and analyzed to determine the network health state for that endpoint pair category. As the metrics may be collected at high volumes from large numbers of sources and tools, various techniques to enable efficient indexing and querying of large dynamic data sets (e.g., using in-memory data models or non-relational data models) may be employed in such an embodiment. In some implementations, the collected metrics may be organized and stored in such a way that the efficient elimination of irrelevant metrics is facilitated. For example, metrics may be partitioned or indexed by service in one implementation, so that if a customer's service usage metadata indicates that service S-k is not used by the customer, then all the metrics pertaining to S-k may quickly be designated as irrelevant with respect to the health state of endpoint pair categories of that customer. In some embodiments, the state may be expressed in impairment-related summary form for each endpoint pair category—e.g., the network health of a given endpoint pair category may be deemed to be “unimpaired”, “partially impaired”, or “extensively impaired”. Instead of these particular state summaries, other alternatives for expressing summarized health states indicating respective degrees of impairment may be used in some embodiments. The determination of the summarized state from the weighted network metrics may involve the use of one or more rule-based algorithms in some embodiments. Rules such as the logical equivalent of “if (metric set MS1 from tool T1 indicates impairment of endpoint pair category EPC1 with a probability p1>PA, and p1<PB) and (metric set MS2 from tool T2 indicates impairment of endpoint pair category EPC1 with a probability p2>PC and p2<PD), then the summary state for EPC1 is partially impaired” may be employed in some embodiments. In one implementation, a machine learning algorithm (e.g., a regression algorithm) may be used to determine the summary health state for the various endpoint pair categories. The use of the machine learning algorithm may have the benefit that, as more evidence indicating the accuracy of the conclusions reached at the network health management service is accumulated, the model(s) used may be enhanced, leading to increases in accuracy. The information regarding the health state of the various endpoint pair categories associated with a given customer may be transmitted to one or more destinations (e.g., to a client-side program or console) in the depicted embodiment (element 2116). In at least one embodiment, instead of or in addition to transmitting the information to the one or more destinations, the health state information may be stored in a persistent repository, e.g., for later analysis.
In at least one embodiment, the metrics may be grouped into temporal buckets (element 2207), e.g., because the rates at which they are received from the different collectors may vary. For example, a connectivity verifier tool may provide reports once every minute, while an infrastructure monitor for a hardware link may report its metrics once every five seconds, and the network health monitoring service may have to assign each set of metrics to a selected interval (e.g., a two-minute interval). Different metric sets may refer to the same underlying entities or quantities using their respective naming schemes, and the network health management service may have to correlate metrics from different sources (element 2210), e.g., using a dictionary or database that maps names used by one tool to names used by another. For example, one tool may refer to a given virtualization host by an IP address “a.b.c.d”, while another tool may refer to the virtualization host by an application label (such as “WebServer1”) or a location indicator (e.g., “H04.Rk003.Ro007.DS1” indicating the fourth host in rack 3 in room 7 of data center DS1), and metrics referring to any particular one of those names may be correlated with metrics referring to other names. In some embodiments, the particular resource or entity to which a given metric set applies may not necessarily be immediately evident—e.g., it may be the case that a given host has two NICs with respective IP addresses “a.b.c.d” and “a.b.c.m”, and network traffic statistics for the two addresses may be reported separately. In such scenarios, the network health management service may have to examine a configuration database to disambiguate the data—i.e., to determine that both sets of metrics refer to the same host.
As mentioned earlier, a set of endpoint pair categories for which health state information is to be provided to a customer may have been determined, e.g., based on the set of services used by the customer, the set of resources allocated to the customer, etc. At least some of the metrics pertaining to a given endpoint pair category may be collected from a physical network device used for the traffic associated with the category in some embodiments. A preliminary health state with an associated confidence level may be determined for a given endpoint pair category, e.g., using weights assigned to the respective metrics collectors and the reported metrics as discussed above (element 2213). If, for example, there are four metrics sets from four different metrics collectors, all of which appear to indicate a network failure affecting an endpoint pair category, a high confidence level (e.g., 90%) may be assigned to the “substantially impaired” health state for the category. If, in contrast, one of the four metrics collectors indicates an impairment, one indicates no impairment, and the remaining two do not provide any clear-cut conclusions regarding the impairment, a lower confidence level (e.g., 20%) may be assigned to the “substantially impaired” health state for the category and a medium confidence level (e.g., 40%) may be assigned to the “partially impaired” and “unimpaired” states.
If the confidence level associated with one of the health states exceeds a threshold (where the threshold itself may be a parameter which is tuned or adjusted over time), as detected in operations corresponding to element 2216, the health state for the endpoint pair category for the current iteration of analysis may be deemed to be reportable (element 2228). If, however, none of the health states has a confidence level which exceeds the threshold (as also determined in operations corresponding to element 2216), the network health management service may determine whether additional confirmatory sources of metrics are available for the endpoint pair category being considered. If one or more such sources (which may for example comprise additional metrics collectors whose input was not included in the preliminary determination of the health state) are available (as detected in element 2219), new metrics may be obtained from the additional sources (element 2222). Based on an analysis of the new metrics in combination with the previously-examined metrics, the health state and/or the confidence levels for the endpoint pair category may be re-computed or adjusted. The confidence level may be checked again to determine whether it is above the threshold, and the operations corresponding to elements 2216, 2219 and 2222 may be iterated until either a confidence level that exceeds the threshold is obtained, or all the sources of additional information are exhausted. If data sources are exhausted and the threshold confidence level has still not been reached, the endpoint pair category may be designated as unclear or unreportable in the depicted embodiment (element 2225).
If more endpoint pair categories remain to be analyzed (as detected in element 2231), operations corresponding to elements 2213-2225 may be performed for the next endpoint pair category. The reportable health state information may be transmitted to one or more destinations associated with the customer (element 2234). In some embodiments, a decision as to whether an indication of an indeterminate health state (e.g., if the confidence level threshold is not reached) is to be provided may be based at least in part on client-specified preferences—e.g., a client may indicate via a programmatic interface whether only high-confidence results are to be provided or indeterminate results are to be provided as well.
If the client account is not explicitly indicated in the request, the account may be identified, e.g., based on authorization-related session information or headers associated with the use of the programmatic interface (element 2304). The set of endpoint pair categories for which health state information is to be provided in response to the request may be determined (element 2307) if not explicitly indicated in the request, e.g., by communicating with control-plane components of one or more other network-accessible services such as a virtualized computing service. As mentioned above, the path between the endpoints of a category may comprise a virtual representation of one or more physical network links in various embodiments.
Corresponding to each of the identified endpoint pair categories, respective sets of network metrics may be obtained from various data sources (which may in some cases include one or more physical network devices used for the traffic associated with a category) and/or intermediary tools in the depicted embodiment (element 2310). The underlying data sources may correspond to various levels of the hardware/software stacks, such as the kinds of entities shown in
The metrics obtained from the various sources and tools may be correlated and aggregated as discussed earlier (e.g., in the context of
The set of resources associated with the client account, and corresponding endpoint pair categories, may be identified (element 2407), e.g., using information obtained from control-plane components of one or more services as discussed earlier. As mentioned above, the path between the endpoints of a category may comprise a virtual representation of one or more physical network links in various embodiments. Respective network metrics groups/sets corresponding to various data sources of the kind discussed above (which may in at least some cases include physical network devices used for traffic associated with an endpoint pair category) may be obtained (element 2410), including at least some metrics associated with non-public resources.
The metrics may be parsed and correlated using approaches similar to those described earlier, to obtain respective health state descriptors for various endpoint pair categories relevant to the client account (element 2413). Based at least in part on the display characteristics and/or the number of endpoint pair categories for which health state information is available, the summarization level of network health information may be determined (element 2416). For example, if the number of distinct endpoint pair categories is such that showing metrics for all the categories separately may clutter the display, metrics corresponding to several different endpoint pair categories or resources may be combined to produce summarized information for display. In one embodiment, for example, metrics pertaining to traffic flow between the public Internet and several different isolated virtual networks configured on behalf of the customer may be aggregated to a single “IVN-to-Internet” summary metric. Such summarization/combination may require rules for combining health state information—e.g., if any one of N IVNs has a severely-impaired network health status with respect to the public Internet, the summarized information may also indicate sever impairment in one implementation, even if (N-1) of the IVNs are not impacted by the impairment.
A data set usable to display a graphical representation of the resources associated with the client account, as well as the network health states determined for various relevant endpoint pair categories, may be generated (element 2419). The data set may then be transmitted to one or more client-side devices (element 2422) where the display is provided. Optionally, a client may indicate a refresh rate for the display, in which case updated data sets based on received metrics may be transmitted at intervals corresponding to the refresh rate.
The network health management service may analyze the impact of the impairment event on the applications of various customers (element 2504). For example, a list of the provider network services being used by a customer may be examined, location information pertaining to the impaired/failed devices or modules may be correlated with location information of client resources, metrics captured from packet tracing sessions at the encapsulation protocol processing layer of a virtualized computing service or other services may be analyzed, and so on. In at least some embodiments, aspects of the networking configuration settings pertaining to the impaired resources and/or customer resources may be compared—e.g., subnet information associated with a given virtual machine, host or network device may enable the NHMS to ascertain whether a given customer would be affected by a failure. In one embodiment, an inventory management system of the provider network may contain location information (e.g., at the rack level, room level, data center level, availability container level, or region level) for various resources, and the proximity of the hosts being used for a given customer's applications to the impaired device(s) may be determined to estimate a probability of a negative impact of the impairment on the applications.
With respect to a customer C1, on whose behalf resources are allocated within a particular data center DC1 of an availability container AC1 at which the impairment event occurred, the network health management service may determine that the probability of a negative impact on C1's applications is below a threshold (element 2513). As a consequence, the network health management service may cause a health state message M1 to be transmitted to a destination (e.g., a client device at which a graphical representation of the client's resources can be shown) associated with C1. M1 may indicate that the state of one or more endpoint pair categories relevant to C1 (or specific resources allocated to C1) is unimpaired (element 2522). In effect, despite the fact that the impairment event occurred in a data center where C1 was allocated some resources, the network health state information provided to C1 may be filtered to avoid an indication that C1's applications are impacted.
In contrast, the network health management service may determine that the probability of a negative impact on customer C2's applications, which may also be using resources of DC1 and AC1, exceeds the threshold (element 2517). As a result, a different health state message M2 may be transmitted to a destination affiliated with C2, indicating that the impairment event has occurred and/or indicating that one or more endpoint pair categories relevant to C2 are in an impaired state (element 2526). Similar customer-specific health state messages may be prepared for numerous other customers as well; the discussion of customers C1 and C2 is not intended to indicate that the filtering of network health state information is limited to any particular number of customers. In some embodiments, the threshold probabilities used for deciding whether or not an impairment event is to be reported to a given customer may be customizable—e.g., customers may indicate preferences via programmatic interfaces of the network health management service for the conditions under which they should be informed regarding failures/impairments. In at least one embodiment, an indication of the occurrence of an impairment event may be provided to a customer even if the network health management service determines that the customer's applications are likely to be unaffected. This may be done, for example, to inform or reassure the customer affirmatively that while a failure has been identified (and is being resolved/repaired), the customer's own applications are not going to be impacted.
It is noted that in various embodiments, at least some operations other than those illustrated in the flow diagram of
The techniques described above, of providing customizable and verified network health state information at various levels of granularity to clients of services implemented at provider networks may be useful in a number of scenarios. To many customers, the resources of provider network services (such as a virtualized computing service or storage service) may appear to be the equivalent of black boxes, with limited visibility provided into the devices used to implement the services. When a customer application running on provider network resources appears to misbehave or perform poorly, especially with respect to network traffic, it may not be straightforward for the customer to determine whether the apparent problem is a real problem, and if it is a real problem, whether the root cause lies with the application layer or in the infrastructure of the provider network. As such, techniques that collect metrics from multiple independent tools and aggregate the metrics to provide customer-specific health state information via easy-to-use interfaces may reduce the amount of effort wasted by customers in application-level debugging if a problem is caused by impairments at the infrastructure level. Furthermore, by ensuring that reports of network impairments are verified using multiple sources, and by filtering reports of network impairments based on the anticipated or actual impact on applications of specific customers to whom the reports are being provided, false alarms regarding failures which would not affect customers may be reduced.
In at least some embodiments, a server that implements a portion or all of one or more of the technologies described herein, including the techniques to implement various components of a network health management service, tools and metrics collectors used by the network health management service, other resources of provider networks involved in network health state management, and the like may include a general-purpose computer system that includes or is configured to access one or more computer-accessible media.
In various embodiments, computing device 9000 may be a uniprocessor system including one processor 9010, or a multiprocessor system including several processors 9010 (e.g., two, four, eight, or another suitable number). Processors 9010 may be any suitable processors capable of executing instructions. For example, in various embodiments, processors 9010 may be general-purpose or embedded processors implementing any of a variety of instruction set architectures (ISAs), such as the x86, PowerPC, SPARC, or MIPS ISAs, or any other suitable ISA. In multiprocessor systems, each of processors 9010 may commonly, but not necessarily, implement the same ISA. In some implementations, graphics processing units (GPUs) may be used instead of, or in addition to, conventional processors.
System memory 9020 may be configured to store instructions and data accessible by processor(s) 9010. In at least some embodiments, the system memory 9020 may comprise both volatile and non-volatile portions; in other embodiments, only volatile memory may be used. In various embodiments, the volatile portion of system memory 9020 may be implemented using any suitable memory technology, such as static random access memory (SRAM), synchronous dynamic RAM or any other type of memory. For the non-volatile portion of system memory (which may comprise one or more NVDIMMs, for example), in some embodiments flash-based memory devices, including NAND-flash devices, may be used. In at least some embodiments, the non-volatile portion of the system memory may include a power source, such as a supercapacitor or other power storage device (e.g., a battery). In various embodiments, memristor based resistive random access memory (ReRAM), three-dimensional NAND technologies, Ferroelectric RAM, magnetoresistive RAM (MRAM), or any of various types of phase change memory (PCM) may be used at least for the non-volatile portion of system memory. In the illustrated embodiment, program instructions and data implementing one or more desired functions, such as those methods, techniques, and data described above, are shown stored within system memory 9020 as code 9025 and data 9026.
In one embodiment, I/O interface 9030 may be configured to coordinate I/O traffic between processor 9010, system memory 9020, and any peripheral devices in the device, including network interface 9040 or other peripheral interfaces such as various types of persistent and/or volatile storage devices. In some embodiments, I/O interface 9030 may perform any necessary protocol, timing or other data transformations to convert data signals from one component (e.g., system memory 9020) into a format suitable for use by another component (e.g., processor 9010). In some embodiments, I/O interface 9030 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard, for example. In some embodiments, the function of I/O interface 9030 may be split into two or more separate components, such as a north bridge and a south bridge, for example. Also, in some embodiments some or all of the functionality of I/O interface 9030, such as an interface to system memory 9020, may be incorporated directly into processor 9010.
Network interface 9040 may be configured to allow data to be exchanged between computing device 9000 and other devices 9060 attached to a network or networks 9050, such as other computer systems or devices as illustrated in
In some embodiments, system memory 9020 may be one embodiment of a computer-accessible medium configured to store program instructions and data as described above for
Various embodiments may further include receiving, sending or storing instructions and/or data implemented in accordance with the foregoing description upon a computer-accessible medium. Generally speaking, a computer-accessible medium may include storage media or memory media such as magnetic or optical media, e.g., disk or DVD/CD-ROM, volatile or non-volatile media such as RAM (e.g. SDRAM, DDR, RDRAM, SRAM, etc.), ROM, etc., as well as transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as network and/or a wireless link.
The various methods as illustrated in the Figures and described herein represent exemplary embodiments of methods. The methods may be implemented in software, hardware, or a combination thereof. The order of method may be changed, and various elements may be added, reordered, combined, omitted, modified, etc.
Various modifications and changes may be made as would be obvious to a person skilled in the art having the benefit of this disclosure. It is intended to embrace all such modifications and changes and, accordingly, the above description to be regarded in an illustrative rather than a restrictive sense.