VPCs¶
An eCloud Virtual Private Cloud (VPC) is a logical collection of resources defined by its networking.
How a VPC works¶
A VPC is much like a traditional data centre where you can (virtually) create your networking (routers and networks) and then create resources attached to those networks to consume. On creation we add a DHCP server to the VPC and some other minor administrative jobs to get going, there is no charge for a VPC by itself.
You can filter by VPC by selecting the VPC from the left hand menu (set to ‘Show All’ by default.)
How to create a VPC¶
Select the region you want to create the VPC in using the dropdown on the left hand menu and press the Create VPC button.
You will be asked to enter a name, if you wish to have the default networking created for you then leave the check box (this will create a router on our free tier & a network CIDR of 10.0.0.0/24). There is also the option to allow advanced networking, this enables east-west firewalling between network segments – note that this can only be done on VPC creation but does incur additional costs for instances.
Tick the terms and conditions check box and create the VPC.
Automation is then triggered to configure your VPC in the background (should be almost instant). Automation does the following tasks (depending on what you set);
Creates a router in the default Availability Zone (if there is only one, otherwise you can pick your AZ). The routers throughput is set to 25Mb/s by default.
Creates a 10.0.0.0/24 CIDR Network
Creates default firewall rules (if you selected ‘Create default networking’) to allow common communication ports with your network and further restrict inbound access to your network
The VPC is then available for you to start adding resources to.
Deleting your VPC¶
VPCs with no billable resources can be left deployed to save time with future deployments, there is no charge for a VPC by itself.
If you no longer require your VPC, you must first ensure that all resources within the VPC have been deleted, you can then delete the VPC from the VPC list view or by selecting the VPC and then clicking the Delete VPC button.
If you receive an error regarding active dependant resources, this means a billable service is still online and requires manual deletion in order to cancel that service.
You can use the Cost Management Summary to check for any active resources in your VPC, common resources that require manual deletion include:
Instances
Networks/Routers
Floating IP addresses
Load Balancers
VPN/Backup Gateways
Once all dependant resources have been removed, you can trigger the VPC removal process and the VPC will be removed from your account.