From the course: AWS for Developers: S3
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating a bucket - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: S3
Creating a bucket
- [Instructor] We are now going to walk through a way to create a bucket in Python. I want to note early, and I may do so often, that there is usually more than one way to do this work. I am showing you a snapshot, an example, not a complete picture. I also want to reinforce that this isn't a course on Python. I'm not writing production code. I am writing example code to show you the SDK. There are many compromises I am making for the benefit of brevity. But let's go ahead and jump in. So, I want you to open up your Py S3 file, and we're going to add a few things. One thing that I do want to do is sort of make this production-like, and that is that I'm going to bring in through the environment the actual AWS credentials. Now, if we were doing this just on our machine always, the Bono3 library will look at the credentials file that we've set up for the CLI. But I don't want to leverage that. So we'll go ahead and add in a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up an basic Python script2m 49s
-
(Locked)
Installing the SDK Boto31m 34s
-
(Locked)
Creating a bucket6m 10s
-
(Locked)
Binary object manipulation6m 50s
-
(Locked)
Bucket manipulation4m 59s
-
(Locked)
Bucket security5m 25s
-
(Locked)
Presigning URLs2m 54s
-
(Locked)
Deleting a bucket2m 3s
-
(Locked)
Challenge: Python SDK operations39s
-
(Locked)
Solution: Python SDK operations2m 51s
-
(Locked)
-
-