- [Morgan] Hi, everyone. Morgan here. What we're going to do in this video is, I'm going to walk you through the last exercise, by first creating an S3 bucket and ensuring that Block all public access is turned on. Then, we will upload an object, and verify that that object is not publicly available. Then, we will disable Block all public access, as well as make that object public. And then, we will verify that we are able to view that object. After that, we will then tear down this lab, do some cleaning up, by emptying the bucket and deleting the bucket. To get started, you can see that I'm logged in to the AWS Management Console already. I'm first going to navigate to S3 by typing in S3 in the search bar, and then clicking here. This will bring us to the S3 dashboard, and you can see here that I currently don't have any buckets. So, the first thing that we want to do is click Create bucket. And then, we need to give this bucket a publicly unique name, a globally unique name, rather. When I say globally unique, I don't necessarily mean globally unique to my account. I mean, across all AWS accounts. So, no two AWS accounts can have buckets with the same name. So, we're going to add some random numbers and things in here to make this globally unique. So, I'm going to go ahead and type: mw-certprep-123. And this should be enough to have a globally unique name. I'm going to leave the Region to be us-east-1, and then, this is where you need to ensure that Block all public access is checked. So by default, we do block all public access. This is a good thing. There are pretty rare cases where you would want to have public access turned off, so this Block all public access is going to override if you make anything else public. We'll go ahead and scroll down to the bottom, and then, click Create Bucket. Now, from here, it's time to upload an object. So, I'm going to click into the bucket, and then click Upload. And from here, I'm going to add a file, and I'm going to just click this picture of my cat, here. And then, click Upload. And, you can see that that upload was successful. If I click on this here, this will bring me to the Details page about this object. And then, if I open this up in a new tab here, and then go to that tab, you can see that we have access denied. This is exactly what we would expect, right? So, we had that Block all public access turned on. And now, I am blocked from viewing this object. Soy, this is working exactly as expected. So now, what we want to do is, zoom out. And then, I will go back to my AWS Management Console. And from here, I am going to go back to the bucket. And the next thing we want to do is turn off that Block all public access. So, I'm going to go to the Permissions tab, click Edit, and then I will uncheck this box, and click Save, then type confirm. And click Confirm. Now, one final thing we need to do before we can view this object is, go back to Objects. Select the object. And then, click Actions and Make public. And here, we want to say Make public. And, you can see that we have successfully edited public access. So now, I'm going to go back to the bucket one more time. And go back to my cat image, and then click on the URL. And there you go. So, this is the image that I chose upload. This is my cat, Meowzy. He's adorable, and I thought he would be a great candidate for this walkthrough. So, you can see that we can now access this object, which is exactly what we want. So now, I'll go back. And the final thing we need to do here, is to empty the bucket and delete the bucket. So, I'm going to go ahead, and click on the image, and delete it. And we can type in, permanently delete. And this will allow us to delete that object. And now, finally, I will go back to the bucket level. If I go back to Amazon S3, where I'm listing the buckets, I'm going to select a bucket, and then, I could have just gone in here and clicked Empty, as well, but I wanted to show you how to delete the object. You could always come in here and click Empty bucket, if you would like to. It's a very similar thing. We don't have any objects in this bucket, so we can't do this, but this is where you would do that. But, I'm going to go ahead and delete this bucket, and type in the name of the bucket to verify that we do want to delete it. And then, click Delete bucket, and you can see now that we have deleted this bucket. So, that is it. That is all we have for this walkthrough. So thank you, and see you next time.