This article details how Floating IP addresses can be managed in the Cloud Dashboard as well as how port forwarding can be managed.
Floating IPs in mCloud refer to a public IP Address that can be attached and moved between multiple instances and does not require any reconfiguration to the underlying resources. There are a few ways that a Floating IP address can be deployed:
Completely Floating - Leave the IP completely detached from instances and configure it to forward specific ports only.
Associated - The floating IP is mapped 1:1 to a specified network port
Things to keep in mind while using Floating IP Addresses:
Floating IP addresses do not provide outbound NAT. If this is necessary you can configure an mCloud Router following the guide linked below:
https://support.micron21.com/kb/articles/375-how-to-create-a-new-private-network-in-mcloudAny inbound traffic is governed by security group rules. Any ports that are forwarded MUST be allowed via security groups for traffic to pass through
Method - Adding a Floating IP to a Project
Log into mCloud at https://mcloud.micron21.com/
Navigate to Project > Network > Floating IPs
Select "Allocate IP To Project"
Select the pool you want to draw an IP address from and click "Allocate IP"
Method - Configure Port Forwarding
Select the Drop Down menu on the right for the new floating IP and select "Configure floating IP port forwarding rules"
At the top right select "+ Add floating IP port forwarding rule"
Enter the details for your port forward, with the external port being the ‘listening’ port on the public floating IP, and the ‘internal’ being the port on the internal IP address.
Test that your port forward is working by visiting the IP as per below:
Method - Associate a Floating IP with an Instance’s Network Interface
Locate the Floating IP you’d like associated with a NIC then, on the right, select "Associate"
Select the Network port to associate then click Associate
Test the IP is correctly associated as per below: