Deploy your first container

Cycleops is the ideal tool to deploy your containers on your hosts with a self‑service no‑code workflow.

Preparation

Before following the steps in this guide, let's make sure the following are available:

  • A server running Linux.
  • A public IP that can be used to access the server above.
  • A domain or subdomain (e.g. myapp.example.com).
  • A DNS A record for our domain or subdomain (e.g. myapp.example.com) pointing to the public IP of our server.
  • Inbound traffic to the server is allowed through port 22 (SSH), for Cycleops to run the deployments.
  • Inbound traffic to the server is allowed through port 80 (HTTP), for us to access our deployed container.
  • Inbound traffic to the server is allowed through port 443 (HTTPS), for us to access our deployed container securely.

Steps

To deploy your first container on Cycleops:

  1. Create a new host
  2. Create a new service using the Docker Container (simple) unit and the following configuration:
    • Name: cycleops-example
    • Image: public.ecr.aws/cycleops/sample-docker
    • Tag: latest
    • Ports: 80:80
  3. Create a new stack with the following units (order matters):
    • Docker Container (simple)
    • Docker Engine
  4. Create a new setup with the following configuration:
    • Stack: The one we created above.
    • Service for Docker Container (simple): The one we created above.
    • Service for Docker Engine: The default configuration available.
    • Target host: The one we created above
  5. Deploy the setup we created above.

Now, you can verify your container is running by the public IP of your host at port 80 in your browser.