{
  "id": "aws-cli-vs-google-cloud-cli",
  "ids": [
    "aws-cli",
    "google-cloud-cli"
  ],
  "title": "AWS CLI vs Google Cloud CLI: command-line cloud administration",
  "heading": "AWS CLI vs Google Cloud CLI",
  "kicker": "Software workflow comparison",
  "deck": "AWS CLI and Google Cloud CLI operate different provider APIs and resource models. The practical requirement is a script the team can authenticate, target and clean up safely in the selected cloud.",
  "description": "Compare AWS CLI vs Google Cloud CLI for command-line cloud administration.",
  "answerHeading": "Which option fits the requirement?",
  "answer": "AWS CLI and Google Cloud CLI operate different provider APIs and resource models. The practical requirement is a script the team can authenticate, target and clean up safely in the selected cloud.",
  "checkedAt": "2026-10-25",
  "researchTag": "Deployment, compatibility and cost scope",
  "researchLimit": "Official product material reviewed. Acceptance checks are proposed exercises, not completed product trials, performance measurements or reliability guarantees.",
  "datasetDescription": "Seven technical differences and four proposed acceptance checks for AWS CLI vs Google Cloud CLI.",
  "type": "workflow-buying",
  "sharedBuyingNeed": "Evaluate alternative approaches to command-line cloud administration.",
  "rows": [
    [
      "Provider context",
      "AWS",
      "Google Cloud"
    ],
    [
      "Primary role",
      "Command-line access to supported AWS services",
      "Command-line access to Google Cloud tools"
    ],
    [
      "Interface",
      "AWS command syntax and configuration",
      "gcloud and included tooling"
    ],
    [
      "Resource scope",
      "Selected AWS account and region",
      "Selected Google Cloud project and location"
    ],
    [
      "Identity context",
      "AWS credentials and supported sign-in configuration",
      "Google Cloud credentials and IAM"
    ],
    [
      "Evaluation focus",
      "Account selection, permissions and repeatable scripts",
      "Project selection, permissions and repeatable scripts"
    ],
    [
      "Cost components",
      "Provisioned AWS resources, connected services and operating effort",
      "Provisioned Google Cloud resources, connected services and operating effort"
    ]
  ],
  "scenarios": [
    {
      "name": "Identity",
      "question": "Can the team sign in with an approved non-production identity?",
      "left": "With AWS CLI, sign in with an approved non-production identity.",
      "right": "With Google Cloud CLI, sign in with an approved non-production identity.",
      "note": "The CLI has only the intended test permissions."
    },
    {
      "name": "Target selection",
      "question": "Can the team display and verify the active account, project or subscription?",
      "left": "With AWS CLI, display and verify the active account, project or subscription.",
      "right": "With Google Cloud CLI, display and verify the active account, project or subscription.",
      "note": "The operator can prove commands target the intended environment."
    },
    {
      "name": "Repeatable command",
      "question": "Can the team run a safe read-only command from a retained script?",
      "left": "With AWS CLI, run a safe read-only command from a retained script.",
      "right": "With Google Cloud CLI, run a safe read-only command from a retained script.",
      "note": "The team can reproduce and interpret the output."
    },
    {
      "name": "Cleanup",
      "question": "Can the team remove disposable resources created by the approved test?",
      "left": "With AWS CLI, remove disposable resources created by the approved test.",
      "right": "With Google Cloud CLI, remove disposable resources created by the approved test.",
      "note": "The resource inventory and ongoing cost match the cleanup plan."
    }
  ],
  "exampleTable": {
    "caption": "Proposed exercises using copied files, test accounts or other authorised non-production material. Record the app edition, device, settings and observed outcome.",
    "headers": [
      "Requirement",
      "Proposed exercise",
      "Accept when"
    ],
    "rows": [
      [
        "Identity",
        "Sign in with an approved non-production identity.",
        "The CLI has only the intended test permissions."
      ],
      [
        "Target selection",
        "Display and verify the active account, project or subscription.",
        "The operator can prove commands target the intended environment."
      ],
      [
        "Repeatable command",
        "Run a safe read-only command from a retained script.",
        "The team can reproduce and interpret the output."
      ],
      [
        "Cleanup",
        "Remove disposable resources created by the approved test.",
        "The resource inventory and ongoing cost match the cleanup plan."
      ]
    ]
  },
  "sections": [
    {
      "id": "scope-and-architecture",
      "navLabel": "Product fit",
      "title": "Workflow and product fit",
      "paragraphs": [
        "AWS CLI and Google Cloud CLI operate different provider APIs and resource models. The practical requirement is a script the team can authenticate, target and clean up safely in the selected cloud.",
        "A cloud CLI is a tool for the provider’s APIs, not a cloud hosting service by itself. Commands, authentication and resource models differ. Running the CLI without a licence fee does not make the resources it creates free."
      ],
      "links": [
        {
          "url": "https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html",
          "label": "AWS CLI product information"
        },
        {
          "url": "https://docs.cloud.google.com/sdk/gcloud?hl=en",
          "label": "Google Cloud CLI product information"
        }
      ]
    },
    {
      "id": "cost-and-migration",
      "navLabel": "Costs & migration",
      "title": "Cost and migration planning",
      "paragraphs": [
        "For AWS CLI, include provisioned AWS resources, connected services and operating effort. For Google Cloud CLI, include provisioned Google Cloud resources, connected services and operating effort. Use the same workload and resilience assumptions, then confirm current vendor terms for the selected configuration.",
        "Use an authorised non-production account, least-privilege test identity and a cleanup plan. Retain scripts with explicit project, subscription or account selection so commands cannot accidentally target production."
      ]
    }
  ],
  "faqs": [
    {
      "question": "How should we choose between AWS CLI and Google Cloud CLI?",
      "answer": "AWS CLI and Google Cloud CLI operate different provider APIs and resource models. The practical requirement is a script the team can authenticate, target and clean up safely in the selected cloud."
    },
    {
      "question": "Which costs belong in the comparison?",
      "answer": "For AWS CLI, include provisioned AWS resources, connected services and operating effort. For Google Cloud CLI, include provisioned Google Cloud resources, connected services and operating effort. Use the same workload and resilience assumptions, then confirm current vendor terms for the selected configuration."
    },
    {
      "question": "What should we check before switching?",
      "answer": "Use an authorised non-production account, least-privilege test identity and a cleanup plan. Retain scripts with explicit project, subscription or account selection so commands cannot accidentally target production."
    }
  ],
  "sources": [
    {
      "url": "https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html",
      "facts": "Official product scope, deployment and integration context used for command-line cloud administration."
    },
    {
      "url": "https://docs.cloud.google.com/sdk/gcloud?hl=en",
      "facts": "Official product scope, deployment and integration context used for command-line cloud administration."
    }
  ],
  "relatedLinks": [
    {
      "path": "/categories/cloud-devops/",
      "title": "Cloud Devops software"
    },
    {
      "path": "/guides/software-buying-checklist/",
      "title": "Software buying checklist"
    }
  ]
}
