‫Welcome to this lecture on S3, and we're going to be talking about buckets and objects, and this is
‫really the introductory portion of our discussions about S3.
‫This is a follow along lecture.
‫So please log into the database management console and once you're here.
‫You'll see that there's a list of all of the different kinds of services now I've recently been in it's
‫three, so it's I've got it right here, but if you have it, you'll find it down in the storage section.
‫So go ahead and click on that link.
‫And up comes the introductory page to three, and if you have never created a bucket before, you'll
‫see this kind of a screen.
‫It says it's basically getting started screen.
‫And what we can do is go ahead and create a bucket.
‫If you've created buckets before, you'll see a list of your existing buckets.
‫So let's go ahead.
‫Before we start that, let's take a look up here.
‫You'll see my account name and global.
‫And what that means is in S3, the overall structure is global.
‫It goes across all regions for the S3 service.
‫And that's quite relevant when we talk about that in just a moment.
‫So let's go ahead and get started.
‫We're going to create a bucket.
‫And you can see the first thing that comes up is a wizard and says create bucket and it asked for a
‫bucket name and this needs to be a DNS compliant bucket.
‫And that's because the link that you'll receive for your objects is an S3 compliant name.
‫You access it via a neutral.
‫And so we need a DNS compliant Buckenham that can be forwarded through a DNS records.
‫So what we're going to do is call this bucket name and I think this should work.
‫One thing that you have to know about bucket names is that they need to be unique across all accounts.
‫In all of us, it's a so-called flat namespace, meaning that buckets are unique across everyone's accounts,
‫across all regions, and so you need to find a bucket name that is not used by anyone.
‫So if you tried to use the bucket named test, that probably would have already been taken.
‫So I'm going to try get photos here.
‫I had it in another account.
‫We'll see if it's I deleted it there and we'll see if it's available in this account for a region will
‫use us.
‫That's a good one.
‫We don't want to copy.
‫Sitting's from an existing bucket, so we'll go ahead and hit next.
‫What comes up next are some capabilities that are around buckets, including versioning, logging tags,
‫versioning.
‫We're going to talk about it in another lecture.
‫But for tags, we'll go ahead and set a tag in here.
‫And what we do is put in a key and a value, so let's just say because it's cat photos, we'll call
‫it cats.
‫And the value will be.
‫Many cats, this could be anything that you want, this just helps in tracking and following buckets
‫and you can imagine a count that might have hundreds of buckets you might want to be able to sort through
‫them and say, let me see all of the buckets that have cats photos in them.
‫And you could put in this value and it would search up and find you all of the buckets that have this
‫tag associated with it.
‫We say save.
‫We do next.
‫And permissions, and this is interesting because it comes up with being owned by the owner.
‫And of course, as the owner, I have read right on objects and object permissions, I can set permissions
‫around objects, access for other accounts.
‫Now, I could leave this the way it is, and that means that there's no other accounts it will take
‫to access this accesses.
‫But in a.
‫Common setting, you might have other departments within your company or maybe even other companies
‫that would have their own accounts that you want to have, give the opportunity to have access to this
‫bucket.
‫You know, it might be at another department that needs to access the objects that you've created.
‫So you'd give access to the buckets to those other accounts.
‫We don't need to do that for this demonstration.
‫We won't do that.
‫Manage public permissions, do not grant public read access.
‫This bucket recommended read access means that they would be able to come in and list all of the objects
‫in there.
‫We don't generally want to do that and generally is a good policy.
‫You wouldn't want that and do not grant Amazon s three log delivery right access.
‫That would be if you wanted to log access to buckets and objects.
‫We don't want that either.
‫We'll say.
‫Next up comes a summary screen and let's say create buckets and we'll see if cat photos is going to
‫be available for us.
‫And it is now you'll notice that this bucket is located, it's listed here, it's located in U.S. East.
‫Now we create another bucket.
‫So if we go to create bucket.
‫I'm going to run through this one very quickly, I'm going to call this cat photos.
‫Ten instead of four, Virginia, I'm going to put this into a different U.S..
‫Region.
‫I'll put it in, say, Oregon.
‫U.S. West, I'm not going to create copy buckets from an existing bucket.
‫I'm going to leave all of this as it is no tax.
‫You'll see this summary and I've created.
‫This bucket now.
‫And you'll see that it's now listed and what's interesting is that.
‫This.
‫New bucket is listed cat photos 10, but it shows up in a different region, and what that means is
‫that your bucket?
‫Screen, we'll show all of the buckets that this account holds, whether they're in one reason or another.
‫So it's a convenient sort of aggregation point for that.
‫And really, that's all there is to creating buckets and.
‫Gone ahead and done that, and we can actually go ahead and click into one of these buckets now, we'll
‫go to cat photos.
‫And you'll see that we now have the opportunity to upload objects and really at this point, we're ready
‫to do the next phase, which will be.
‫Uploading objects and manipulating them, and I think there's a good stopping point, and if you have
‫the opportunity, go ahead and join me in the next lecture, which will be all around.
‫How do we manage objects within buckets?