Skip to main content

Environments Overview

Environments are logical groupings of containers. All containers deployed inside an environment automatically have a private network built between them, enabling seamless communication.

Containers deployed in environments are automatically configured to use environment private networks. For default environments this is an IPv6 network, while legacy environments also configure an IPv4 network as well.

IPv4 - 10.[environment].[container].[instance].

IPv6 - fd00::[environment]:[container]:[instance]:[unallocated].

Legacy Networks

A legacy environment will outfit each container with a subnet of IPv4 and IPv6 address space for its instances. Legacy does not mean instaed of it is also.

Every container deployed into the same environment has a private network built between them, regardless of their geographic location. Instances in Tokyo can communicate with your database in California, using nothing other than the hostname. Containers obtain both a private IPv4 and IPv6 address, where the format is:

Environment Services#

An environment service is a container Cycle starts within the environment to provide extra functionality. These services are created and managed automatically, but may have some configuration options available. At this time, two services are started in each environment:

High Availability Services#

The loadbalancer and discovery service can be deployed in high availability mode.

Required Resources

In order to use HA mode for services, there must be at least 2 servers deployed and those servers must be in different data centers.

To do this through the portal, click on any environment and then click the checkbox for HA & update.

When marking a service HA Cycle will take steps to make sure that the service is deployed in a way that has a high failure tolerance.

Swapping out of HA mode will scale your instances back down to a single instance. Cycle follows FILO and will eliminate the instances, starting with the last instance created and moving toward the original instance.

The Environment Dashboard#

From the environment dashboard, you are able to get a bird's eye view of containers and services for the environment, as well as information on the public load balancer and .

Navigating to the Environment Dashboard
  1. Select the Environments tab on the left in the navigation menu.
  2. Click the name of environment you wish to see from the list.
  • Alternatively, from within an environment, click the "Dashboard" tab at any time.

Take the next step by learning how to manage environments.