The product described by this documentation, GKE on AWS, is now in maintenance mode and will be shut down on March 17, 2027.

Configure the AWS CLI

This page is for IT administrators and Operators who want to set up, monitor, and manage cloud infrastructure. To learn more about common roles and example tasks that we reference in Google Cloud content, see Common GKE user roles and tasks.

To install and configure the AWS command-line interface, do the following:

  1. Install the AWS CLI.

  2. Configure the AWS CLI with your AWS credentials.

  3. Configure the AWS CLI to use your chosen AWS region:

    awsconfiguresetdefault.regionAWS_REGION
    

    Replace AWS_REGION with the name of a supported AWS region.

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月24日 UTC.