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] Now we can start digging in to the Java SDK. I will remind you of a couple things. First, there's usually more than one way to do things. I'm just showing you a snapshot of the SDK, not a full picture. Secondly, this is not production code. It's demo code. I'm making compromises for brevity with the Java code since this isn't a course on Java. So let's jump into our application here. We're going to add a whole bunch of variables much like we did with the Python example. So private static final Logger LOGGER equals LoggerFactory.getLogger. Import the logger. Now private static final string AWS_ACCESS_KEY equals AWS_ACCESS_KEY_ID. Now just like with Python, Java will look in your local directory, your local AWS to see if you have credentials. But because we at least want to show some of the way you will do this in a production system, we don't want to rely on the file system. So we're going to look them…
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)
Java: Basic setup4m 15s
-
(Locked)
Creating a bucket4m 45s
-
(Locked)
Binary object manipulation4m 38s
-
(Locked)
Bucket manipulation4m 37s
-
(Locked)
Bucket and file security2m 59s
-
(Locked)
Presigning URLs4m 40s
-
(Locked)
Deleting a bucket1m 58s
-
(Locked)
Challenge: Java SDK operations50s
-
(Locked)
Solution: Java SDK operations2m 15s
-
(Locked)
-