require_once 'Zend/Service/Amazon/S3.php';
$s3 = new Zend_Service_Amazon_S3('your_aws_key', 'your_aws_secret');
$s3->registerStreamWrapper("s3");
file_put_contents('s3://your-bucket-name/data/index.html','');
file_put_contents('s3://your-bucket-name/data/attachments/index.html','');
file_put_contents('s3://your-bucket-name/internal_data/.htaccess',"Order deny,allow\nDeny from all");
file_put_contents('s3://your-bucket-name/internal_data/index.html','');
file_put_contents('s3://your-bucket-name/internal_data/temp/index.html','');
file_put_contents('s3://your-bucket-name/internal_data/page_cache/index.html','');
file_put_contents('s3://your-bucket-name/internal_data/attachments/index.html','');
for ($i = 0; $i < 1000; $i++) {
file_put_contents('s3://your-bucket-name/data/attachments/' . $i . '/index.html','');
file_put_contents('s3://your-bucket-name/internal_data/attachments/' . $i . '/index.html','');
}