Environments Overview

Discover how easy it is to create network groups, called environments, on Cycle.

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

Only deploy containers into the same environment if they are related. For example, if you're building an app, you may have a database container, a frontend container, and an API container all deployed to an environment sharing the application name.

Private Networks

One of the most difficult aspects of using containers is networking them together. Though this has gotten a bit easier over the years, nothing comes close to the simple, yet powerful approach of Cycle environments.

Feature Alert
In the near future, Cycle will support networking multiple environments together, leading to limitless options when it comes to how your containers communicate.

Every container deployed into the same environment has a private, encrypted 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:

  • IPv4 - 10.[environment].[container].[instance].
  • IPv6 - fd00::[environment]:[container]:[instance]:[unallocated].

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:

The Environment Dashboard

From the environment dashboard, you are able to get a bird's eye view of all the containers running within. See where instances are deployed to, the number of containers/instances online, active services and their IPs, and a log of all activity within the environment. To get to the container 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.
  3. Alternatively, from within an environment, click the "Dashboard" tab at any time.

Starting/Stopping Containers

While containers can be managed individually, you may wish to start or stop all containers within an environment simultaneously.

Navigate to an environment dashboard, and in the top right corner you will see three buttons:

  • - Start All Containers.
  • - Stop All Containers.
  • Deploy Containers.

Need Help?

If you've got questions about the platform or need some help getting started, our team is more than happy to assist. Whether you're new to containers or just new to Cycle, reach out to us via livechat by clicking the blue circle in the bottom right corner. Join our Slack channel, and get help from the dev team or other members of the community, and check out our Roadmap to see what's planned for the future!