# Upload Files to AWS S3 via AWS Cli
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2023-02-17]]
## Synopsis
First create the bucket and generate the IAM user.
Save the access key for the cli:
```
aws configure
```
Use the command `cp` to upload the file.
```
aws s3 cp - s3://<bucket_name>/<path> < file_to_backup
```