Would you like to see S3 in action? This video demonstrates the process of creating S3 buckets and then using those buckets for object or file storage.
- Now when you're working with Amazon S3, the great news is everything can be taken care of, within the management console today. There was a time in the past when quite a few things, had to be done at the command line interface. But now pretty much everything can be done in a GUI interface, a Graphical User Interface. So that's what we're going to be looking at now, as we explore S3 and see how to create buckets. Put objects in buckets, manage objects once they're in buckets, and even delete those objects. So let's take a look. First of all, it begins here at, the AWS Management Console. where we're seeing all of the different services available to us. And we're going to storage and selecting S3. Once you get into the S3 Management Console, You can see the buckets that you have. In this case, there's one from a past Elastic Beanstalk instance, that was created and it's not a public bucket. It's in the US East Ohio region, and it looks like it was created on October 23rd So that's a bucket that already exists. Other than that, we don't really have a lot of buckets. Because we're kind of setting up a storage area here, for Widgets Incorporated. And they are developing any number of widgets. They have a marketing group, a sales group, they have a product development group and so forth. And we want to have storage areas for them to use within Amazon S3. So we're going to begin by creating a marketing bucket. So we'll click on create bucket. And the first thing you need is a DNS compliant bucket name. Now what that means by DNS compliant is, if you're building a fully qualified domain name, this has to be allowed for that. So fully qualified domain name or FQDN, is things like mycompany.portal.company.com right. So my company is a host, in the portal sub domain of company.com. And all of that together is the fully qualified domain name. So we have to put a name, that can be put into that structure that is compliant. I'm going to call it something really creative, marketing. And let's go ahead and accept that as the name. Now, it's very important if we click on the I, for information. Notice it says the bucket name must be unique, across all existing bucket names in Amazon S3. Okay, let's see if we can figure out if that means, all existing bucket names in my account, or universally. We'll go ahead and accept marketing. We'll put it in USA, East Ohio. And then we can copy settings from an existing bucket, if we have one we want to pull from. We'll just go ahead and click Next. And notice it says bucket name already exists. But wait, we can see right here in the background, I don't have a bucket named marketing. So when it says it has to be unique in all of S3, it means all of S3. So therefore, I have to become creative don't I. I can say marketing-widget-2018. Let's see what that does for me when I click next. And it takes it. So that means I've just come up with a name that's globally unique. That's very important for the exam, that you remember that the bucket names, must be globally unique, not just within your account across all of Amazon S3. Now there are several properties that we can configure, when creating the bucket, we can keep all versions of an object, in the same bucket to enable versioning. We'll look at that later. We can enable logging, will not do that for now, but we can look at that later on. We have tags, so I might say here, department is my tag name and the value is marketing. So I can literally make these tags up, to whatever I want them to be. And then I could add another tag and another. So it's simply going to be purpose. And we'll say created content. So you can create any number of these tags that you want, so that you have a way to search through, all of your different buckets. Remember, I'm tagging the bucket, it's what I'm doing. Object level logging, so you can have, not only logging for the bucket, but for the individual access to objects if you want. And you can also automatically encrypt objects, when they're stored in S3. Remember, that is server-side encryption. So it's decrypted automatically. It's encrypted automatically. It's really just good. So if someone goes into Amazon's warehouse and steals a hard drive, then they've got a hard drive with your encrypted data instead of unencrypted data. You can also have CloudWatch request metrics, so that you can monitor the S3 bucket if you want. We'll click on next. And now you can choose users that can access the bucket. So I can say which users should be able to access it. Right now Carpenter is the owner, I'm the owner. And I have therefore the ability to do everything. But I can add other accounts if I want to. We can also do this later. So for now we'll leave this alone. We can manage public permissions. If we say grant public read access to the bucket, then it means this is like a folder on the internet, that anyone can access and download files from it. And we can also manage system permissions. So this is for logging, if you're going to do log delivery. So that other system services, can write log data to this bucket. That's why you would choose, grant S3 log delivery group right access to this bucket. We'll not worry about that. We'll click on next. And that's just going to give me a review then, of everything I've chosen. You want to look at it, make sure it's correct, and then click on create bucket. And with that, you've created your first bucket. So we have our marketing-widget-2018 bucket. If you click on the bucket, it's going to take you in to the interface, where you can see all of the details of the bucket. And for now what I want to do is just show you properties. Here in properties, you can see all of the different extra things, that you can do with a bucket. Enabling versioning, server access logs, static website hosting, object level logging, default encryption, tags, transfer acceleration, events and requester pays. With the exception of the last three, transfer acceleration, events and requester pays. All of the others were actually there in the wizard, when we created it, and we could have set them up in the wizard, if we didn't want to have to do it here. And you can see we did create two tags, so we already see them. If I click on it, you can see the two tags that I created, during the actual process of building this bucket. So now if I want to enable versioning for example, I can click on versioning and simply choose enable versioning. Remember, once you enable it, it cannot be disabled, it can only be suspended. And the reason it can't be disabled, is if you disabled it, then what would Amazon do, it would have to go through and figure out, which versions to keep what old versions to throw away. It doesn't want to have to do that. So you can suspend it, all the old versions still stay there, You can go through and manually delete those, old versions if you want to, but you cannot disable versioning once it's enabled, So I'm going to enable it by clicking save. And now you can see a simple checkbox that says versioning is enabled. That's really all you have to do to enable it, there are no configuration settings, to configure how versioning actually works. So we've seen them the basic process of creating an S3 bucket. And we've seen some of the different properties, that we can use with an S3 bucket. We're going to call that a wrap for now. And then what we'll do is come back in another lab, and take a look at all of the ways, we can customize this bucket that we've just created. And also look at how we can get some objects, into the bucket. so we can actually work with them. (upbeat music)
This Total Seminars course covers the exam certification topics. For information on additional study resources—including practice tests, lab simulations, books, and discounted exam vouchers—visit totalsem.com/linkedin. LinkedIn Learning members receive special pricing.
This course was created by Total Seminars. We are pleased to offer this training in our library.
- S3 terminology and features
- Creating S3 buckets
- Setting up a Glacier vault
- Creating EBS volumes
- Creating an EFS file system
- Going hands on with FSx file storage
- Monitoring storage security and performance