Automated migration of compute instances to isolated virtual networks
AssigneeAmazon Technologies, Inc.
InventorWeili Zhong McClenahan
Life of this patent
Estimating the term…
Abstract
A migration manager (MM) identifies a source group of compute instances (at a first partition of a provider network) to be migrated to an isolated virtual network (IVN) implemented in a second partition. The MM triggers the establishment within the IVN of an equivalence group of instances corresponding to the source group instances. Connectivity between the equivalence group and a first load balancer which was being used for the source group in the first partition is maintained by modifying one or more configuration settings. After a replacement load balancer is established within the IVN, the first load balancer is decommissioned.
Claims20
A system, comprising:
- a client instance group (CIG) which includes a plurality of compute instances launched on behalf of a particular client in a first logical partition of a provider network, wherein the first logical partition has a network address space configuration which does not support isolated virtual networks, and wherein a second logical partition of the provider network includes one or more isolated virtual networks (IVNs) established on behalf of respective clients of the provider network;
- and
- a migration manager implemented at one or more computing devices of the provider network;
- wherein the migration manager is configured to:
- determine that the CIG is to be migrated to a particular IVN in the second logical partition;
- identify a first subset of the CIG, comprising one or more compute instances belonging to an auto-scaling group (ASG) configured with a first load balancer;
- trigger an establishment, within the particular IVN, of an equivalence group of compute instances, wherein the equivalence group comprises respective replacement instances corresponding to the one or more compute instances of the first subset, and wherein a particular replacement instance of the equivalence group is assigned a network address of a corresponding compute instance of the first subset;
- initiate a modification of one or more configuration settings of (a) the particular IVN and (b) the first load balancer to enable connectivity between the equivalence group and the first load balancer, such that network traffic directed to the ASG can be forwarded to the equivalence group by the first load balancer;
- initiate a disabling of the first subset of compute instances;
- trigger an establishment, within the particular IVN, of a replacement load balancer for the equivalence group, wherein the replacement load balancer is assigned a network address of the first load balancer;
- and
- initiate a disabling of the first load balancer.
A method, comprising:
- identifying, by a migration manager implemented at one or more computing devices of a provider network, a source group of one or more compute instances to be migrated from a first logical partition of the provider network to a second logical partition of the provider network, wherein the second logical partition comprises one or more isolated virtual networks (IVNs) established on behalf of respective clients of the provider network, and wherein the one or more compute instances are configured with a first load balancer;
- triggering, by the migration manager, an establishment of an equivalence group of compute instances within a particular IVN of the second logical partition, wherein the equivalence group comprises respective replacement instances corresponding to the compute instances of the source group, and wherein a particular replacement instance of the equivalence group is assigned a network address of a corresponding compute instance of the source group;
- initiating, by the migration manager, a modification of one or more configuration settings to enable connectivity between the equivalence group and the first load balancer;
- and
- triggering, by the migration manager, an establishment within the particular IVN of a replacement load balancer with connectivity to the equivalence group, wherein the replacement load balancer is assigned a network address identical to that of the first load balancer.
A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors implement a migration manager of a virtual computing service of a provider network, wherein the migration manager is configured to:
- identify a source group of one or more compute instances to be migrated from a first logical partition of the provider network to a second logical partition of the provider network, wherein the second logical partition comprises one or more isolated virtual networks (IVNs) established on behalf of respective clients of the provider network, and wherein the one or more compute instances are configured with a first load balancer;
- trigger an establishment of an equivalence group of compute instances within a particular IVN of the second logical partition, wherein the equivalence group comprises respective replacement instances corresponding to the compute instances of the source group, and wherein a particular replacement instance of the equivalence group is assigned a network address of a corresponding compute instance of the source group;
- initiate a modification of one or more configuration settings to enable connectivity between the equivalence group and a first load balancer located within the first logical partition;
- and
- initiate a configuration of a replacement load balancer within the particular IVN.
Dependencies are inferred from the claim text.