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. For an advanced use of AWS CLI, see Advanced Use of AWS CLI for 3DS OUTSCALE.
Installing and Configuring AWS CLI
-
Install AWS CLI. For more information, see the official AWS CLI documentation.
-
Type the following command in your terminal:
$ aws configure
-
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 About Regions and Subregions. -
Default output format
: This must be set tojson
.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
-
-
The name of the command.
-
(optional) The named profile using the
--profile
attribute. -
The endpoint using the
--endpoint
attribute. For more information, see API Endpoints Reference. -
Any other attribute required by the command.
$ aws ec2 describe-instances \
--profile YOUR_PROFILE \
--endpoint https://fcu.eu-west-2.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.