quick start with aws ecscli

  1. Install ecscli Mac OSX:

    $ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-darwin-amd64-latest
    

    Linux:

    $ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest
    
  2. Apply execute permissions to the binary.

    $ sudo chmod +x /usr/local/bin/ecs-cli
    
  3. Verify that the CLI is working properly.

    $ ecs-cli --version
    
  4. Configure awscli

    $ ecs-cli configure --region us-west-2 --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY --cluster ecs-cli-demo
    

© 2015-2020 tendant