Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| os:os_awscli [2026/11/07 06:17] – created tmatejuk | os:os_awscli [2026/11/07 18:37] (current) – tmatejuk | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| === how to install awscli at jumphost-17 === | === how to install awscli at jumphost-17 === | ||
| - | | + | cd /tmp |
| - | | + | |
| curl " | curl " | ||
| unzip awscliv2.zip | unzip awscliv2.zip | ||
| ./ | ./ | ||
| - | |||
| - | remove temporary files | ||
| - | cd ~/ | ||
| - | rm -rf aws/ | ||
| - | rm awscliv2.zip | ||
| Add to file `~/.bashrc` line if not present : | Add to file `~/.bashrc` line if not present : | ||
| Line 35: | Line 29: | ||
| + | == configure awscli == | ||
| + | Use command `aws configure` to create default configuration. You can provide your real 'AWS Access Key ID', 'AWS Secret Access Key' instead of ' | ||
| + | |||
| + | $ aws configure | ||
| + | AWS Access Key ID [None]: A | ||
| + | AWS Secret Access Key [None]: B | ||
| + | Default region name [None]: us-east-1 | ||
| + | Default output format [None]: json | ||
| + | |||
| + | Above will create two new files in '' | ||
| + | $ tree ~/.aws -p | ||
| + | ├── [-rw-------] | ||
| + | └── [-rw-------] | ||
| - | ==== configure awscli ==== | ||
