VIRTUAL GATEWAY ROUTER
A facility for configuring a virtual data center is described. A user such as an administrator uses a management interface to input information specifying a configuration for a virtual data center including virtual network nodes and virtual routers. In response, the facility instantiates each virtual network router needed for the configuration, such as by, for each, instantiating on commodity hardware a virtual machine running a general-purpose operating system used to provide routing services to the virtual network nodes.
Latest Skytap Patents:
This application claims the benefit of U.S. Provisional Patent Application No. 61/595,573, filed on Feb. 6, 2012, which is hereby incorporated by reference in its entirety.
Each of the following applications is also hereby incorporated by reference in its entirety: U.S. Provisional Patent Application No. 61/050163, filed on May 2, 2008; U.S. Provisional Patent Application No. 61/101665, filed on Sep. 30, 2008; U.S. patent application Ser. No. 12/434,619, filed May 2, 2009; U.S. patent application Ser. No. 12/434,620, filed on May 2, 2009; U.S. patent application Ser. No. 12/434,621, filed on May 2, 2009; and U.S. patent application Ser. No. 13/276,153, filed on Oct. 18, 2011.
TECHNICAL FIELDThe described technology is directed to the fields of virtual computing and data networks.
BACKGROUNDA virtual machine is a software construct designed to run computer programs like a real physical machine. As an example, a virtual machine may comprise various software components for running executable code written for a particular computing platform. Such executable code may include, among other things, operating system code, application programs, software drivers, and so on.
A virtual machine does not necessarily have a direct correspondence to a real physical machine; however, virtual machines are often designed to imitate the behavior of specific hardware architectures. As an example, a virtual machine may be designed to imitate the behavior of an x86 processor.
The inventors have noted the desirability of connecting virtual machines together in one or more virtual computer networks, sometimes called “subnets,” so that they can exchange data in a manner very similar to physical machines exchanging data via a physical data network. The inventors have also noted the desirability of being able to connect different subgroups of virtual machines to different virtual networks as a “virtual data center.” The inventors have also recognized the desirability of being able to connect virtual machines in one or more of these virtual networks to machines or networks that are external to the virtual data center, either external physical machines or networks, external virtual machines or networks, or a combination of both.
Accordingly, a software facility (“the facility”) is described that establishes and operates a virtual data center having one or more virtual gateway routers. A user creates a virtual data center by specifying its characteristics to a management interface provided by the facility. For example, for each of one or more networks to be established in the virtual data center, the user can specify a number of virtual machines to establish as nodes on the network and a set of network services to provide on the network. In response, the facility instantiates a virtual gateway router for the virtual data center by creating a new virtual machine on a commodity physical machine running a general purpose operating system, such as an open source general purpose operating system, loading onto the created virtual machine a virtual gateway router software image including a general-purpose operating system such as Linux, and configuring the networking components of the operating system in accordance with the characteristics specified by the user. The facility additionally creates the virtual data center nodes specified by the user and the virtual gateway router serves as a router to route traffic between the virtual data center nodes. In various embodiments, the virtual gateway router performs a variety of network gateway services on behalf of the virtual data center nodes, including but not limited to the following: DHCP services; DNS services; network-attached storage services, such as SMB/CIFS services, NFS services, and FTP services; firewall services; network address translation and port forwarding services; load balancing services; and network traffic shaping services. In some embodiments, when the user instructs the management interface that virtual data center is no longer needed, the facility deallocates the virtual machine containing the virtual gateway router, as well as the virtual machines containing the virtual data center nodes.
While operating in some or all of the ways described above, the facility provides a number of benefits, including the ability to host a large number of virtual routers in a physical machine, such as 80 virtual routers in a single server blade; low cost, based upon the use of commodity hardware, which becomes less expensive over time, and a general purpose operating system, such as an open source general purpose operating system; the ability to provide effective data and fault isolation to different virtual networks not explicitly connected and different virtual data centers from one another by servicing them with different virtual routers not specified to be connected; and flexibility to implement a new needed network service, such as a firewall, for the virtual router on the same commodity hardware and general purpose operating system.
In steps 301-302, the facility presents a management interface to a user such as a virtual data center administrator, and receives information from that user via the management interface that specifies configuration information for a new virtual data center.
Returning to
Returning to
In various embodiments, the configuration of the networking components involves one or more of the following: populating IP tables such as a filter table specifying firewall, NAT, and/or packet mangling rules; routing tables; traffic control information; connection and flow tracking information for protocols such as TCP, UDP, and ICMP; generic route encapsulation tunnel configuration information; IPSec endpoint configuration; name for service configuration; DHCP service configuration; fileshare service SMB/CIFS information, etc.
Returning to
The virtual routers are generally isolated from one another, so that traffic cannot flow between any pair of them. In some embodiments, the facility can connect particular pairs of virtual routers in response to configuration instructions from the virtual data center administrator in order to enable the flow of traffic between the nodes of the two subnets associated with the virtual routers. The hypervisor can also contain one or more inbound routers 631 to which the facility can connect a virtual router in response to configuration instructions from the virtual data center administrator in order to route traffic to nodes connected to the subnet associated with the virtual router. The hypervisor can also contain one or more virtual machines instantiated as IPSec endpoints to which the facility can connect a virtual router in response to configuration instructions from the virtual data center administrator in order to route traffic between subnet associated with the virtual router and external nodes via secure tunnels.
It will be appreciated by those skilled in the art that the above-described facility may be straightforwardly adapted or extended in various ways. While the foregoing description makes reference to particular embodiments, the scope of the invention is defined solely by the claims that follow and the elements recited therein.
Claims
1-29. (canceled)
30. A method for provisioning virtual data centers, the method comprising:
- receiving a request to instantiate a plurality of virtual network routers for routing traffic among a plurality of virtual network nodes; and
- in response to the received request, simultaneously instantiating a new virtual machine for each of the plurality of virtual network routers.
31-40. (canceled)
41. The method of claim 30 wherein the request is received via a visual user interface.
42. The method of claim 30, further comprising causing the virtual network router of one of the instantiated new virtual machines to route traffic among a plurality of virtual network nodes comprising a single subnet.
43. The method of claim 30, further comprising causing the virtual network router of one of the instantiated new virtual machines to route traffic among pluralities of virtual network nodes each comprising a subnet, in such a manner that the virtual network nodes of each subnet are isolated.
44. The method of claim 30, further comprising causing each of the plurality of virtual network routers to provide network gateway services to virtual network nodes among the plurality of virtual network nodes.
45. The method of claim 30, further comprising causing the virtual network routers to provide DHCP services to virtual network nodes among the plurality of virtual network nodes.
46. The method of claim 30, further comprising causing the virtual network routers to provide DNS services to virtual network nodes among the plurality of virtual network nodes.
47. The method of claim 30, further comprising causing the virtual network routers to provide network-attached storage services to virtual network nodes among the plurality of virtual network nodes.
48. The method of claim 30, further comprising causing the virtual network routers to provide firewall services to virtual network nodes among the plurality of virtual network nodes.
49. The method of claim 30, further comprising causing the virtual network routers to provide network address translation and port forwarding services to virtual network nodes among the plurality of virtual network nodes.
50. The method of claim 30, further comprising causing the virtual network routers to provide load balancing services to virtual network nodes among the plurality of virtual network nodes.
51. The method of claim 30, further comprising causing the virtual network routers to provide network traffic shaping services to virtual network nodes among the plurality of virtual network nodes.
52. A computer-readable storage device having contents adapted to cause a computing system to perform operations for provisioning virtual data centers, the operations comprising:
- receiving a request to instantiate a plurality of virtual network routers for routing traffic among a plurality of virtual network nodes; and
- in response to the received request, simultaneously instantiating a new virtual machine for each of the plurality of virtual network routers.
53. The method of claim 52 wherein the request is received via a visual user interface.
54. The method of claim 52, the operations further comprising causing the virtual network router of one of the instantiated new virtual machines to route traffic among a plurality of virtual network nodes comprising a single sub node.
55. The method of claim 52, the operations further comprising causing the virtual network router of one of the instantiated new virtual machines to route traffic among pluralities of virtual network nodes each comprising a subnet, in such a manner that the virtual network nodes of each subnet are isolated.
56. The method of claim 52, the operations further comprising causing each of the plurality of virtual network routers to provide network gateway services to virtual network nodes among the plurality of virtual network nodes.
57. The method of claim 52, the operations further comprising causing the virtual network routers to provide DHCP services to virtual network nodes among the plurality of virtual network nodes.
58. The method of claim 52, the operations further comprising causing the virtual network routers to provide DNS services to virtual network nodes among the plurality of virtual network nodes.
59. The method of claim 52, the operations further comprising causing the virtual network routers to provide network-attached storage services to virtual network nodes among the plurality of virtual network nodes.
60. The method of claim 52, the operations further comprising causing the virtual network routers to provide firewall services to virtual network nodes among the plurality of virtual network nodes.
61. The method of claim 52, the operations further comprising causing the virtual network routers to provide network address translation and port forwarding services to virtual network nodes among the plurality of virtual network nodes.
62. The method of claim 52, the operations further comprising causing the virtual network routers to provide load balancing services to virtual network nodes among the plurality of virtual network nodes.
63. The method of claim 52, the operations further comprising causing the virtual network routers to provide network traffic shaping services to virtual network nodes among the plurality of virtual network nodes.
64. A system for provisioning virtual data centers, comprising:
- means for receiving a request to instantiate a plurality of virtual network routers for routing traffic among a plurality of virtual network nodes; and
- means for in response to the received request, simultaneously instantiating a new virtual machine for each of the plurality of virtual network routers.
Type: Application
Filed: Nov 1, 2013
Publication Date: Feb 27, 2014
Patent Grant number: 9430260
Applicant: Skytap (Seattle, WA)
Inventors: Peter Holland (Seattle, WA), Bradley M. Schick (Seattle, WA)
Application Number: 14/070,385
International Classification: G06F 9/455 (20060101);