Zop is a comprehensive tool for managing cloud infrastructure. It consists of three main components:
- zop-cli: Command-line interface for developers and admins.
- zop-api: Backend API service.
- zop-ui: User interface for managing and monitoring cloud resources.
- Docker installed on user system.
Run the following command to pull and start the Docker image for the zop-api:
docker run -d -p 8000:8000 --name zop-api zopdev/zop-api:v0.0.2
Run the following command to pull and start the Docker image for the zop-ui:
docker run -d -p 3000:3000 -e NEXT_PUBLIC_API_BASE_URL='http://localhost:8000' --name zop-ui zopdev/zop-ui:v0.0.2
Note: The environment variable
NEXT_PUBLIC_API_BASE_URL
is used by zop-ui to connect to the zop-api. Ensure that the value matches the API's running base URL.
Run the following command install zop-cli:
go install zop.dev/clizop@latest
Note: Set the environment variable
ZOP_API_URL
, used by zop-cli to connect to the zop-api. Ensure that the value matches the API's running base URL.
-
cloud import
Imports all the cloud accounts present on the local system to the zop-api.zop cloud import
-
cloud list
Lists all the cloud accounts present in the zop-api.zop cloud list
-
application add -name=<app_name>
Adds a new application to the zop-api. This lets users add environment is ascending order of their continuous delivery sequence.
zop application add -name=<app_name>
-
application list
Lists all the applications present in the zop-api for a selected application.
zop application list
-
environment add
Adds a new environment to the zop-api. This lets user add deployment in ascending order of their continuous delivery sequence. Users can add multiple environments to an application.
zop environment add
-
environment list
Lists all the environments present in the zop-api for a selected application.
zop environment list
-
deployment add
Adds a new deployment to the zop-api. The users are needed to select cloud-account and the application environment where the deployment space is needed to be configured. Then users can select from a list of available options(ex, GKE cluster, AWS EC2 instance, etc.) to deploy their application.
zop deployment add