Skip to content

Commit a212e96

Browse files
authored
S3 update (#300)
* S3 uploads (#294) * Added styling to create drop shadows on images via anchor in image url * Updated create S3 bucket process to reflect new default settings that prevent making a bucket public. I only later saw the guidelines around image creation, but have a look, as you may find these acceptable. as you may find these acceptable. * Updating screenshots for S3 buckets * Making copy changes
1 parent 055341d commit a212e96

25 files changed

+17
-13
lines changed

_chapters/create-an-s3-bucket-for-file-uploads.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First, log in to your [AWS Console](https://console.aws.amazon.com) and select *
2020

2121
![Select S3 Service screenshot](/assets/s3/select-s3-service.png)
2222

23-
Select **Create Bucket**.
23+
Select **Create bucket**.
2424

2525
![Select Create Bucket screenshot](/assets/s3/select-create-bucket.png)
2626

@@ -33,7 +33,7 @@ Make a note of the name and region as we'll be using it later in the guide.
3333

3434
![Enter S3 Bucket Info screenshot](/assets/s3/enter-s3-bucket-info.png)
3535

36-
Step through the next steps and leave the defaults by clicking **Next**, and then click **Create Bucket** on the last step.
36+
Step through the next steps and leave the defaults by clicking **Next**, and then click **Create bucket** on the last step.
3737

3838
![Set S3 Bucket Properties screenshot](/assets/s3/set-s3-bucket-properties.png)
3939
![Set S3 Bucket Permissions screenshot](/assets/s3/set-s3-bucket-permissions.png)

_chapters/create-an-s3-bucket.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@ First, log in to your [AWS Console](https://console.aws.amazon.com) and select S
2020

2121
Select **Create Bucket** and pick a name for your application and select the **US East (N. Virginia) Region** Region. Since our application is being served out using a CDN, the region should not matter to us.
2222

23-
![Create S3 static website Bucket screenshot](/assets/create-s3-bucket.png)
23+
![Create S3 static website Bucket screenshot](/assets/create-s3-bucket-1-name.png)
2424

25-
Go through the next steps and leave the defaults by clicking **Next**.
25+
Click **Next** through the configure options step.
2626

27-
![Create S3 static website Bucket next properties screenshot](/assets/create-s3-bucket-next-properties.png)
27+
![Create S3 static website Bucket next configure options screenshot](/assets/create-s3-bucket-2-configure-options.png)
2828

29-
![Create S3 static website Bucket next permissions screenshot](/assets/create-s3-bucket-next-permissions.png)
29+
In the permissions step, make sure to uncheck **Block new public bucket policies** and **Block public and cross-account access if bucket has public policies**. Making buckets public is a common security error, but in our case we'll be serving our app from the bucket, so want it to be public.
3030

31-
![Create S3 static website Bucket next review screenshot](/assets/create-s3-bucket-next-review.png)
31+
![Create S3 static website Bucket next permissions screenshot](/assets/create-s3-bucket-3-permissions.png)
32+
33+
Click **Create bucket** on the review page to create the bucket.
34+
35+
![Create S3 static website Bucket next review screenshot](/assets/create-s3-bucket-4-review.png)
3236

3337
Now click on your newly created bucket from the list and navigate to its permissions panel by clicking **Permissions**.
3438

@@ -66,7 +70,7 @@ And finally we need to turn our bucket into a static website. Select the **Prope
6670

6771
![Select properties tab screenshot](/assets/select-bucket-properties.png)
6872

69-
Select **Static website hosting**.
73+
Select **Static website hosting**.
7074

7175
![Select static website hosting screenshot](/assets/select-static-website-hosting.png)
7276

_sass/theme/_layout.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
img {
5252
margin-right: 5px;
5353
display: inline-block;
54-
vertical-align: middle;
54+
vertical-align: middle;
5555
}
5656

5757
span {
5858
font-size: 26px;
59-
vertical-align: middle;
59+
vertical-align: middle;
6060
font-weight: 700;
6161
color: $text-color;
6262
}
@@ -116,12 +116,12 @@
116116
img {
117117
margin-right: 5px;
118118
display: inline-block;
119-
vertical-align: middle;
119+
vertical-align: middle;
120120
}
121121

122122
span {
123123
font-size: 30px;
124-
vertical-align: middle;
124+
vertical-align: middle;
125125
font-weight: 700;
126126
color: $text-color;
127127
}
@@ -450,7 +450,7 @@
450450

451451
li {
452452
margin-top: 3px;
453-
padding-left: 10px;
453+
padding-left: 10px;
454454
text-indent: -11px;
455455

456456
&::before {

assets/add-bucket-policy.png

308 KB
Loading

assets/create-s3-bucket-1-name.png

555 KB
Loading
Loading
686 KB
Loading

assets/create-s3-bucket-4-review.png

626 KB
Loading
-396 KB
Binary file not shown.
-404 KB
Binary file not shown.
-395 KB
Binary file not shown.

assets/create-s3-bucket.png

-372 KB
Binary file not shown.
306 KB
Loading

assets/s3/enter-s3-bucket-info.png

212 KB
Loading

assets/s3/review-s3-bucket.png

256 KB
Loading
Loading

assets/s3/select-create-bucket.png

495 KB
Loading
435 KB
Loading
Loading
314 KB
Loading
254 KB
Loading

assets/save-bucket-policy.png

258 KB
Loading

assets/select-bucket-permissions.png

272 KB
Loading

assets/select-bucket-properties.png

268 KB
Loading
270 KB
Loading

0 commit comments

Comments
 (0)