Installing and Configuring AWS CLI

You can manage your OUTSCALE Cloud resources using AWS CLI, a command-line interface (CLI) developed by Amazon Web Services™.

AWS CLI is compatible with all our AWS-compliant API services except Internal Call Unit (ICU). To send requests to the ICU service, you can use either Cockpit or OSC CLI. For more information about using Cockpit and OSC CLI, see Tutorial: Getting Started with the OUTSCALE Cloud.

For an advanced use of AWS CLI, see Advanced Use of AWS CLI for 3DS OUTSCALE.

Installing and Configuring AWS CLI

  1. Install AWS CLI. For more information, see the official AWS CLI documentation.

  2. Type the following command in your terminal:

    $ aws configure
  3. Specify the configuration elements:

    • AWS Access Key ID: Your OUTSCALE Access Key.

    • AWS Secret Access Key: Your OUTSCALE Secret Key. For more information, see Getting Information About Your Access Keys.

    • Default region name: The name of the OUTSCALE Cloud Region you want to use. For more information, see Regions, Endpoints and Subregions Reference.

    • Default output format: This must be set to json.

      This command sets up a default, unnamed profile. To set up a different, named profile for each Region that you can use, use the --profile attribute following this syntax.

      $ aws configure --profile YOUR_PROFILE

Using AWS CLI

To send a request to an AWS-compliant API, specify in your command:

  • The name of a compatible AWS API.

    The following AWS APIs are compatible with OUTSCALE services:

    • ec2 for FCU

    • elb for LBU

    • iam for EIM

    • directconnect for DirectLink

    • s3api for OOS

  • (optional) The named profile using the --profile attribute.

  • The endpoint using the --endpoint attribute.

  • Any other attribute required by the command.

Request sample
$ aws ec2 describe-instances \
    --profile YOUR_PROFILE \
    --endpoint https://fcu.REGION_NAME.outscale.com

For more information about AWS CLI command lines, see the AWS Command Reference.

Related Pages

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.