Tutorials

How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)

Panoee Team @360panoee
06/12/2023

Krpano empowers you to craft stunning 360-degree virtual tours, but sharing your masterpiece can be costly and complex. Enter the dynamic duo of AWS S3 cloud storage and Panoee S3 hosting service, your gateway to free and effortless virtual tour hosting.

AWS S3, your generous cloud storage companion, offers a complimentary tier for beginners, embracing your virtual tour aspirations without breaking the bank. Panoee S3 hosting service, your virtual tour concierge, seamlessly connects your AWS S3 bucket to the web, effortlessly serving your virtual tour files with utmost efficiency. Here is how you can host your Krpano virtual tour with the lowest hosting fee

Step 1: Export the Krpano virtual tour

Prepare your Krpano virtual tour for online hosting by exporting it as web-ready output from the software. This process generates the necessary files to ensure a seamless presentation of your virtual tour within web browsers.

How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
Export your Krpano virtual tour as a folder
How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
The Krpano Virtual Tour exported file should be like this

IMPORTANT: You need to change the tour.html name to index.html before uploading your Krpano virtual tour to the Panoee S3 hosting service to make it work

How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
Please change the html name before uploading

Step 2: 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 3: 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.

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

How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
 Set your project name (folder name), choose the upload method & just drag your folder or .zip file into the uploading area…
How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
Upload the whole folder including all iteams into the uploading area
How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
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 Krpano Virtual Tours.
How to Host Your Krpano Virtual Tour for Free (With Step-by-Step Instructions)
Now you can view your Krpano virtual tour hosted on AWS S3
👋 Follow us