Tutorials Panoee Features

Panoee S3 Hosting Service: A Free and Easy Way to Host Your Panoee Virtual Tour

Panoee Team @360panoee
06/12/2023

Panoee has taken the world of virtual tours by storm with its user-friendly interface and ability to craft breathtaking 360-degree experiences. But sharing your masterpiece with the world can be a bit of a headache, often involving expensive hosting solutions and complicated setups. Well, fret no more because the era of free virtual tour hosting has arrived, thanks to the dynamic duo of AWS S3 cloud storage and Panoee S3 hosting service.

AWS S3, your generous cloud storage pal, welcomes beginners with open arms and a generous free tier. Let Panoee S3 hosting service, your virtual tour valet, seamlessly connect your AWS S3 bucket to the web and effortlessly serve your virtual tour files. Here is how it works:

Step 1: Create your AWS Credential

Create your AWS Account

CleanShot 2023 11 17 at 23.06.25%402x scaled
Click button “Create an AWS Account”
CleanShot 2023 11 17 at 23.07.37%402x scaled
Follow AWS guide to create new account with your email address.

After signing up, please login AWS console with your account.

Setup AWS S3

CleanShot 2023 11 17 at 23.10.27%402x scaled
In AWS Console, search for service “S3”
CleanShot 2023 11 17 at 23.11.27%402x scaled
Click button “Create bucket” to create your very first Bucket – Bucket is the Storage where you create & manage folders. Each folder can be used to host one Virtual Tours.
Create S3 bucket S3 Global create bucket scaled
Following all above steps to create & intial setup your bucket. Please notice that your bucket needs to be set “public” & allow enough permission so we can manage it remotely & viewers can access files in your project to view the Virtual Tours.
CleanShot 2023 11 17 at 23.20.30%402x scaled
After create new bucket, you will be redirect back to Bucket listing page. Please notice that your bucket should display like above.
CleanShot 2023 11 17 at 23.23.37%402x scaled
Click the Bucket to go inside, switch to tab “Properties” and click button “Edit” in panel “Static website hosting”. This options allows files in bucket can be served under specific URLs so viewers can view your Virtual Tours via file “index.html”.
Edit static website hosting S3 bucket mypanoeesample S3 Globa
Follow steps above to setup “Static Website Hosting” options.
CleanShot 2023 11 17 at 23.24.54%402x scaled
After config, you will see above information in panel “Static website Hosting”
mypanoeesample S3 bucket S3 Global scaled
Follow steps to configure Bucket Policy & CORS rule in tab “Permission”. For each section, you need to click button “Edit” to start editing. Please copy below code and paste into corresponding area.
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": "*",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::mypanoeesample/*",
                "arn:aws:s3:::mypanoeesample"
            ]
        }
    ]
}

For bucket policy, please notice that you needs to insert your bucket name in codeblock “Resources”

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "PUT",
            "POST",
            "DELETE",
            "GET"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [
            "x-amz-server-side-encryption",
            "x-amz-request-id",
            "x-amz-id-2",
            "ETag"
        ],
        "MaxAgeSeconds": 86400
    }
]

Setup AWS IAM

After setup S3 service, you need to setup IAM service to create the Credential.

CleanShot 2023 11 17 at 23.28.36%402x iam scaled
In AWS console, search “IAM” and find the service “IAM”
CleanShot 2023 11 17 at 23.30.03%402x scaled
In IAM dashboard, click area “Users” to go to users management, in which you will create new user.
CleanShot 2023 11 17 at 23.30.40%402x scaled
Click button “Create user”
CleanShot 2023 11 17 at 23.31.06%402x scaled
Specify the user name and click button “Next”
CleanShot 2023 11 17 at 23.32.30%402x scaled
Now you need to setup permission for this user. Please select “Attach policies directly”, then find and check “AmazonS3FullAccess” rule. Finally click button “Next”
CleanShot 2023 11 17 at 23.33.29%402x scaled
Click to the new user to start creating necessary credential.
CleanShot 2023 11 17 at 23.34.06%402x scaled
Switch to tab “Security credentials”, then click button “Create access key”
CleanShot 2023 11 17 at 23.35.12%402x scaled
Please choose the option “Third-party service” – because you will grant the permission for website hosting.panoee.com to use the credential to access & manage your S3 resource.
CleanShot 2023 11 17 at 23.35.54%402x scaled
Your Credential is finally created. Please store the key pair in safe place.

Step 2: Connect the AWS S3 to the Panoee S3 hosting service

Authenticate with panoee.com

CleanShot 2023 11 17 at 23.37.54%402x scaled
Go to website https://hosting.panoee.com and click button “Enter S3 Credential Key”
CleanShot 2023 11 17 at 23.38.20%402x scaled
You will need to be Panoee user in order to use this Hosting service (for free of course). You can login with Google or Facebook to fasten this process.

Enter your AWS Credential

CleanShot 2023 11 17 at 23.39.57%402x scaled
After authentication, now you can enter your Credential to start using Hosting service. In the mean time, you can test with our demo Credential. Please notice that your Credential is stored in your browser locally and it will never be sent anywhere else.

Now you can upload your Exported Panoee virtual tour to the hosting service

Panoee S3 Hosting Service: A Free and Easy Way to Host Your Panoee Virtual Tour
 Set your project name (folder name), choose the upload method & just drag your folder or .zip file into the uploading area…

Step 3: Export the Panoee virtual tour

To upload your Panoee virtual tour file, you must first generate it using the Export option in the Publish tab.

image
IMPORTANT: Slect the Sub Directory Export and then enter the file path as /your_bucket_AWS_S3_bucket_name/your_hosting name
image
The Exported Panoee Virtual Tour file should be like this

Step 4: Upload your Panoee virtual tour to Panoee S3 hosting service

Frame 2
Upload the whole folder including all iteams into the uploading area
image
After uploading succeeds, you can see all files in your folders. Now you can preview the file or image, manage your folders with supporting tools and click button “View Tour 360” to go to your published Panoee Virtual Tours.
image
Now you can view your Panoee virtual tour hosted on AWS S3
👋 Follow us