From the course: AWS Essential Training for Developers
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Using the SDK to create a file within S3 - Amazon Web Services (AWS) Tutorial
From the course: AWS Essential Training for Developers
Using the SDK to create a file within S3
- [Instructor] Let's use the AWS SDK, or Software Development Kit to interface with S3 from our source code on our server. Before we begin, write down the name of the S3 bucket that we just created since we'll reference this later within our code. In the EC2 console, click on your first running instance and click Connect. Under the EC2 instance Connect tab, make sure that the user you're connecting to is set as ubuntu, which is the default local user for this Ubuntu AMI. And then click on the Connect button. Included in the Exercise Files, you'll find a text file that includes all the terminal commands we're going to run, and it might be easier to pull this up and cut and paste the commands. Paste in the first command, which will install PHP on our server along with several other packages that'll help get the AWS SDK installed. Right-click inside of this session and click the paste as plain text option. Once you have…
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
-
-
-
-
-
-
-
Hard drives with Elastic Block Store (EBS)4m 58s
-
(Locked)
Storing passwords with Secrets Manager3m 26s
-
(Locked)
NAS with Elastic File System (EFS)3m 18s
-
(Locked)
Web storage with Simple Storage Service (S3)2m 53s
-
(Locked)
Uploading a file to S3 from the AWS CLI9m 10s
-
(Locked)
IAM roles for EC23m 53s
-
(Locked)
Using the SDK to create a file within S33m 7s
-
(Locked)
Putting together all of the IAM resources3m 49s
-
(Locked)
Long-term storage with S3 Glacier4m 2s
-
(Locked)
Serving content faster with CloudFront5m 45s
-
-
-
-
-
-
-
-
-