Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

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.

IoT & Smart Cities Stories
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO 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 t...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...