Amazon S3 Bucket Creation

Learn how to create an Amazon S3 bucket to allow the Django web app to serve its static files including images from a bucket provided by Amazon.

Amazon S3 or Amazon Simple Storage Service is a service that allows websites to serve their static files including images from a bucket provided by Amazon. Instead of serving the images locally from our Django project (not recommended for production), we will use this Amazon service.

Background

Run the app in the following widget and go to the Detail Listing page for one of the listings:

Note: The following code requires three API keys. Please put any random values for now as they are not used at the moment. We will set them up later.
Please note that the AWS Access Key ID and AWS Secret Access Key used here are different from the ones we used earlier to configure the AWS CLI.

Get hands-on with 1200+ tech skills courses.