- 01 Sep 2022
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Hosting content on Amazon S3
- Updated On 01 Sep 2022
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
You can export Whatfix content and host it on your Amazon S3 bucket. The hosted content is served from your own server and not from the Whatfix Cloud.
Summary
- Create an S3 bucket (if you don't already have one).
- Create a user in Amazon AWS using IAM and give the user write access to S3 under the individual's security policies.
- Install Amazon AWS CLI so you can upload your exported flows directory to your S3.
- Configure from the command line using configure command.
- Enable static website hosting on your S3 bucket.
- Point your browser extension to your S3 URL.
Additional Information:
Step 1: Export Whatfix content
-
Navigate to the Whatfix Dashboard.
-
On the top right, click the Settings icon.
-
Click Export Content.
If you do not see the Export Content option, contact [email protected].
-
Click Export.
-
An email with a link to download the content is sent to your registered email ID. Download the zip file.
Step 2: Configure and Upload Content on Step
There are different ways to host your content on Amazon. You can host the content directly on Amazon S3 or use it along with Amazon CloudFront. Follow the instructions in Hosting your content on Amazon.
Step 3: Change Endpoint URL
-
Navigate to your S3 instance and copy the Endpoint URL for your static website hosting.
-
Replace //whatfix.com in your content JS with the Endpoint URL that you copied in the previous step.
-
Refresh your application and you should be able to view all the exported flows.
- Whatfix recommends you use CDN servers to serve your content to ensure content scalability and good performance.
- To host your content on AWS CDN (CloudFront), see How do I use CloudFront to serve HTTPS requests for my Amazon S3 bucket?
- Once you have the CDN configured, you can access Whatfix content from CDN with the domain name configured in CloudFront.