Managing Cloud Agents
Cloud agent profiles provision build agents on demand from cloud providers (AWS, Azure, GCP, Kubernetes, and others). Profiles belong to TeamCity projects, their images define what to provision, and instances are the running cloud machines. The teamcity project cloud command group lets you inspect and manage all three.
Cloud profiles
Listing profiles
View cloud profiles configured for a project:

List profiles for a specific project:
profile list flags
Flag | Description |
|---|---|
| Filter by project ID |
| Maximum number of profiles to display (use 0 for all) |
| Output as JSON. Use |
Viewing profile details
Cloud images
Listing images
View cloud images available for a project:

Filter by cloud profile:
image list flags
Flag | Description |
|---|---|
| Filter by project ID |
| Filter images by cloud profile ID |
| Maximum number of images to display (use 0 for all) |
| Output as JSON. Use |
Viewing image details
Starting an instance from an image
Start a new cloud instance from a selected image:
The command returns the new instance ID on success.
Cloud instances
Listing instances
View running cloud instances for a project:
Filter by image:
instance list flags
Flag | Description |
|---|---|
| Filter by project ID |
| Filter instances by cloud image name or explicit ID locator |
| Maximum number of instances to display (use 0 for all) |
| Output as JSON. Use |
Viewing instance details
Stopping an instance
Stop a cloud instance gracefully:
Force-stop for immediate termination: