Skip to content

Understand networks

Networking in a cloud environment involves various components such as routers, load balancers, and IP addresses, each playing a vital role in ensuring seamless communication and high availability of services. By understanding the roles of networks, routers, load balancers, and IP addresses in Rumble Cloud, you can better prepare for deploying and managing cloud resources.

Networking basics

  • Networks: Networks provide connectivity between instances (virtual machines) and other network components. Networks can be private, allowing communication between instances within the same project, or public, providing access to the internet or external networks.

  • Subnets: A subnet is a range of IP addresses within a network. It defines the IP addressing scheme for the instances and network components attached to the network.

  • Ports: Ports represent a connection point for attaching network interfaces to instances, routers, or other network devices. Each port is associated with an IP address and MAC address.

Routers

Routers are used to connect networks and route traffic between them. In Rumble Cloud, routers enable communication between instances in private networks and external networks or the internet. They also facilitate communication between different private networks within the same project.

Routers control the following features.

  • Routing: Directing traffic between internal networks and external networks.
  • Network Address Translation (NAT): Translating private IP addresses to a public IP address for outbound traffic and vice versa for inbound traffic.
  • Floating IPs: Associating public IP addresses (floating IPs) with instances to enable access from external networks.

Load balancers

Load balancers distribute incoming network traffic across multiple instances to ensure high availability and reliability of applications. They play a crucial role in managing traffic spikes and preventing overload on any single instance.

Load balancers control the following features.

  • Traffic distribution: Evenly distributing client requests across multiple instances based on predefined algorithms, such as round-robin or least connections.
  • Health checks: Monitoring the health of instances and automatically rerouting traffic away from unhealthy instances.
  • Session persistence: Ensuring that a client's requests are consistently directed to the same instance during a session, which is important for stateful applications.

IP addresses

IP addresses are used to identify and locate instances and network components in the cloud. Rumble Cloud uses two types of IP addresses.

  • Fixed IPs: Private IP addresses assigned to instances within a subnet. These addresses are used for internal communication within the cloud.
  • Floating IPs: Public IP addresses that can be dynamically associated with instances to enable access from external networks. Floating IPs are typically used for accessing instances from the internet or providing public-facing services.

See also