SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
Amazon S3 and related services

                                Emilio Trussardi

                                       F1000.com


                                January 17, 2012




Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   1 / 12
Introduction


Introducing Amazon S3



Definition
S3 is an online storage web service, designed for high redundancy, high
availabilty and low latency.

Features
     99.999999999% durability (on a given year)
     99.99% availability (on a given year)
     designed to support concurrent data failure in two physical facilities.




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   2 / 12
Introduction


Organize your data


Definition
A bucket is the basic storage unit in Amazon S3. It is a single-level
container (no hierarchy supported), and it’s based on key-object
associations.
Details
      Sub-folder are supported through specific Content-Type headers and
      a “substring mechanism”
      Upload and download are easy
      Renaming of folders; navigation of complex hierarchy can be
      problematic.



  Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   3 / 12
Introduction


Organize your data



Example
dev.my.bucket.com

Urls for download
     http://dev.my.bucket.com.s3.amazonaws.com/
     https://dev.my.bucket.com.s3.amazonaws.com/
     https://dev.my.bucket.com.s3.amazonaws.com/?torrent




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   4 / 12
Access S3


Access S3 - GUI




     Use Amazon AWS Management Console
     Use Cloudberry Explorer




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   5 / 12
Access S3


Access S3 - CLI




     Use s3cmd - open source, easy to configure
     s3cmd get
     s3://my.bucket.com/posters/thumbnails/100118026
     s3cmd ls s3://my.bucket.com
     s3cmd put this.jpg
     s3://my.bucket.com/posters/thumbnails/this.jpg




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   6 / 12
Access S3


Access S3 - Java




     Use JetS3t - open source library based on Apache HttpClient
     it also works on Google Storage!




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   7 / 12
Access S3


JetS3t example - Connection




String awsAccessKey = ‘‘YOUR_AWS_ACCESS_KEY’’;
String awsSecretKey = ‘‘YOUR_AWS_SECRET_KEY’’;
AWSCredentials awsCredentials = new AWSCredentials(awsAccessKey,
 awsSecretKey);
S3Service s3Service = new RestS3Service(awsCredentials);
S3Bucket[] myBuckets = s3Service.listAllBuckets();




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   8 / 12
Access S3


JetS3t example - Upload




File fileData = new File(‘‘images/this.jpg’’);
S3Object fileObject = new S3Object(fileData);
s3Service.putObject(testBucket, object);




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   9 / 12
Advanced


Access control lists




      S3 allows you to specify an Access Control List for every object in the
      database
      You can set permissions for the owner, for authenticated user, for
      specific users (e-mail and Amazon ID) and for everybody.
      It’s even possible to create public URLs that expire at a given date




  Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   10 / 12
Advanced


CloudFront



Definition
CloudFront is Amazon Content Delivery Network based on Amazon S3.

     It is available in two flavours: download (HTTP) or streaming
     (RTMP) distributions.
     It acts like a cache: objects are copied to edge locations across the
     globe.
     An object remains in an edge location until it expires or until it’s
     invalidated




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   11 / 12
Advanced


Miscellanea



     Cache-Control, Content-Type and other headers can be specified at
     upload time or can be modified later.
     Create buckets with Reduced Redundancy Storage
     Versioning for increased data safety
     Server side encoding
     S3 can be used to host complete static websites; just provide index
     and error pages
     AWS Import/Export




 Emilio Trussardi (F1000.com)   Amazon S3 and related services   January 17, 2012   12 / 12

Mais conteúdo relacionado

Mais procurados

Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
white paper
 

Mais procurados (20)

ABCs of AWS: S3
ABCs of AWS: S3ABCs of AWS: S3
ABCs of AWS: S3
 
(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & Glacier(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & Glacier
 
AWS Storage Options
AWS Storage OptionsAWS Storage Options
AWS Storage Options
 
Journey Through the Cloud - Digital Media
Journey Through the Cloud - Digital MediaJourney Through the Cloud - Digital Media
Journey Through the Cloud - Digital Media
 
(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best Practices(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best Practices
 
Intro to AWS: Storage Services
Intro to AWS: Storage ServicesIntro to AWS: Storage Services
Intro to AWS: Storage Services
 
Object Storage: Amazon S3 and Amazon Glacier
Object Storage: Amazon S3 and Amazon GlacierObject Storage: Amazon S3 and Amazon Glacier
Object Storage: Amazon S3 and Amazon Glacier
 
Amazon S3 Masterclass
Amazon S3 MasterclassAmazon S3 Masterclass
Amazon S3 Masterclass
 
(STG201) State of the Union: AWS Storage Services
(STG201) State of the Union: AWS Storage Services(STG201) State of the Union: AWS Storage Services
(STG201) State of the Union: AWS Storage Services
 
Deep Dive on Amazon S3 (May 2016)
Deep Dive on Amazon S3 (May 2016)Deep Dive on Amazon S3 (May 2016)
Deep Dive on Amazon S3 (May 2016)
 
Amazon S3: Masterclass
Amazon S3: MasterclassAmazon S3: Masterclass
Amazon S3: Masterclass
 
AWS May Webinar Series - Getting Started: Storage with Amazon S3 and Amazon G...
AWS May Webinar Series - Getting Started: Storage with Amazon S3 and Amazon G...AWS May Webinar Series - Getting Started: Storage with Amazon S3 and Amazon G...
AWS May Webinar Series - Getting Started: Storage with Amazon S3 and Amazon G...
 
Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
Cloud Computing With Amazon Web Services, Part 2: Storage in the Cloud With A...
 
Amazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage OverviewAmazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage Overview
 
Storage Options on AWS
Storage Options on AWSStorage Options on AWS
Storage Options on AWS
 
AWS April 2016 Webinar Series - S3 Best Practices - A Decade of Field Experience
AWS April 2016 Webinar Series - S3 Best Practices - A Decade of Field ExperienceAWS April 2016 Webinar Series - S3 Best Practices - A Decade of Field Experience
AWS April 2016 Webinar Series - S3 Best Practices - A Decade of Field Experience
 
Storage & Content Delivery
Storage & Content DeliveryStorage & Content Delivery
Storage & Content Delivery
 
(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage Service(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage Service
 
AWS re:Invent 2016: Workshop: AWS S3 Deep-Dive Hands-On Workshop: Deploying a...
AWS re:Invent 2016: Workshop: AWS S3 Deep-Dive Hands-On Workshop: Deploying a...AWS re:Invent 2016: Workshop: AWS S3 Deep-Dive Hands-On Workshop: Deploying a...
AWS re:Invent 2016: Workshop: AWS S3 Deep-Dive Hands-On Workshop: Deploying a...
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 

Destaque

S3 Overview Presentation
S3 Overview PresentationS3 Overview Presentation
S3 Overview Presentation
bcburchn
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems
Ioanna Tsalouchidou
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
elliando dias
 

Destaque (20)

Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)
 
Deep Dive on Amazon S3
Deep Dive on Amazon S3Deep Dive on Amazon S3
Deep Dive on Amazon S3
 
S3 Overview Presentation
S3 Overview PresentationS3 Overview Presentation
S3 Overview Presentation
 
Introduction to AWS Storage Services
Introduction to AWS Storage ServicesIntroduction to AWS Storage Services
Introduction to AWS Storage Services
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?
 
What is AWS?
What is AWS?What is AWS?
What is AWS?
 
Interactively Querying Large-scale Datasets on Amazon S3
Interactively Querying Large-scale Datasets on Amazon S3Interactively Querying Large-scale Datasets on Amazon S3
Interactively Querying Large-scale Datasets on Amazon S3
 
Windows Azure Blob Storage
Windows Azure Blob StorageWindows Azure Blob Storage
Windows Azure Blob Storage
 
S3解説 - 第1回 ビギナー編 AWS User Group - Japan 東京勉強会
S3解説 - 第1回 ビギナー編 AWS User Group - Japan 東京勉強会S3解説 - 第1回 ビギナー編 AWS User Group - Japan 東京勉強会
S3解説 - 第1回 ビギナー編 AWS User Group - Japan 東京勉強会
 
Azure Storage Performance
Azure Storage PerformanceAzure Storage Performance
Azure Storage Performance
 
The Elephant in the Library - Integrating Hadoop
The Elephant in the Library - Integrating HadoopThe Elephant in the Library - Integrating Hadoop
The Elephant in the Library - Integrating Hadoop
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems
 
Introduction to Presto at Treasure Data
Introduction to Presto at Treasure DataIntroduction to Presto at Treasure Data
Introduction to Presto at Treasure Data
 
Introduzione al cloud computing e microsoft azure
Introduzione al cloud computing e microsoft azureIntroduzione al cloud computing e microsoft azure
Introduzione al cloud computing e microsoft azure
 
Hadoop distributed file system
Hadoop distributed file systemHadoop distributed file system
Hadoop distributed file system
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
Microsoft Azure - O poder da nuvem
Microsoft Azure - O poder da nuvemMicrosoft Azure - O poder da nuvem
Microsoft Azure - O poder da nuvem
 
Engaging Your Audience with Mobile Push Notifications - GDC 2014
Engaging Your Audience with Mobile Push Notifications - GDC 2014Engaging Your Audience with Mobile Push Notifications - GDC 2014
Engaging Your Audience with Mobile Push Notifications - GDC 2014
 
AWS SQS SNS
AWS SQS SNSAWS SQS SNS
AWS SQS SNS
 

Semelhante a Amazon S3 Overview

Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
Dayanand Shanmugham
 
Aws storage services whitepaper v9
Aws storage services whitepaper v9Aws storage services whitepaper v9
Aws storage services whitepaper v9
saifam
 

Semelhante a Amazon S3 Overview (20)

Aws primer Amazon Web Services
Aws primer Amazon Web ServicesAws primer Amazon Web Services
Aws primer Amazon Web Services
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
(SPOT209) State of the Union: AWS Simple Storage and Glacier Services | AWS r...
(SPOT209) State of the Union: AWS Simple Storage and Glacier Services | AWS r...(SPOT209) State of the Union: AWS Simple Storage and Glacier Services | AWS r...
(SPOT209) State of the Union: AWS Simple Storage and Glacier Services | AWS r...
 
Aws storage services whitepaper v9
Aws storage services whitepaper v9Aws storage services whitepaper v9
Aws storage services whitepaper v9
 
Aws storage services whitepaper v9
Aws storage services whitepaper v9Aws storage services whitepaper v9
Aws storage services whitepaper v9
 
Automating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVaultAutomating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVault
 
Deep Dive: Hybrid Cloud Storage with AWS Storage Gateway - AWS Online Tech Talks
Deep Dive: Hybrid Cloud Storage with AWS Storage Gateway - AWS Online Tech TalksDeep Dive: Hybrid Cloud Storage with AWS Storage Gateway - AWS Online Tech Talks
Deep Dive: Hybrid Cloud Storage with AWS Storage Gateway - AWS Online Tech Talks
 
Automating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVaultAutomating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVault
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
 
AWSomeday Brussels Technical Track
AWSomeday Brussels Technical TrackAWSomeday Brussels Technical Track
AWSomeday Brussels Technical Track
 
Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11
 
(BAC309) Automating Backup and Archiving with AWS and CommVault | AWS re:Inve...
(BAC309) Automating Backup and Archiving with AWS and CommVault | AWS re:Inve...(BAC309) Automating Backup and Archiving with AWS and CommVault | AWS re:Inve...
(BAC309) Automating Backup and Archiving with AWS and CommVault | AWS re:Inve...
 
Amazon S3
Amazon S3Amazon S3
Amazon S3
 
Automating Backup & Archiving with AWS and CommVault – Chris Gondek, Principa...
Automating Backup & Archiving with AWS and CommVault – Chris Gondek, Principa...Automating Backup & Archiving with AWS and CommVault – Chris Gondek, Principa...
Automating Backup & Archiving with AWS and CommVault – Chris Gondek, Principa...
 
How to copy multiple files from local to aws s3 bucket using aws cli
How to copy multiple files from local to aws s3 bucket using aws cliHow to copy multiple files from local to aws s3 bucket using aws cli
How to copy multiple files from local to aws s3 bucket using aws cli
 
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
 
AWS simple storage service
AWS simple storage serviceAWS simple storage service
AWS simple storage service
 
Amazone s3 in mule
Amazone s3 in muleAmazone s3 in mule
Amazone s3 in mule
 
Deep dive on storage offerings: What to use, where, and why - STG303 - New Yo...
Deep dive on storage offerings: What to use, where, and why - STG303 - New Yo...Deep dive on storage offerings: What to use, where, and why - STG303 - New Yo...
Deep dive on storage offerings: What to use, where, and why - STG303 - New Yo...
 
Storage and Compute
Storage and ComputeStorage and Compute
Storage and Compute
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Amazon S3 Overview

  • 1. Amazon S3 and related services Emilio Trussardi F1000.com January 17, 2012 Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 1 / 12
  • 2. Introduction Introducing Amazon S3 Definition S3 is an online storage web service, designed for high redundancy, high availabilty and low latency. Features 99.999999999% durability (on a given year) 99.99% availability (on a given year) designed to support concurrent data failure in two physical facilities. Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 2 / 12
  • 3. Introduction Organize your data Definition A bucket is the basic storage unit in Amazon S3. It is a single-level container (no hierarchy supported), and it’s based on key-object associations. Details Sub-folder are supported through specific Content-Type headers and a “substring mechanism” Upload and download are easy Renaming of folders; navigation of complex hierarchy can be problematic. Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 3 / 12
  • 4. Introduction Organize your data Example dev.my.bucket.com Urls for download http://dev.my.bucket.com.s3.amazonaws.com/ https://dev.my.bucket.com.s3.amazonaws.com/ https://dev.my.bucket.com.s3.amazonaws.com/?torrent Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 4 / 12
  • 5. Access S3 Access S3 - GUI Use Amazon AWS Management Console Use Cloudberry Explorer Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 5 / 12
  • 6. Access S3 Access S3 - CLI Use s3cmd - open source, easy to configure s3cmd get s3://my.bucket.com/posters/thumbnails/100118026 s3cmd ls s3://my.bucket.com s3cmd put this.jpg s3://my.bucket.com/posters/thumbnails/this.jpg Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 6 / 12
  • 7. Access S3 Access S3 - Java Use JetS3t - open source library based on Apache HttpClient it also works on Google Storage! Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 7 / 12
  • 8. Access S3 JetS3t example - Connection String awsAccessKey = ‘‘YOUR_AWS_ACCESS_KEY’’; String awsSecretKey = ‘‘YOUR_AWS_SECRET_KEY’’; AWSCredentials awsCredentials = new AWSCredentials(awsAccessKey, awsSecretKey); S3Service s3Service = new RestS3Service(awsCredentials); S3Bucket[] myBuckets = s3Service.listAllBuckets(); Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 8 / 12
  • 9. Access S3 JetS3t example - Upload File fileData = new File(‘‘images/this.jpg’’); S3Object fileObject = new S3Object(fileData); s3Service.putObject(testBucket, object); Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 9 / 12
  • 10. Advanced Access control lists S3 allows you to specify an Access Control List for every object in the database You can set permissions for the owner, for authenticated user, for specific users (e-mail and Amazon ID) and for everybody. It’s even possible to create public URLs that expire at a given date Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 10 / 12
  • 11. Advanced CloudFront Definition CloudFront is Amazon Content Delivery Network based on Amazon S3. It is available in two flavours: download (HTTP) or streaming (RTMP) distributions. It acts like a cache: objects are copied to edge locations across the globe. An object remains in an edge location until it expires or until it’s invalidated Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 11 / 12
  • 12. Advanced Miscellanea Cache-Control, Content-Type and other headers can be specified at upload time or can be modified later. Create buckets with Reduced Redundancy Storage Versioning for increased data safety Server side encoding S3 can be used to host complete static websites; just provide index and error pages AWS Import/Export Emilio Trussardi (F1000.com) Amazon S3 and related services January 17, 2012 12 / 12