Setting up of AWS Command Line

This section describes how to set up AWS Command Line Interface and dynamo-db.

Procedure:

  1. Download AWS CLI from here.
  2. From the installed location, configure aws by providing the details such as Access Key ID, Secret Access Key, Region and Output Format.

    $ aws configure

    AWS Access Key ID [None]:               EXAMPLEKEYID

    AWS Secret Access Key [None]:        EXAMPLEKEY

    Default region name [one]:                 us-west-2

    Default output format [None]:

    The configuration details are stored in config & credentials file under USERS directory.

  3. Download dynamo-db from here.
  4. From the installed location, execute the below command.
    java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb to launch dynamo-db.

    You can now access dynamo-db from AWS CLI.

    aws dynamodb list-tables

    aws dynamodb scan --table-name example-table-name


Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, August 29, 2023 2:16:17 PM IST

Last Updated R23 AMR