Step 2: Set Up the Amazon Command Line Interface (Amazon CLI) - Amazon Kinesis Data Analytics for SQL Applications Developer Guide
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

For new projects, we recommend that you use the new Managed Service for Apache Flink Studio over Kinesis Data Analytics for SQL Applications. Managed Service for Apache Flink Studio combines ease of use with advanced analytical capabilities, enabling you to build sophisticated stream processing applications in minutes.

Step 2: Set Up the Amazon Command Line Interface (Amazon CLI)

Follow the steps to download and configure the Amazon Command Line Interface (Amazon CLI).

Important

You don't need the Amazon CLI to perform the steps in the Getting Started exercise. However, some of the exercises in this guide use the Amazon CLI. You can skip this step and go to Step 3: Create Your Starter Amazon Kinesis Data Analytics Application, and then set up the Amazon CLI later when you need it.

To set up the Amazon CLI
  1. Download and configure the Amazon CLI. For instructions, see the following topics in the Amazon Command Line Interface User Guide:

  2. Add a named profile for the administrator user in the Amazon CLI config file. You use this profile when executing the Amazon CLI commands. For more information about named profiles, see Named Profiles in the Amazon Command Line Interface User Guide.

    [profile adminuser] aws_access_key_id = adminuser access key ID aws_secret_access_key = adminuser secret access key region = aws-region

    For a list of available Amazon Web Services Regions, see Regions and Endpoints in the Amazon Web Services General Reference.

  3. Verify the setup by entering the following help command at the command prompt:

    aws help

Next Step

Step 3: Create Your Starter Amazon Kinesis Data Analytics Application