Step 2: Upload the content to the bucket - Amazon CloudFront

Step 2: Upload the content to the bucket

To upload the content to Amazon S3
  1. In the Buckets section, choose your new bucket. The page for the bucket appears. Choose Upload.

  2. On the Upload page, drag the three hello world files into the drop area.

  3. Leave all other settings at their defaults, and then choose Upload.

  4. After the upload is complete, you can enter the Amazon S3 URL in a web browser, to verify that the content is publicly accessible. Keep in mind that this URL is a shortcut for you. Your customers won't use this URL to access the content. They will use the URL of the distribution, as described in the next two steps.

    The syntax is:

    https://<bucket name>.s3-<AWS Region>.amazonaws.com/<object name>

    For example:

    https://my-sample-bucket.s3-us-west-2.amazonaws.com/index.html

    If you created the bucket in the US East (N. Virginia) Region (us-east-1), omit the <AWS Region> portion of the URL. For example:

    https://my-sample-bucket.s3.amazonaws.com/index.html