### Installation

- [Installing, updating, and uninstalling the AWS CLI version 2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)

#### Linux

```bash
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
complete -C aws_completer aws
```

### Auto Complete

[Use config files to set up](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-config-cli_auto_prompt)

### CloudFormation

- Create a stack

  ```bash
  aws cloudformation create-stack --stack-name <stack name> \
  --template-url <URL for template file in S3> \
  ```

- Delete a stack

  ```bash
  aws cloudformation delete-stack \
  --stack-name <stack name / stack ID>
  ```