Infrastructure Deployment for Art E-commerce using AWS
Overview
An E-commerce platform to buy handmade art and a digital ecosystem that allows artists to build relationships with merchants and consumers.
At A Glance
Industry
Retail & E-commerce
Region
Canada
Duration
4 Weeks
Technical Stack
Client Profile
The client is a SaaS company, based out of Canada, providing an e-commerce and a digital portal for artists to sell their handmade art and support indigenous social communities.
Challenge
The client's infrastructure required IP whitelisting on the CloudFront for allowing access to only whitelisted regions or IPs.
The client wanted to create an efficient cache policy where they could specify particular websites that can access the content of the S3 bucket along with server static assets for returning users.
The client had trouble with the overall speed and responsiveness of the website, with so many texts and files being uploaded and edited on the daily basis.
The client had an issue on the website where clicking any product image would force download the image instead of directing it to the product details page.
Solution
Seaflux created the web application firewall for the particular CloudFront distribution and attached the IP sets to the whitelist for that particular region.
The S3 bucket policy was configured to allow specific sites to access the S3 content. The URLs of the specific websites can be set by the client under resources, allowing them to restrict unwanted traffic to their website. To serve static assets, we updated the configuration while adding the cache policy for the bucket.
We configured the CloudFront to automatically compress all the text files getting uploaded, reducing the overall response size of the website and allowing faster loading for the users.
In the AWS S3 bucket, where all the product image gets uploaded, the bucket configuration is set such that the browser identifies the image's type and doesn't treat it as an alien object.
Key Benefits
Only whitelisted IPs and regions for particular distributions can access CloudFront distributions, which decreased the volume of the website's irrelevant visits by 19%.
Clicking the product image on the website opened the product details page quickly, which increased sales by 14%.