Welcome!

Blog Feed Post

Managing CloudFront Private Content with CloudBerry S3 Explorer

Note: this post applies to CloudBerry Explorer 1.7 and later.

CloudBerry S3 Explorer is by far the most popular Amazon S3 and CloudFront manager on Windows platform. At the same time Amazon rapidly enhance their services to meet growing customer expectations. To maintain our leadership position we are trying to say on top of Amazon developments and support all recent enhancements in CloudBerry Explorer.

Today CloudFront team introduced a new exciting capability that will help to protect your content on the distributions. You might want to use CloudFront to deliver a digital asset you’ve sold online, or use it to distribute objects only to your company’s employees. In these circumstances, you need detailed control over who can download your “private” content. As a result today Amazon added an ability to handle private content in Amazon CloudFront.

How CloudBerry Explorer supports CloudFront Private Content?

First you have to configure a distribution to serve private content. You can configure and existing distribution or a new distribution, but a distribution should be created before you configure private content. Check out here to learn how to create a CloudFront distribution.

To configure a distribution for private content click on the distribution properties on the toolbar on in the content menu and go to the Private Content tab.

image001

Click the checkbox to enable Private Content. Now there are a few things that might confuse you at first.


Origin Access Identity: this is a "virtual" user that is used for managing permissions. Since you are able to restrict access you need to set permissions for objects. But for whom? Amazon provides some "virtual" users for this purpose. The Origin Identity that you see CloudBerry Explorer generates for you automatically as you should have at list one. You can also generate them using CloudFront API.

Identity S3 canonical user ID. This is the user ID that you can use in ACL editor to grant permissions. It is associated with the Origin Access Identity.

Trusted Signers:
You can only obtain the access to objects with signed URLs.
Trusted signers are Amazon S3 accounts numbers of users who can generate singed URLs. If one of them will generate signed URL with his private key, it will be valid. If someone else tries to generate signed URL - it will be invalid.

To find your account number go to Your Account | Account Activity on AWS website. Look for Account Number as shown on the screen:

image003

Add myself to trusted signers: by default you are not added to Trusted Signers. So if you want to generate signed URLs you have to check it.

Granting permissions to origin access identity

Notice that ACL dialog has been extended to include Origin Access Identity account automatically for CloudFront distributions configured for Private Content and grant Read access to it.

image005

Security Policies

Before we go any further we have to learn what Security Policy is. Click Tools | Policies in the program menu to open policies window and click New Policy. It helps you to create the policy which will basically define an IP range and address range to limit access to your private content.

Specify a path to your Private Key file in the private key field. This key will be used to sign the Policy.

Key Pair ID is something you will get from Amazon when you generate a Key Pair using Amazon web interface our upload your own key.

The policy on the screen below will grant access to every IP address 0.0.0.0/0 and to every file in your bucket http://*

image007

Note: that the policies are stored locally on your computer. So if you run CloudBerry Explorer on another computer or somebody else manage your S3 account the policies are not shared.

What is Private Key and how I can get it?

The private key - is the file in PEM format. The key pair (public (for Amazon to check your signature) + private (to be stored securely on your computer)) can be generated by Amazon on your account page.

If you already have a key pair, you can upload PUBLIC key to Amazon S3 (using your account web interface), and use your PRIVATE key to sign the URLs.

Using a Key Pair Generated by AWS

If you don't already have key pair, you can have AWS generate a pair and automatically associate the public key with your AWS account.

To have AWS create a key pair for you

1. Go to the Amazon Web Services web site at http://aws.amazon.com .

2. Point to Your Account and click Security Credentials.

3. Log in to your AWS account.

The Security Credentials page is displayed.

4. In the Access Credentials section of the page, click the Key Pairs tab.

5. Click Create a New Key Pair.

Your new public and private key are generated, along with an ID for the key pair. Amazon keeps the public key and gives you the private key.

6. From the dialog box, download your private key file to a local directory, and record the corresponding key ID.

Here's how it looks like

image009

Important: If you're an Amazon EC2 user, you probably already have at least one other key pair, which you use to connect to your instances through SSH or Windows Remote Desktop. Your Amazon EC2 key pairs work only with Amazon EC2, and your Amazon CloudFront keys work only with CloudFront. You can't use the private key from one service with the other service.

To upload your own public key

1. Go to the Amazon Web Services web site at http://aws.amazon.com.

2. Point to Your Account and click Security Credentials.

3. Log in to your AWS account. The Security Credentials page is displayed.

4. In the Access Credentials section of the page, click the Key Pairs tab.

5. Click Upload Your Own Public Key.

6. Follow the instructions presented to upload your public key.

How to generate Private Content URL?

Generate Web Url dialog has been extended. The new option only shows up when creating a URL for objects residing on CloudFront Distributions configured for Private Content.

image011

Conclusion

We hope CloudFront Private Content support in CloudBerry Explorer will make it easier to explore new CloudFront functionality and make CloudBerry Explorer your tool of choice for managing S3 and CloudFront.

If you came to this post by chance you should know that CloudBerry S3 Explorer is a Windows freeware product that helps managing Amazon S3 storage and CloudFront . You can download it at http://cloudberrylab.com/

If you came to this post by chance you should know that CloudBerry S3 Explorer PRO is a Windows program that helps managing Amazon S3 storage and CloudFront . You can download it at http://cloudberrylab.com/ It is currently in beta and free for all users. You can download it at http://cloudberrylab.com/

Like our products? Please help us spread the word about them. Learn here how to do it.

Read the original blog entry...

More Stories By Alexandra Brown

Marketing Manager at CloudBerry Lab, the company that specialize on tool that makes Cloud Computing adoption easier. CloudBerry Lab is established in 2008 by a group of experienced IT professionals with the mission to help organization in adopting Cloud computing technologies by closing the gap between Cloud vendors propositions and consumer needs through development of innovative low costs solutions.

Latest Stories
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
Is advanced scheduling in Kubernetes achievable? Yes, however, how do you properly accommodate every real-life scenario that a Kubernetes user might encounter? How do you leverage advanced scheduling techniques to shape and describe each scenario in easy-to-use rules and configurations? In his session at @DevOpsSummit at 21st Cloud Expo, Oleg Chunikhin, CTO at Kublr, will answer these questions and demonstrate techniques for implementing advanced scheduling. For example, using spot instances ...
DevOps is under attack because developers don’t want to mess with infrastructure. They will happily own their code into production, but want to use platforms instead of raw automation. That’s changing the landscape that we understand as DevOps with both architecture concepts (CloudNative) and process redefinition (SRE). Rob Hirschfeld’s recent work in Kubernetes operations has led to the conclusion that containers and related platforms have changed the way we should be thinking about DevOps and...
SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Taica manufacturers Alpha-GEL brand silicone components and materials, which maintain outstanding performance over a wide temperature range -40C to +200C. For more information, visit http://www.taica.co.jp/english/.
When it comes to cloud computing, the ability to turn massive amounts of compute cores on and off on demand sounds attractive to IT staff, who need to manage peaks and valleys in user activity. With cloud bursting, the majority of the data can stay on premises while tapping into compute from public cloud providers, reducing risk and minimizing need to move large files. In his session at 18th Cloud Expo, Scott Jeschonek, Director of Product Management at Avere Systems, discussed the IT and busine...
SYS-CON Events announced today that SourceForge has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
SYS-CON Events announced today that TidalScale will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
As popularity of the smart home is growing and continues to go mainstream, technological factors play a greater role. The IoT protocol houses the interoperability battery consumption, security, and configuration of a smart home device, and it can be difficult for companies to choose the right kind for their product. For both DIY and professionally installed smart homes, developers need to consider each of these elements for their product to be successful in the market and current smart homes.
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
In his general session at 21st Cloud Expo, Greg Dumas, Calligo’s Vice President and G.M. of US operations, will go over the new Global Data Protection Regulation and how Calligo can help business stay compliant in digitally globalized world. Greg Dumas is Calligo's Vice President and G.M. of US operations. Calligo is an established service provider that provides an innovative platform for trusted cloud solutions. Calligo’s customers are typically most concerned about GDPR compliance, applicatio...
Companies are harnessing data in ways we once associated with science fiction. Analysts have access to a plethora of visualization and reporting tools, but considering the vast amount of data businesses collect and limitations of CPUs, end users are forced to design their structures and systems with limitations. Until now. As the cloud toolkit to analyze data has evolved, GPUs have stepped in to massively parallel SQL, visualization and machine learning.
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
SYS-CON Events announced today that Dasher Technologies will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...