From the course: AWS Essential Training for Developers
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Use the SDK to create a file within S3 - Amazon Web Services (AWS) Tutorial
From the course: AWS Essential Training for Developers
Use 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 AWS console, type EC2 into the search bar and click on the entry that auto completes. Click on instances and click on your first running instance and then click the connect button. Under the EC2 instance connect tab make sure that your username is ubuntu. This is the default local user for this Ubuntu AMI. Click 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…
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 54s
-
(Locked)
NAS with Elastic File System (EFS)3m 14s
-
(Locked)
Web storage with Simple Storage Service (S3)3m 11s
-
(Locked)
Upload a file to S3 from the AWS CLI4m 56s
-
(Locked)
Use the SDK to create a file within S36m 29s
-
(Locked)
IAM roles for EC24m 58s
-
(Locked)
Putting together all of the IAM resources3m 24s
-
(Locked)
Storing passwords with Secrets Manager1m 20s
-
(Locked)
Long-term storage with S3 Glacier5m 17s
-
(Locked)
Serve content faster with CloudFront6m 35s
-
-
-
-
-
-
-