Managing VPC network, extra IPs, and firewall
In this article, we will guide you through the process of creating and managing a VPC network, extra IPs, and firewalls on our platform.
Creating a VPC Network
To create a VPC network, you need to provide a name, description, and region. Please note that in order to create a VPC network in a specific region, you must have at least one active instance in that region. If you do not have an active instance, you can create the VPC network when you create a new instance, following the instructions in the "Create Instance" tutorial.
Once the VPC network is created, a default CIDR is allocated for the VPC private network. If you wish to change the default CIDR, you can do so by clicking the "More -> Edit" button on the VPC network you wish to edit.
Managing Extra IPs
On the Extra IPs tab, you can see the allocated Extra IPs that are part of a VPC network created by you. On the right side, you will find a "More" button with "Unassign/Assign and Delete" next to each Extra IP. You can move an Extra IP from one instance to another instance by unassigning and assigning. The instance you assign to/from must be part of the same VPC network. You cannot assign an Extra IP to an instance that is part of a different VPC network.
You can assign a new Extra IP by clicking the "Assign Extra IP" button on the top right. Once you click this button, a new window will open where you must select the region. You will only see available regions and a region will only be considered available if you have a VPC network in that region. After selecting the region, you must select the instance to which you want to assign the Extra IP, and then click "Assign Extra IP" to confirm the assignment.
Creating and Managing Firewall
On the Firewall tab, you can create firewall rules for incoming traffic. You can specify the protocol (TCP, UDP, ICMP), port range (1-65535), source (you can specify ALL IPv4, instances and LB from your account, or any other source IP), and assign the rule to the instance to which you want the rule to be applied.
Please note that only instances that are part of a VPC network are eligible for firewall rules, and the rules can only be applied to Extra IPs that are routed through your VPC. If you have an instance with a basic network, you must configure the firewall from the operating system side.
In conclusion, managing VPC network, Extra IPs, and firewalls on Shapehost is a straightforward process.
We hope this article has been helpful, and if you have any questions, please don't hesitate to reach out to us.