Saturday, February 28, 2009

How to cancel your Amazon S3 account

One of the areas of confusion a frustration is how to cancel your Amazon S3 account. Please understand me right! Under no account I want to tell you that you have to cancel your account for the reason of poor quality and performance. I am a big fun of Amazon S3 and I have several accounts there. Our company CloudBerry lab is Amazon S3 tools vendor and our success is riding on that of Amazon S3. In other words the more accounts are out there is the better for us!

Anyways, sometimes you need to cancel your Amazon S3 account. For instance you have several of them for different purposes and you don’t need one of them anymore just to make things manageable.  You might be a developer experimenting with different stuff using different S3 accounts and ready to move to production and don’t need one of your test accounts anymore.  

Cancelling Amazon S3 account

 

So here is what you have to do.  Go to http://aws.amazon.com/account/ and click “Account Activity” link in the menu.

 


 

Find Simple Storage Service in the list and click “view/edit service”


Scroll all the way down to the bottom of the page to find “Cancel Service” link

 


You will get another screen where you have to confirm that you really want to cancel the service. Again scroll all the way to the bottom to click “Cancel this Service” button

 

Now your service if effectively cancelled


In conclusion, I would like to tell you that we really hope you will cancel Amazon S3 service rarely, only when you have a good reason for it.

We hope you found this post useful and please check out CloudBerry Explorer for Amazon S3 freeware at http://cloudberrylab.com/

Wednesday, February 25, 2009

How to rename files or folders in an Amazon S3 bucket using CloudBerry Explorer

Note: this post applies to CloudBerry Explorer for Amazon S3 1.3 or later.

Sometime you need to rename a file or a folder just like you do it on your local computer. Until recently Amazon didn’t offer rename support and the only way to rename a object we to upload the object with a new name and delete the old one.

Things changed recently with an introduction of copy enhancements that support for object and we decided to takes Amazon lead and support copy files and folders in CloudBerry Explorer.

All you have to do is to select a file or folder you want to rename and click on the “Rename” button on the toolbar. 


You can use F2 keyboard standard hot key tool. Now, type the new name and click ok. The file of folder will be renamed – as simple as that.


What if I want to rename a bucket

Unfortunately there is no easy way to rename a bucket. The only possibility is to create a new bucket with the name you want and copy the contents of old bucket to a new one. The good thing is that the transfer between buckets in the same geographical zone is free of charge and CloudBerry Explorer has an option to copy files between buckets w/o downloading them to your local computer.

In the future releases we will try to automate this process as much as possible, but you have to keep in mind that renaming a bucket involve data movement and might take quite some time.

Alternatively, you can use an AMI EC2 machine specifically designed to rename buckets. Check out Amazon Discussion forum thread here – it contains a lot of useful information.

 

As always we hope you liked our post and we invite you to download CloudBerry Explorer for Amazon S3 at our website at http://cloudberrylab.com/

Saturday, February 21, 2009

How to configure Requester Pay Option with Cloudberry Explorer for Amazon S3

It has been just a couple weeks since Amazon introduced a new option for requesting content stored in S3 buckets – Requester Pay option. With this option you can configure bucket in such a way that the user who request the contents will pay transfer fee. When your content is fairly popular and you have many requests, transfer fees may become overwhelming. Amazon recognized the challenge that content distributors face and implemented Requester Pay option.

It worth mentioning that Requestor Pay option seamlessly integrates with Amazon DevPay Service and you can not only pass transfer fees to requester but also charge the premium on top of that.

Note that you still have to pay storage fees for the content stored in the bucket configured for Requester Pay.  Also keep in mind Requester Pay option works only for authenticated requests. It doesn’t work for anonymous requests, BitTorrent requests and SOAP requests.

  You can get more info on this option on Amazon Web Services website http://developer.amazonwebservices.com/connect/ann.jspa?annID=386

Configuring a bucket for Requester Pay option

 

We decided to support Requestor Pay option in the newer version of CloudBerry Explorer. To turn Requestor Pay option “on” for a bucket you have to right click the bucket and click properties.  On the property sheet click “Requester Pay” tab.  You will get the screen shown on the picture below.

 


All you have to do is to check the option off and click “ok” button. 

Note that a requester will have to configure a request for content in this bucket in a special way. He will have to explicitly indicate that he agrees to pay for content otherwise he will get an error response.

Configuring an external bucket for Requester Pay option

 

To demonstrate how it can work we decided to support Requester Pay option in our External Bucket feature.  When you add an external bucket that is configured for Requester Pays options and try access it you will get an error message stating that access is denied. You can specify that you agree to pay transfer fees for the content stored there.


 

So, now you will actually pay if you get contents from someone else’s bucket. We external bucket implementation will be useful when you explore Requester Pay option or test a more comprehensive system that employs Requester Pay option – we expect a lot of systems like this to be build in near future! Or maybe you will want to use CloudBerry Explorer to distribute your content and avoid excessive fees!

We are actually wondering if you find our External Bucket feature that supports Requester Pay option useful and we are eager to know how you use it. We hope you like our post and as always we are looking forward to your feedback! 

Wednesday, February 18, 2009

How to Configure your Amazon S3 bucket for use with streamincloud.com with CloudBerry Explorer

Note: this post applies to CloudBerry Explorer latest version 1.3. You can download it for free at http://cloudberrylab.com/

What is streamincloud.com

Streamincloud.com is a free FLV encoder for Amazon S3 and CloudFront. It will monitor your bucket for new video files and encode them in the popular Flash FLV video format.  

If you don’t have StreamInCloud.com account yet, we highly recommend give it a try – sign-up for free at the website http://www.streamincloud.com/

What do you need to make it work

  1. You have to sign-up for a free account at streamincloud.com and specify the bucket you want to use to convert video files.
  2. Then you have to give streamincloud.com account read/write permissions on that bucket containing one or more video files.
  3. Streamincloud.com will convert your videos to Flash FLV, the most popular streaming video format and used by sites like YouTube.
  4. Streamincloud.com will create a Folder called FLV and put converted files there.
  5. They'll continue monitoring your bucket for new video files to encode.


How CloudBerry Explorer can help you

CloudBerry Explorer made it very easy to configure your bucket for streamincloud.com. We have included streamincloud.com account in the list of default account in CloudBerry Explorer ACL editor.



Granting streamincloud account read/write access to the bucket

Now grant streamincloud account Read/Write access to the bucket as shown on the picture.   To do that just check off appropriate checkboxes as shown on the picture.


 Propagating ACL to all objects in the bucket

There is one final step to make streamincloud.com work. You have to propagate ACL list to all the files in the bucket and CloudBerry Explorer comes handy again.  Make sure that “Apply for all subfolders and files” checkbox is on and click ok button. This will effectively apply permissions to all files in the bucket, assuming you want to convert all files.


Now you are ready to go – streamincloud.com will automatically pickup all video files in your bucket and convert them for you for free. Sounds unrealistic – give it a try! ;-)

Should I apply ACL every time I copy a new video to the bucket?

 

This is a reasonable question and the answer is no if you use CloudBerry Explorer to copy files. CloudBerry Explorer will automatically apply bucket ACL to new files copied into it. There is a global option that controls this behavior and by default it is on. But we recommend checking it out.  Go to tools->options in the main menu and click to “Copy/Move” tab. Now make sure “Inherit permissions for all objects” is selected.


Final notes

We will keep adding other features that will make it easier for Amazon S3 users to exploit the power of streamincloud.com and other services. Stay tuned!  

Have a question or comment? Submit it at our support page .

You can download the new version of CloudBerry Explorer for free at http://cloudberrylab.com/

You can sign-up for streamincloud.com service at http://streamincloud.com/

Become CloudBerry Explorer fun on Facebook

Tuesday, February 17, 2009

How to Create Amazon S3 account Video

In my previous post I talked how to create Amazon S3 account and register it with CloudBerry Explorer. This post have been quite poplular and now we decided to make a video that will explain how to create Amazon S3 account. Enjoy! 

you can watch the video at our website http://www.cloudberrylab.com/?page=how-to-signup-s3



p.s. for smarties - don't try to login with Access/Security keys - the account doesn't exist anymore ;-)

Sunday, February 15, 2009

How to copy files between Amazon S3 accounts with CloudBerry Explorer and PowerShell

Sometimes people need to copy a large number of files between two Amazon S3 accounts. This process can be time consuming in particular when you copy between a bucket located in the US and the bucket located in EU. This is where CloudBerry Explorer PowerShell interface comes handy.

The advantage of using CloudBerry Explorer for copying files between buckets

The good thing about CloudBerry Explorer is that it copies the files in Amazon S3 w/o the need to download the files to a local computer. This dramatically reduces the time needed to run such copy and user expenses.  For copying between the buckets in the same geographical location it is absolutely free. If you want to copy between buckets in different locations (between US and EU) you still have to pay transfer fees.  PowerShell command line interface further simplifies things as you can automate the whole process and literally forget about it.

Getting Started with PowerShell Console

Note: if you don’t have PowerShell installed on your computer please refer “How to get Microsoft PowerShell” and “How to register PowerShell snap-in” sections below.

Note: to run the following example your PowerShell Execution Policy should be set to at least RemoteSigned. If you don’t know how to do it see at the bottom of the post.  

Run PowerShell console from start menu.



To add a CloudBerry explorer snap-in to PowerShell console run the following command

Add-PSSnapin CloudBerryLab.Explorer.PSSnapIn


Create an object for a source S3 account connection

$s3 = Get-CloudS3Connection -Key [accesskey] -Secret [secretkey] -ProxyAddress [proxy] -ProxyPort [port]

Where [accesskey] and [secretkey] your Amazon S3 account access and secret keys respectively

[proxy], [port] - a name or an IP address and a port number of your proxy server respectively (if needed)

Create an object for a target S3 account connection

$s3target = Get-CloudS3Connection -Key [accesskey] -Secret [secretkey] -ProxyAddress [proxy]ProxyPort [port]

Create an object for a target bucket and a folder

$destination = $s3target | Select-CloudFolder -Path [target bucket path]

Where [target bucket path] is the name of the bucket followed by the path to your files on a target Amazon S3 account

Note that you can specify just a bucket without folders underneath it if you want to copy files to the bucket root.

Select a source bucket and a folder and run copy process

$s3 | Select-CloudFolder -Path [source bucket path] | Copy-CloudItem -Destination $destination -Filter *

Where [source bucket path] is the name of the bucket followed by the path to your files on a source Amazon S3 account

While copy process is running you can monitor the progress.




Just replace your [accesskey] ,  [secretkey]  , [target bucket path] and  [source bucket path] with those applicable to your environment.

 

How to move files instead of copying them

 

If you want to move files you can use Move-CloudItem command. It has exactly the same syntax as Copy-CloudItem command.  Here is an example:

$s3 | Select-CloudFolder -Path [source bucket path] | Move-CloudItem -Destination $destination -Filter *

How to create a PowerShell batch file

 

Create a text file and paste a script above to it. Name it with '.ps1' extension, like “CopyS3files.ps1


Now you can run scripts from the console.

c:\myscripts\CopyS3files.ps1

or if it is in current directory just

.\ CopyS3files.ps1



Note: to run PowerShell batch files the default Execution Policy might need to be changed. See below on how to  set Execution Policy. 

How to schedule a PowerShell batch file

You can also schedule PowerShell script file with Windows Task Scheduler

Just paste the following line to “Run” field as depicted below.

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe c:\myscripts\ CopyS3files.ps1


If -noexit is specified PowerShell console will not be closed after script execution.

More information on how to run scripts can be found on the Microsoft website at: http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx  

How to get Microsoft PowerShell

Microsoft PowerShell can be downloaded for free from Microsoft website at http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx

 

How to register CloudBerry Explorer PowerShell Snap-In for Amazon S3

 

If the PowerShell was installed prior to installation of CloudBerry Explorer the Snap-in will be installed automatically as a part of the CloudBerry Explorer installation process. Otherwise, run the following command in the CloudBerry Explorer installation folder

c:\Program Files\CloudBerryLab\CloudBerry Explorer for Amazon S3


C:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil.exe CloudBerryLab.Explorer.PSSnapIn.dll


Note: You can do this from command line or PowerShell.

You can verify that the CloudBerry Explorer Snap-in is registered. Run the following command using PowerShell console:

Get-PSSnapin –Registered

PowerShell displays registered Snap-Ins. Check that CloudBerryLab.Explorer.PSSnapIn is in the list.


How to set Execution Policy

To allow running scripts in batch files default execution policy must be changed, it must be set only once. By default execution policy is set to Restricted (Running scripts or configuration files is prohibited).

Note: You can still execute individual commands. The default policy should be changed only if you want to execute PowerShell batch files.

Possible options:

Unrestricted – all scripts are permitted without signing.

·         RemoteSigned – local scripts can be executed without signing. Remote (downloaded using Outlook, Internet explorer, etc) must be signed with certificate. On execution message will appear weather you trust publisher.

·         AllSigned – only signed scripts can be executed. The message about publisher will appear.

To run the script in our example set Execution Policy to RemoteSigned as shown on the screenshot.



Setting Execution Policy on Vista

 

If you are running Vista you will need to run the console as Administrator or you won’t be able to change Execution Policy. This is because Execution Policy is controlled by a Windows Registry and access to registry on Vista is restricted by UAC.

 

You will likely get "Set-ExecutionPolicy : Access to the registry key ..." error message when running Set-ExecutionPolicy command.

 

To work around the problem start the PowerShell console as an Administrator and run the command. You can do this by right-clicking the PowerShell icon in the Start Menu and selecting "Run as Administrator".

You can donwload CloudBerry Explorer for free at http://cloudberrylab.com/

You can learn more about CloudBerry Explorer PowerShell interface at http://cloudberrylab.com/default.aspx?page=amazon-s3-powershell

Friday, February 13, 2009

CloudBerry Explorer for Amazon S3 – What’s New in release 1.3

We are excited to announce that CloudBerry Explorer 1.3 is out! Here is an overview of new features.

Performance improvements

Many of you complained about using CloudBerry Explorer with large number of files stored on S3 account. We are now using full power of Amazon S3 API to make your experience as smooth as possible. When you have a deep folder structure in your bucket we will read only the files in the current folder. This makes retrieving the list of files much faster. We also use a virtual list view that reads only the first 1000 files from the bucket so that if you are opening a bucket with thousands of files we will show it contents almost instantly. This makes CloudBerry Explorer a tool of choice for real production systems.  We will have an additional blog with more details about it.

Amazon “Requestor pay” option support

 There is an additional option in CloudBerry Explorer that requires you one click to enable “requester pay” option. We will have an additional blog post explaining this feature.

Rename support

We are now using newer Amazon Copy API enhancements to offer an efficient rename feature. Now you can rename files and folders. Renaming buckets is a little bit more involved and coming in the new version.

Streamincloud.com support

Streamincloud.com is a free FLV encoder for Amazon S3 and CloudFront. They will monitor your bucket for new video files and encode them in the popular Flash FLV video format.  

We now made it even easier for those of you who use the service as streamincloud account is now available in the list of default account in CloudBerry Explorer ACL editor.  If you don’t use StreamInCloud.com yet, we highly recommend checking out their website at http://www.streamincloud.com/

We will also provide an additional post explaining how to configure your bucket for streamincloud.com service in more details.

New PowerShell commands

New PowerShell commands for creating buckets, managing ACLs, etc. check out our web site for more details on new commands http://www.cloudberrylab.com/default.aspx?page=amazon-s3-powershell#newin1_3

 

Other features

Annoying “do you really want to exit window” is no longer there! Only if you have a running copy/move process we will display a warning message. In all other cases the tool will just gracefully close.

We also support object starting with slash. Previous version of the Explorer failed to show them properly as indicated in the blog post. Now this issue is solved.

New Forum

We have to admit that we have screwed up our Discussion Forum, with a lot of irrelevant advertisements it was not a place where you would seek an adequate answer to your questions. We have replaced the forum software and we will try to keep it clean of unrelated content and provide you with timely feedback. Please check it out at http://cloudberrylab.com/forum/default.aspx?g=topics&f=1

Find us on Facebook

CloudBerry Explorer is now on Facebook, please take a moment, visit the page and become a fan. http://www.facebook.com/pages/CloudBerry-Explorer/59125891004   In the future we will be providing additional incentives for Facebook fans only!

If you have any idea on how to make CloudBerry Explorer better or simply want to report an issue go to   http://www.cloudberrylab.com/?page=support  . We will appreciate that very much!

 

You can download the new version of CloudBerry Explorer for free at http://cloudberrylab.com/

Tuesday, February 10, 2009

How to post excerpts from websites with CloudBerry Twitter plug-in for Internet Explorer

How CloudBerry Explorer Twitter plug-in can help me

You surf the internet and come across something that you want to share with everybody else. Twitter is a wonderful tool that helps you to stay connected with your friends all over the world and if you like me you have a temptation to post an exciting thing to twitter so that all your followers can share your excitement.

Now you have to copy a text from the web page and paste it to the twitter status window. You also may want to copy a URL of the web page from the Internet Explorer address bar. The whole process is very destructive and may take a couple of valuable minutes every time.

CloudBerry Twitter plug-in will make it the whole task like a breeze.  All you have to do is to select a text on the web page and click a button on the browser toolbar.  Not only will it take the text to twitter status but also add a short version of the source page URL to it.

How it works

You read the webpage and find something of interest. You select the text and click “Tweet” button on the toolbar.


Now a window will pop up with your quote and a short URL of the web page.  It will also make sure that your text doesn’t exceed the allowed limit of 140 symbols.


Edit the text if you like and click “Tweet” button. Let’s now check your twitter page.  As you can see your latest update is exactly the quote from the web site you’ve just visited. Isn’t it cool?





 

How CloudBerry Twitter Plug-in for IE knows my Twitter account.

 

There is no magic! You have to tell specify it on the first use. Just fill in the form with your twitter user name and password.


If you find it exciting but don’t know what the Twitter is (I personally don’t believe the reader of this post don’t know about Twitter) click “Register now” link and it will take you to the Twitter website.

Your account details are stored on your local computer in your profile in encrypted form. CloudBerry lab has no access to it!

Are plug-in for other browsers coming?

 

Yes, we plan FireFox plug-in version very soon.  We would love to make a Google Chrome plug-in, but there is no telling when it will happen…

What short URL services CloudBerry Twitter plug-in uses

The user has a choice between very popular TinyURL service and another service called Chilp it!

 

You can download CloudBerry Twitter plug-in for free at http://twitter.cloudberrylab.com/ . No registration required, you just download it, install it and ready to go!

We hope you like this post. As always, if you have any question or comments feel free to submit feedback at http://cloudberrylab.com/

Tuesday, February 3, 2009

Twittersheep and CloudBerryMan

I thought it was kind of cool and wanted to share with you.  I came across this serivce reading Amit Agarwal's blog . You have to login with your twitter account and the service generate a colorful wordles. You can check it yourself at http://twittersheep.com/  

The first one is generated based on Bios of my followers.  Looks like my followers are mostly a serious audience like marketers, developers, bloggers, entreperneurs, etc...




The second one is generated based on what I personally tweet. Well, everybody knows I am a twitter spammer (or a direct marketer based on who you ask) 



How to sign-up for Amazon S3 service and connect to it with CloudBerry Explorer

There are a number of posts on the subject on the internet featuring competitive product. This post will focus on CloudBerry Explorer in hope that this product will become a tool of choice for those who will find the post by chance while showing how easy it is to sign-up to Amazon S3 service and to start using it.

How to create AWS account

Go to http://aws.amazon.com/ website and click the link at the very top right corner of the screen.


This will take you to the next screen, where you can create a new account or use your existing Amazon account.



This will take you to the next step, where you confirm your email and specify your password


This will take you to the next step where you have to fill in your address information and accept a license agreement.


The last step will take you to the confirmation step where you can specify Amazon Web Service you want to sign up to – in our case it is Amazon Simple Storage Service of Amazon S3.



Note: you have to sign-up for each Amazon S3 service separately.

How to sign-up for Amazon S3 service

This is a second part of the sign-up process. After you created an Amazon account you have to sign-up for the service itself. The link will take you to the Amazon S3 service page and you have to click “Sing Up For Amazon S3” button.




Next page will walk you thru Amazon S3 low pricing structure and you will have to specify your credit card details at the very bottom of the page.

Don’t worry! My personal Amazon S3 monthly bills rarely exceed a couple of bucks!


Pass a few more steps to complete sign-up and you will get to a confirmation screen



Now you have successfully signed-up for Amazon S3 service.

How to get CloudBerry Explorer for Amazon S3

To start using the wonderful Amazon S3 service you need a client tool. There are plenty of tools available commercial and free, but this post intents to promote CloudBerry Explorer Freeware.

Note: CloudBerry Explorer is a Windows only tool. If you are working on other platforms you will have to search for other tools.

Go to http://cloudberrylab.com/ and follow the link to download page.



You will have to fill a registration form and we will send you an email with the download link. Please don’t enter fake emails as you will never get a download link and waste your time. Click the link in the email to download the installation package. Install the product and run it.

Now you have to register your first S3 account. When you run CloudBerry Explorer for the first time it will pop-up and Account Registration dialog and you will have to click “New Account” icon or “Add” button.



Add new Amazon S3 account dialog will pop-up. Enter whatever name you want to refer to your S3 account, but getting Access and Secret keys is a little trickier and we will explain it in the next section.




How to get Access Identifiers

Access and Secret keys are also known as Access Identifiers and you can think of them as about your username and password. To get them go to the http://aws.amazon.com/ website and click Access Identifiers link as shown below.



Scroll the page down a little bit to get to “Access Key ID and Secret Access Key” section. For obvious reasons I don’t show my keys here.


Click show button to display your Secret key.


Copy keys and past them in to the CloudBerry Explorer Account Registration form and click ok.




Your account will appear in the list



And in the list of your account in the Cloudberry Explorer main windows



Now you are ready to enjoy Amazon S3 with CloudBerry Explorer, you can create buckets and copy files to it and explore other features of CloudBerry Explorer. Check our other blog posts at http://blog.cloudberrylab.com/ and watch our videos at http://clouberrylab.com/videos/

You can download CloudBerry Explorer for Amazon S3 at http://cloudberrylab.com/

CloudBerry liquer


I friend of mine brought me a bottle of Cloudberry liquer. I thought it is kind of fun and would like to share a picture with you. The logo on the bottle reminds me of that of CloudBerry lab. Don't you think so? :-)


Monday, February 2, 2009

How to generate Web URLs for Amazon S3 files using CloudBerry Explorer

Many people use Amazon S3 to host files available on their websites such as images, video and audio files. But one area of confusion for many users is how to generate the correct URLs . This is where CloudBerry Explorer for Amazon S3 can help.

How to generate a simple URL

Select the file to generate a URL and click the “Web URL” button on the toolbar. You will see the URL in the new Window. Now just copy it to clipboard using the button with the same name.


How to provide access to a URL for internet users

If you want to post URL on your website and make the file available to every internet user you will have to setup an ACL for this file to provide read access to anonymous users (AllUser group).
Select a file and open ACL Editor. Select “All Users” built-in group and make sure Read permission is “on”. Click ok to close ACL editor.

Now you can safely post the file on your website and internet users will be able to download it.
How to generate a singed or “time limited” URL

This is very simple; just click “Expired url after specified date” checkbox and select the date and time, when you want URL to expire.

Then click Generate button and you will get a long url with parameters that will be valid till the specified date

You can use “Copy to Clipboard” button to copy the URL and paste it for example to the body of an email message.
Note: the important advantage of signed URL that you don’t have to make any special ACL adjustments. Just generate a URL and you are ready to distribute it!

How to generate URLs for multiple files

Nothing could be easier, just select all files you want to generate URLs for and click “Web URL” button on the toolbar.

You will see the list of URLs for each of the selected file. Click copy to clipboard button and you are ready to paste URLs to other programs such as an HTML files editor.
In our future posts we will try to shed some light to another area of confusion that is how to use CNAME in Amazon S3 URLs. So stay tuned!
If you want to know how to setup CNAMEs and don’t want to wait till the next post we suggest that you check out Amit Agarwal’s post on the subject here.
You can download CloudBerry Explorer for Amazon S3 for FREE at http://cloudberrylab.com/