← Back to Help & Guides

Customer Installation & Setup

Get CloudOpsGPT running in your AWS account.

  1. Deploy the Runtime

    From your CloudOpsGPT Dashboard, choose your Runtime domain (managed or custom), then launch the AWS CloudFormation deployment. Create the stack and wait until AWS shows CREATE_COMPLETE.

    When launched from the Dashboard, CloudOpsGPT passes your activation token and Runtime version to the deployment automatically.

    Your 7-day trial starts when your Runtime successfully registers and connects — not when you create your workspace.

    Go to Dashboard

    CloudFormation details

    Sign in to the Portal, open Dashboard, and choose Launch CloudFormation. Portal Launch CloudFormation is the supported customer Runtime deployment flow. Portal supplies CloudOpsGPT-specific deployment parameters automatically. The customer reviews and creates the CloudFormation stack in their AWS account.

    Launch CloudFormation (from Dashboard): CloudOpsGPT prefills your ActivationToken, sets RuntimeVersion=version42, and uses NetworkMode=Managed (CloudOpsGPT creates the VPC — you do not select VPC/subnets).

    AWS cost note: Runtime infrastructure is deployed into your AWS account. AWS bills those charges directly to your AWS account. Managed deployment creates networking/runtime resources such as VPC/subnets, ALB, EC2, EBS, public IPv4, and supporting resources. Those AWS charges are not included in the CloudOpsGPT subscription.

    1. Stack name: CloudOpsGPT-Runtime in your chosen region.
    2. Acknowledge IAM capabilities if prompted.
    3. Wait for CREATE_COMPLETE (typically 10–15 minutes).
    ParameterWhenDescription
    ActivationTokenManaged hostnamePortal activation token. Required when RuntimeDomainName is empty.
    RuntimeDomainNameCustomer domainYour FQDN. Leave empty when using managed hostname with ActivationToken.
    NetworkModeDefault ManagedManaged creates a CloudOpsGPT VPC (default). Existing uses your VPC (advanced).
    VpcIdExisting network onlyRequired only when NetworkMode=Existing.
    PublicSubnetIdsExisting network onlyExactly two public subnet IDs in different AZs when NetworkMode=Existing.

    Custom domain: Route53HostedZoneId is optional when your customer-owned domain uses Route53 in this AWS account. Supply ActivationToken with empty RuntimeDomainName, or a non-empty RuntimeDomainName.

    ParameterDefaultNotes
    RuntimeVersionversion42Container image tag in your account ECR. Dashboard Launch sets this automatically.
    ManagedVpcCidr10.200.0.0/24Used only when NetworkMode=Managed.
    InstanceTypet3.mediumt3.small, t3.medium, or t3.large.
    KeyNameemptyOptional. SSM is preferred over SSH.
    RuntimeApiUrlprovidedLeave unchanged unless Portal directs otherwise.
    DeploymentBucketprovidedBootstrap artifact bucket.
    RuntimeDnsServiceTokenprovidedManaged hostname DNS custom resource.

    After stack creation, bootstrap installs Docker and starts Runtime services. If the Runtime URL does not respond, wait several minutes, then check stack Events. For persistent issues, connect with AWS Systems Manager Session Manager (InstanceId output) and review /var/log/cloudopsgpt-install.log.

    Required after CREATE_COMPLETE — Termination protection: As the AWS account administrator, enable CloudFormation Termination Protection on the CloudOpsGPT stack (Console → Stack → Stack actions → Edit termination protection, or aws cloudformation update-termination-protection --enable-termination-protection --stack-name <StackName>). Verify with aws cloudformation describe-stacks --stack-name <StackName> --query "Stacks[0].EnableTerminationProtection" (must return True), then confirm in the Portal Dashboard. CloudOpsGPT does not enable this automatically and does not claim protection until you verify it.

    Intentional uninstall: (1) AWS administrator deliberately disables termination protection; (2) AWS administrator deliberately deletes the CloudOpsGPT stack. The 100 GB data volume may be retained — delete it manually in EC2 if no longer needed.

    Bootstrap pulls container images from ECR repositories cloudopsgpt/runtime-backend and cloudopsgpt/runtime-frontend in your deployment AWS account. If Docker pull fails, contact support@cloudopsgpt.com.

    For customer-owned domains, follow the AcmDnsValidationNote output until DNS and the certificate are valid.

    What the template creates (Managed network):

    • CloudOpsGPT Managed VPC with Internet Gateway and exactly two public subnets (no NAT Gateway)
    • Application Load Balancer with HTTPS and HTTP→HTTPS redirect across two AZs
    • EC2 instance (Amazon Linux 2023) behind the ALB with public IPv4 for outbound access
    • Security groups — public HTTPS to ALB; EC2 reachable from ALB only; SSM for administration
    • EBS root (30 GB) and data volume (100 GB, retained on instance terminate)
    • IAM role — SSM, S3 artifacts, same-account ECR pull
    • Managed hostname or customer domain certificate path
    • Runtime services (Docker) started on first boot

    Stack outputs

    OutputDescription
    RuntimeUrlHTTPS URL for Runtime.
    RuntimeDomainNameHostname on the certificate.
    AlbDnsNameALB DNS name.
    CertificateArnACM certificate ARN.
    AcmDnsValidationNoteDNS/certificate instructions.
    InstanceIdEC2 instance for SSM access.
    ActivateRuntimeCommandAdvanced CLI activation hint.
    AdminPasswordCommandSupport use only.
    PortalUrlCommercial Portal.
    RuntimeVersionDeployed release tag.

    Cleanup / intentional uninstall: First disable termination protection, then delete the CloudFormation stack to remove ALB, EC2, and most resources. The 100 GB data volume may be retained — delete it manually in EC2 if no longer needed.

  2. Open your Runtime

    After the stack reaches CREATE_COMPLETE, open the Runtime URL created by the deployment. CloudOpsGPT activation runs automatically during Runtime startup.

    When Runtime is ready, you'll see the CloudOpsGPT sign-in page. Sign in with your Runtime user account to continue.

    Where do I find RuntimeUrl?

    In the AWS Console, open your CloudOpsGPT stack → Outputs → copy RuntimeUrl. After CREATE_COMPLETE, wait a few minutes for Runtime to finish starting, then open the URL.

    See stack outputs in CloudFormation details for the full output list.

  3. Set Up Kiro

    Complete the one-time Kiro setup for your organisation. Organisation administrators perform this step before your team uses CloudOpsGPT with Kiro.

    Open Kiro Setup

  4. Connect an AWS Account

    From Runtime, connect the AWS account you want CloudOpsGPT to work with. Follow the account connection flow shown in Runtime.

    Connection help

    Deploy the cross-account IAM role in each managed AWS account, register the role ARN in Runtime, and wait for Connected. Ensure ExternalId and trust policy match Runtime instructions. If connection fails, redeploy or update the role stack and re-register.

  5. Start Using CloudOpsGPT

    You're ready. Open CloudOpsGPT and run your first AWS task — for example, ask what the most important resources are in your connected account.

    Go to Dashboard

Having trouble?

Choose the issue you're seeing.

Runtime didn't deploy

Open the CloudFormation stack and check the first failed resource under Events. Fix the reported issue, then retry the deployment.

Runtime URL doesn't open

Confirm the stack shows CREATE_COMPLETE. Wait a few minutes and try the Runtime URL again.

Runtime did not connect

Activation runs automatically after deployment. Wait a few minutes, then refresh the CloudOpsGPT Dashboard.

Advanced recovery (support-directed only)

Regenerate your Activation Token in the Portal Dashboard if it is older than 24 hours. Tokens are single-use for bootstrap activation.

Connect to the Runtime host with AWS Systems Manager Session Manager (InstanceId stack output) and review /var/log/cloudopsgpt-install.log.

If automatic activation did not finish, run sudo activate-runtime.sh cog_act_YOUR_TOKEN_HERE on the host with a fresh token from the Dashboard.

Kiro setup issue

Open Kiro Setup and complete the organisation setup.

AWS account connection issue

Verify the role ARN, ExternalId, and trust policy match the Runtime connection instructions, then re-register the account in Runtime.

Runtime offline in Portal

Confirm the Runtime EC2 instance is running, then refresh the Dashboard.

If status stays offline, use Contact Support below.

Still need help? Contact Support