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

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…

Contents