download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

How to Generate URL for Amazon S3 file?

Generate Web URL :-

To be able to share files with your friends, you need some way to make it available publicly or If you do not want to make file publicly readable then your can generate signed url for it. Bucket Explorer’s “ Generate Web URL ” option helps you in this regard. Bucket Explorer allows you to generate following four types of URL Formats :

Click here to know the steps for generating web URL .
Bucket Explorer are now ready to generate urls for following types of Domain name .

  • Amazon S3 Bucket : Bucket created on Amazon S3 i.e. mybucket.s3.amazonaws.com
  • CloudFront Distribution Domain : Distribution created on Amazon S3 Bucket for CloudFront i.e. sfs3sdf390sdf.cloudfront.net
  • CloudFront CName : Associated CName with CloudFront Distribuiton i.e. mydomain.com
  • S3 Website : S3 Bucket set as S3 Website i.e. mybucket.s3-website-us-west-1.amazonaws.com for us bucket location.
  • CustomDomain : Any other domain name using for virtual hosting.
Url Protocol Types ( Insecure and Secure)

Url Formats

1 ˆ . Http URL : It is most common and popular format of URL. If you attempt to access the URL that is expired, you will only find some error message. You still keep the file in your S3 account and don't have to remove it in order to remove access for others. click on ‘HTTP URL' radio button to get the http:// format.

2 ˆ . Https URL : It is also http url but works over secure socket layer. In other words, https works over secure mechanism. It is useful where user want secure communication of response/request between client servers. Generally it is used with commercial exchange of data. To generate https URL, you need to click on ‘HTTPS URL' radio button to get the https:// format.

3 ˆ . Default URL : This type of url is used to generate simple url of the selected domain name with http/https protocols.

Url Format : http://<domainname>/objectname
i.e. if you select cloudfront domain then your url will be http(s)://sdk3sf3sdfk3dsf.cloudfront.net/index.html.

4 ˆ . Use Bucket Name as Virtual Host : By this option, Bucket Explorer replaces s3.amazonaws.com with bucket name and construct the URL like your host (website name) URL. But make sure the bucket name should be same as host name ( e.g images.bucketexplorer.com). After generating Virtual Host url you should use CNAME entry otherwise url will not work.

Url Format : http://<domainname>/objectname ( excluded ".s3.amazonaws.com" from Bucket Name )
i.e.   http:// mybucket / myobject.ext , here mybucket and myobject.ext are represented viz; bucket name and file name with extension.

5 ˆ . Torrent URL : ‘Torrent URL' generates a URL that is in the form of Bit Torrent file. Using this URL, object can be downloaded with a Bit Torrent client application. Since this application fetches data from various sources, it saves both time and bandwidth usage. It also eliminates the dependency from the particular host. To generate the torrent URL you need to click on “Torrent Url” button and you will get the url(s) with " ?torrent " suffix.

Url Format : http://<domainname>/objectname?torrent
i.e.  https://mybucket.s3.amazonaws.com/myobject.ext ?torrent

6 ˆ . Signed URL :‘Signed URL' is the url which is valid for specific time period that's why its also know as " Time Limited Signed URL ". Using Bucket Explorer you can set a fixed expiration time for a URL. Upon expiry, the URL will no longer remain active and if you attempt to access the URL once it has been expired, you will only find some error message. You still keep the file in your S3 account and you don't have to remove it from S3 account in order to remove access for others.
The very purpose of signed URL is to share the pages that have time sensitive information, or when you want to share a file with someone without making it available to everyone on the net. Such information becomes stale once a definite time passes out.

Url Format :
http://<domainname>/objectname ?AWSAccessKeyId =<accesskey>& Expires =<expire time>& Signature =<signature string>
i.e.  https://mybucket.s3.amazonaws.com/myobject.ext? AWSAccessKeyId =ALSECKCKDKMKC5GUSNFA& Expires =1301234062& Signature =ssmu34aCsECO8%2F6vHDdf9u0TCcU%3D
 

To create signed URL, simply follow the steps below :

1. Right click over an object and choose 'Generate Web URL'.
2. In Figure 1 below, look for a button with caption as Signed URL.
3. Manually Insert or choose expiry date-time in space provided next to the signed url button. See Figure 2 below
4. After Inserting date and time, click on the Signed URL button.
5. The new URL appears in the big box under the button. See Figure 3 below
by default opened web url panel
Figure 1
by default opened web url panel
Figure 2
by default opened web url panel
Figure 3

Steps for generating web URL :

To generate web url for particular file(s)
  1. Select the file(s) for which you want to generate web URL(s).
  2. Right click on it and choose " Generate Web URL " option.
  3. Now it shows the window as shown in above images.
  4. To generate different type of url you need to select following options
    a Select Domain Name from Combo box exist on top of left side panel
    b Select URL Type radio option button HTTP or HTTPS
    c Select URL Format radio option button in which format you want to form your urls.
    1. Default Url
    2. Virtual Host Url
    3. Torrent URL
    4. Signed URL
  5. Click on Copy , to copy the selected url or Copy all to copy multiple urls into clipboard, Copy URL allow to copy selected URL
  6. Click on Exit button to close the "Generate web url" window.
  7. Now the urls are ready in clipboard, use them where ever you want. i.e. you can paste these urls into your mail to share with your friends etc.
watch how to on host s3 website on amazon s3 bucket

download bucket explorer for windows,linux and mac osx
Go top

Other options:

  • Urls are clickable, so it will open in browser when you click on it.
  • Show Thumbnail, shows small image for the image files.
  • The Copy All and Copy is used to copy all Urls into clipboard in well format.
  • The Copy URL option is used to copy selected URL into clipboard.
  • Help option provides helps and detailed information about url generation.
  • Generate Url generates url for custom host, which is entered manually in the combo, can use by entering CName entry with corresponding to the custom host domain.


 

Give us your feedback