Menu Close
    Hire Us Request Quote Reading List Switch to Dark Mode
    Blog Version - Akeneo 2.0.x, 2.1.x, 2.2.x , 2.3.x, 3.0.x, and 3.1.x
    • Version Akeneo 2.0.x, 2.1.x, 2.2.x , and 2.3.x
    • Version Akeneo 2.0.x, 2.1.x, 2.2.x , 2.3.x, 3.0.x, and 3.1.x

    Akeneo Amazon CloudFront Connector

    Introduction

    Akeneo Amazon CloudFront Connector: With the help of this extension, you can integrate Amazon CloudFront CDN with Akeneo PIM platform. After successful integration, the CloudFront CDN (Content Delivery Network) servers will be used for caching and serving media, images, PDF, and video files etc. from product data.

    Amazon CloudFront speeds up distribution of your static and dynamic web content, such as .html, .css, .php, image, and media files. When users request your content, CloudFront delivers it through a worldwide network of edge locations that provide low latency and high performance.

    Please Note – Akeneo Amazon CloudFront Connector is compatible with Community Edition, Enterprise Edition, and Cloud (PaaS/Flexibility) Edition of Akeneo.

    Basic Requirements:

    • This module works with Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, and 3.1.x. Download Akeneo from here
    • Node and Yarn packages need to be installed.
    • Also works with Akeneo Cloud Flexibility Mode which is a PAAS Edition of Akeneo

    Features

    • Use Amazon CloudFront for the images and files in Akeneo instead of File Storage
    • You can connect Akeneo with Amazon CloudFront using CloudFront domain name.
    • Fast, highly secure and programmable Content  Delivery Network(CDN)
    • Automatically save the image and files at Amazon CloudFront after installing the module.
    • After using Amazon CloudFront in Akeneo, you can fetch the data from the nearest hub.

    Setup Credentials for Amazon CloudFront

    Follow the below steps to create Akeneo CloudFront module credential to be used in Akeneo.

    • For the Akeneo CloudFront credential first, you have to go to the link https://aws.amazon.com/. After it, you can click on Create an AWS account.
    • You can create an AWS account. If you have any existing AWS account then you can click on Sign in to an existing AWS account. Here you can enter the account details.
    • After successful login, your AWS account will be looking like this.
    • Now you have to go the link https://console.aws.amazon.com/cloudfront/home with the same user id and password.
    • After clicking on the CloudFront, you have to choose the delivery method for your content. Here you have to select Web and click on the Get Started.
    • You have to click on the CloudFront. After it, you have to create CloudFront Distribution.
    • Here you have to enter the details Origin Domain Name and Origin Path name.
    • After it, you have to click on the create distribution.
    • Now you can see the created cloud distribution in the list. Here, you have to copy the domain name.

    Module Installation

    Please follow these steps for installing Akeneo CloudFront Connector in your Akeneo PIM platform.

      • Unzip the respective extension zip and then merge the “src” folder into the Akeneo project root directory.
      • Goto app/AppKernel.php and add line
    new Webkul\CloudFrontBundle\WebkulCloudFrontBundle(),
      • Goto app/config/routing.yml and add these lines at top of the file
    webkul_cloud_front:
        resource: "@WebkulCloudFrontBundle/Resources/config/routing.yml"
        prefix:   /
    
      • Run this command after ssh to your akeneo server by the terminal and navigating to Akeneo installation directory (ex. cd /opt/bitnami/apps/akeneo/htdocs)
    php bin/console --version && rm -rf ./var/cache/** && php bin/console pim:install:asset --env=prod && php bin/console assets:install web --symlink --relative && yarn run webpack && php bin/console d:s:u --force
      • You have to restart your web server like Apache, Nginx. Run the command for Apache web server.
    sudo service apache2 restart

    Common Issue After Installation

    It might happen that even after proper installation, upon opening your Akeneo admin dashboard, you see a loading screen. In that case, do check for the following solution:

    • Webpack Installation: If you get the below error
      It means that a web pack is not installed in your system. Run the following command
      npm install --save-prod webpack
      npm install
      
    • Module routing.yml is not configured properly. Re-check the routing.yml file as mentioned in the 3rd step of Module Installation
    • Clear your browser cache using ctrl+shift+r.

    Setup Credentials in Akeneo

    After successfully installing the module in Akeneo, you need to set up the Amazon CloudFront credentials in Akeneo. Please log into Akeneo and follow CloudFront Configuration -> Configs. Here you have entered CloudFront domain name.

    Create Products in Akeneo

    To create a product in Akeneo, go to navigate to Products and click the Create button. Now, you need to choose product type – as Product or Product Model.

    Product – Select this type for creating simple and virtual products.

    Product Model – Select this type for creating a configurable product with variations.

    Now enter the required SKU, choose a family, and click the Save button.

    Product Family – A family is a set of attributes that will be the same for all products belonging to a family. The product family represents products type, imposes product information structure and defines the list of attributes for a product that it belongs to.

    Add Product Details

    Now you need to provide information about the product. First, select the Channel and Locale and then enter the details.

    Now you can click on the download button and you can see the Amazon CloudFront URL there.

    You can also open the image in the browser with the asset link.

    Support

    For any issues related to this module, please create a support ticket at- https://webkul.uvdesk.com/en/customer/create-ticket Also, for any pre-sales queries or customization discussion, please drop an email to support@webkul.com

    Current Product Version - Akeneo Amazon CloudFront Connector 1.0.1

    Supported Framework Version - Akeneo 2.0.x, 2.1.x, 2.2.x , 2.3.x, 3.0.x, and 3.1.x

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Table of Content

    Hide Index