From the course: AWS Essential Training for Developers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Uploading a file to S3 from the AWS CLI

Uploading a file to S3 from the AWS CLI

- [Instructor] We can use the S3 console to upload and download files to our S3 bucket, but let's do something more useful with it. First, we'll need to install the AWS CLI, or command line interface, onto our local computer. The instructions vary whether you are on Mac OS or Windows. So check out the installation instructions in the AWS documentation. I will follow the instructions from Mac OS and I'll download the GUI installer. Double click the file once it's downloaded and follow the onscreen install instructions. Open the application called Terminal and type aws and hit Enter to make sure it's installed and that you can access the CLI. Now that the CLI is installed, we need to authenticate it with our AWS account. Older instructions will tell you to configure the CLI with access keys, and you can find access keys in your AWS access portal. The problem is that these older access keys were not expiring and eventually…

Contents