SocialEngine 4: How to Use the CDN Storage Feature

SocialEngine 4 includes a CDN Storage feature. You can store content externally using services such as Amazon S3 and CloudFront. This article is a basic how-to guide explaining how to set up and use this feature.

Amazon S3

  • 1

    First, you’ll need to create an Amazon Web Services account and activate the S3 service.

  • 2

    Go to the S3 console and click “Account” at the top-middle.

  • 3

    From there, click “Security Credentials”

  • 4

    Create a new access key or use the default one. You will need to enter the two keys into the SocialEngine admin panel.

  • 5
    Go to the new configuration page in the admin panel under Settings -> Storage System
  • 6

    Click on “Add Service”

  • 7

    Choose “Amazon S3″

  • 8

    Enter in the information from the Security Credentials page in (fig 4) and choose a region. The region should be closest to where you think your users will mainly be located. Be sure to click “enabled”

    undefined

  • 9

    To set this as the default storage service, click the default button. Files can be transferred by clicking the transfer link (this make take quite a while depending on how many files you have. This is done using the tasks system and is run in the background).

CloudFront

  • 1

    CloudFront is an actual CDN, while S3 is just cloud storage. Here is a Wikipedia article on CDN Benefits.

  • 2

    The steps above must be completed prior to enabling CloudFront support.

  • 3

    First, a CloudFront Distribution must be created from the bucket used above. It may take quite a while for this to become usable!

    undefined

  • 4

    Once the distro says “Deployed” under the “Status” column, copy the “Domain Name” and enter it into the field (as shown in Step 8 above).

    undefined

    MaxCDN

    Instructions

    • 1

      Create MaxCDN.account

    • 2

      Login to Max CDN here. Navigate to Manage Zones -> Pull Zones -> New Pull Zone and create a “Poll Zone”.

      undefined

    • 3

      Copy CDN URL.

      undefined

    • 4

      Login to Admin Panel in SE, navigate to Settings -> General Settings and paste the CDN URL in step 3 into the “Static File Base URL” field. Note: if your SocialEngine site is installed in a sub-directory instead of the root directory you must add the directory name to the end of the URL; for example, your-cdn-name.yourdomain.com/your-directory .

      undefined

      Looking for quality Social Engine Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *


3 + 9 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>