Skip to content

Commit 1041371

Browse files
committed
Correct readme typographic errors
1 parent 339d424 commit 1041371

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

1-Create_S3_Bucket/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In this step you will stage a private Amazon S3 bucket with a sample HTML file.
44

5-
**Note**: Amazon S3 routes any virtual hosted–style requests to the US East (N. Virginia) region by default if you use the US East (N. Virginia) endpoint (s3.amazonaws.com), When you create a new bucket, in any region, Amazon S3 updates DNS to reroute the request to the correct region, which might take time when using Amazon CloudFront for distribution in later section. For the purpose of this exercise, you will create a new bucket in AWS **region** `us-east-1`. Detailed explanation of **AWS Virtual hosting of buckets** is provided in [AWS User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html).
5+
**Note**: Amazon S3 routes any virtual hosted–style requests to the US East (N. Virginia) region by default if you use the US East (N. Virginia) endpoint (s3.amazonaws.com). When you create a new bucket, in any region, Amazon S3 updates DNS to reroute the request to the correct region, which might take time when using Amazon CloudFront for distribution in later section. For the purpose of this exercise, you will create a new bucket in AWS **region** `us-east-1`. Detailed explanation of **AWS Virtual hosting of buckets** is provided in [AWS User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html).
66

77
### Create S3 Bucket
88
1. Log into your AWS account and navigate to the [Amazon S3 Management Console](https://s3.console.aws.amazon.com/).
@@ -17,6 +17,6 @@ In this step you will stage a private Amazon S3 bucket with a sample HTML file.
1717
10. Choose the included sample file `sample.html` from your local drive.
1818
11. Choose **Upload** to upload the file.
1919

20-
You successfully created an Amazon S3 bucket and uploaded a sample HTML file. However if you try to access the sample HTML file using the S3 object URL, like `https://yourbucket.s3-us-west-2.amazonaws.com/sample.html`, in your browser you will get an access denied message. This is exactly what you want. You want to keep your S3 contents private and will only distribute them using an Amazon CloudFront distribution.
20+
You successfully created an Amazon S3 bucket and uploaded a sample HTML file. However if you try to access the sample HTML file using the S3 object URL, like `https://yourbucket.s3-us-east-1.amazonaws.com/sample.html`, in your browser you will get an access denied message. This is exactly what you want. You want to keep your S3 contents private and will only distribute them using an Amazon CloudFront distribution.
2121

2222
In [Step 2](../2-Create_CloudFront_Distribution/README.md), you will create the Amazon CloudFront Distribution.

3-Create_CloudFront_Key_Groups/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In this step you will create a trusted [CloudFront key group](https://docs.aws.a
77

88

99
### Create Key Pair
10-
The following steps use OpenSSL as an example of one way to create a key pair. There are many other ways to create an RSA key pair.
10+
There are different ways to create an RSA key pair. The following steps use OpenSSL to create a key pair.
1111
1. The following example command uses OpenSSL to generate an RSA key pair with a length of 2048 bits and save to the file named `private_key.pem`.
1212
```
1313
$ openssl genrsa -out private_key.pem 2048
@@ -21,12 +21,10 @@ $ openssl rsa -pubout -in private_key.pem -out public_key.pem
2121
1. On [Amazon CloudFront Management Console](https://console.aws.amazon.com/cloudfront)
2222
2. In the navigation menu, choose **Public keys**.
2323
3. Choose **Add public key**.
24-
4. In the **Add public key** window, do the following:
24+
4. In the **Add public key** window, complete the following and choose **Add**.
2525
- For **Key name**, type a name to identify the public key.
2626
- For **Key value**, copy and paste the contents of the public key. If you followed the steps in the preceding procedure, the public key is in the file named `public_key.pem`.
2727
- (Optional) For **Comment**, add a comment to describe the public key.
28-
29-
When finished, choose **Add**.
3028
5. Record the public key ID. You will use it later section.
3129

3230
### Create Key group

6-Create_CloudFront_SignedURL_Custom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Since the newly created Lambda role does **NOT** have permission to access **AWS
6565
6. In the browser, replace `"*"` with `"sample.html"` and hit enter. The webpage should render correctly now.
6666
7. Let's do another test by uploading a new file `"newsample.html"` to your Amazon S3 bucket.
6767
8. In the browser, replace `"sample.html"` with `"newsample.html"` and hit enter. The new webpage should render correctly as well.
68-
9. Try changing the date or IP address and see how it affect the access.
68+
9. Try changing the date or IP address and see how it affects the access.
6969

7070
With a custom policy using a wildcard `*`, you can use the signed URL with multiple files based on matching pattern. In the example above where we used an URL `"https://d1xxxxxxxxxxxx.cloudfront.net/*"`, any of the URLs below would work:
7171

0 commit comments

Comments
 (0)