Amazon S3 bucket is an easy to use, highly reliable, configurable and Cost effective solution for hosting WalkInto Panorama Tiles.  In this article we will discuss how to create and configure storage on Amazon S3 for your images.


Step 1 :  Login to your Amazon S3 Console. (Or Create new)


http://aws.amazon.com/





Step 2:  Go to S3 Configuration Screen


Amazon S3 is a cheap yet reliable solution for hosting any type of files.  You can manage the permissions at a granular level also.  For WalkInto Panorama usage we will creating one top level storage and managing the permissions at the top level.




Step 3 : Create Bucket 'walkinto' for storing your panorama




While creating the bucket, pick the geographic location closest to where most of your target customers are.  Serving panorama from a physically closer server will help the speed of image delivery on WalkInto.  You can plan later for a global delivery of these images to any geographic location with equal performance by connecting the S3 bucket with a CDN (for example Amazon Cloud Front)



Click Create after you give your bucket a NAME : I am using walkinto here.  You need to pick a unique name.  May be WALKINTO-YOURBUSINESS_NAME   And selecting a Region.






Step 4:  Setup Bucket Policy


Open Permissions section and click on 'Add Bucket Policy' to bring up your policy editor



Copy and paste the following snippet to the policy editor and click save


  

{
"Version": "2012-10-17",
"Id": "Policy1441605552069",
"Statement": [
{
"Sid": "Stmt1441605549254",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::REPLACE_THIS_WITH_YOUR_BUCKET_NAME/*"
}
]
}


You need to modify the policy slightly to replace 'REPLACE THIS WITH YOUR BUCKET NAME'  with the bucket name you used above.

 


Step 5 : Setup CORS


You also need to setup CORS so that the images are properly displayed on WalkInto



Use the following XML Snippet in the CORS editor and click Save.


  

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>GET</AllowedMethod>
        <AllowedMethod>HEAD</AllowedMethod>
        <AllowedHeader>*</AllowedHeader>
    </CORSRule>
</CORSConfiguration>

  


Step 6:  Final Save and verification.


Click save on the Permissions section to save the section completely.  This is just for good measure, I don't really think it is required.



Now open back your 'Edit Bucket policy' & 'Edit CORS Configuration' to verify that the configuration you input there are all in tact.  if it is not, then go back and fix those parts.



Congratulation ! You are all done and ready to upload some Pano Folders!