AWS Developer Tools Blog

Tag: S3

Using AWS CloudTrail in PHP – Part 2

This is part 2 of Using AWS CloudTrail in PHP. Part 1 demonstrated the basics of how to work with the CloudTrail service, including how to create a trail and turn logging on and off. Today, I want to show you how to read your log files and iterate over individual log records using the […]

Read More

Using AWS CloudTrail in PHP – Part 1

AWS CloudTrail is a new service that was announced at AWS re:Invent 2013. CloudTrail provides a history of AWS API calls for your account, delivered as log files to one of your Amazon S3 buckets. The AWS API call history includes API calls made via the AWS Management Console, AWS SDKs, command line interface, and […]

Read More

Uploading to Amazon S3 with HTTP POST using the AWS SDK for .NET

Generally speaking, access to your Amazon S3 resources requires your AWS credentials, though there are situations where you would like to grant certain forms of limited access to other users. For example, to allow users temporary access to download a non-public object, you can generate a pre-signed URL. Another common situation is where you want […]

Read More

Amazon S3 PHP Stream Wrapper

As of the 2.3.0 release, the AWS SDK for PHP now provides an official Amazon S3 PHP stream wrapper. The stream wrapper allows you to treat Amazon S3 like a filesystem using functions like fopen(), file_get_contents(), and filesize() through a custom stream wrapper protocol. The Amazon S3 stream wrapper opens up some interesting possibilities that […]

Read More

Syncing Data with Amazon S3

Warning: this blog post provides instructions for AWS SDK for PHP V2, if you are looking for AWS SDK for PHP V3 instructions, please see our SDK guide. Have you ever needed to upload an entire directory of files to Amazon S3 or download an Amazon S3 bucket to a local directory? With a recent release […]

Read More

Transferring Files To and From Amazon S3

A common question that I’ve seen on our PHP forums is whether there is an easy way to directly upload from or download to a local file using the Amazon S3 client in the AWS SDK for PHP. The typical usage of the PutObject operation in the PHP SDK looks like the following: use AwsCommonAws; […]

Read More