# Fleet Manager Virtual Networks[¶](https://developer.dataiku.com/latest/concepts-and-examples/fleetmanager/virtualnetworks.html#fleet-manager-virtual-networks "Permalink to this heading")

A virtual network allows instances to communicate with each other.

## Create a new virtual network[¶](https://developer.dataiku.com/latest/concepts-and-examples/fleetmanager/virtualnetworks.html#create-a-new-virtual-network "Permalink to this heading")

§ import dataikuapi

§ key\_id = "<my key id>"

§ key\_secret = "<my key secret>"

§ # <Cloud vendor> is either AWS, Azure or GCP

§ client = dataikuapi.FMClient<Cloud vendor>("https://localhost", key\_id, key\_secret)

§ creator = client.new\_virtual\_network\_creator("MyNetwork")

§ # set the properties of your network

§ ...

§ network = creator.create()

## Reference documentation[¶](https://developer.dataiku.com/latest/concepts-and-examples/fleetmanager/virtualnetworks.html#reference-documentation "Permalink to this heading")

|  |  |

| --- | --- |

| `dataikuapi.fm.virtualnetworks.FMVirtualNetwork`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMVirtualNetworkCreator`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMAWSVirtualNetwork`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMAWSVirtualNetworkCreator`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMAzureVirtualNetwork`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMAzureVirtualNetworkCreator`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMGCPVirtualNetwork`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMGCPVirtualNetworkCreator`(...) |  |

| `dataikuapi.fm.virtualnetworks.FMHTTPSStrategy`(...) |  |
