Amazon Cloudfront Developer Guide API Version 2012-07-01 Amazon Cloudfront Developer Guide

Total Page:16

File Type:pdf, Size:1020Kb

Amazon Cloudfront Developer Guide API Version 2012-07-01 Amazon Cloudfront Developer Guide Amazon CloudFront Developer Guide API Version 2012-07-01 Amazon CloudFront Developer Guide Amazon CloudFront: Developer Guide Copyright © 2013 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, Cloudfront, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. Amazon©s trademarks and trade dress may not be used in connection with any product or service that is not Amazon©s, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon CloudFront Developer Guide Introduction to Amazon CloudFront ........................................................................................................ 1 CloudFront Concepts .............................................................................................................................. 4 How CloudFront Delivers Content .......................................................................................................... 5 Locations of CloudFront Edge Servers ................................................................................................... 6 Paying for CloudFront ............................................................................................................................. 7 CloudFront or Amazon S3? .................................................................................................................... 8 Getting Started with CloudFront ............................................................................................................. 9 Creating Download Distributions .......................................................................................................... 16 Creating Streaming Distributions .......................................................................................................... 22 Migrating from Amazon S3 to CloudFront ............................................................................................. 26 Working with Distributions .................................................................................................................... 28 Changes to the CloudFront API ............................................................................................................ 28 Overview of Download and Streaming Distributions ............................................................................. 29 Actions on Distributions ........................................................................................................................ 29 Working with Download Distributions ................................................................................................... 30 Working with Streaming Distributions ................................................................................................... 43 Using Alternate Domain Names (CNAMEs) ......................................................................................... 52 Choosing the Price Class for a CloudFront Distribution ........................................................................ 55 Listing, Viewing, and Updating CloudFront Distributions ...................................................................... 55 Deleting a Distribution ........................................................................................................................... 56 Working with Objects ............................................................................................................................ 58 Format of URLs for CloudFront Objects ............................................................................................... 58 How CloudFront Processes HTTP and HTTPS Requests .................................................................... 60 How CloudFront Forwards, Caches, and Logs Query String Parameters ............................................ 61 How CloudFront Forwards, Caches, and Logs Cookies ....................................................................... 62 Adding, Removing, or Replacing Objects in a Distribution ................................................................... 64 Adding Objects to a CloudFront Distribution ............................................................................... 64 Updating Existing Objects Using Versioned Object Names ........................................................ 64 Updating Existing Objects Using the Same Object Names ......................................................... 65 Specifying How Long Objects Stay in a CloudFront Edge Cache (Object Expiration) ................ 65 Invalidating Objects (Download Distributions Only) ..................................................................... 67 How CloudFront Processes Partial Requests for an Object (Range GETs) ......................................... 72 Specifying a Default Root Object (Download Distributions Only) ......................................................... 72 Serving Compressed Files ................................................................................................................... 74 Restricting Access to Objects Based on the Geographic Location of End Users (Geoblocking) .......... 77 Request and Response Behavior, and Supported HTTP Status Codes .............................................. 78 Request and Response Behavior for Amazon S3 Origins .................................................................... 78 Request and Response Behavior, and Supported HTTP Status Codes for Custom Origins ................ 81 Serving Private Content through CloudFront ........................................................................................ 87 Task List: Serving Private Content ........................................................................................................ 91 Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content ................................. 92 Specifying the AWS Accounts That Can Create Signed URLs (Trusted Signers) ................................ 97 Overview of Signed URLs ................................................................................................................... 102 Creating a Signed URL Using a Canned Policy .................................................................................. 106 Creating a Signed URL Using a Custom Policy .................................................................................. 111 Using Linux Commands and OpenSSL for Base64-Encoding and Encryption .................................. 119 Code and Examples for Creating a Signature for a Signed URL ........................................................ 121 Create a URL Signature Using Perl .......................................................................................... 121 Create a URL Signature Using PHP ......................................................................................... 122 Create a URL Signature Using C# and the .NET Framework ................................................... 125 Create a URL Signature Using Java ......................................................................................... 133 Using an HTTPS Connection to Access Your Objects ........................................................................ 136 Using IAM to Control Access to CloudFront Resources ..................................................................... 139 Access Logs ....................................................................................................................................... 143 General Usage Data ........................................................................................................................... 152 Troubleshooting .................................................................................................................................. 153 Load Testing CloudFront ..................................................................................................................... 156 Making API Requests ......................................................................................................................... 157 API Version 2012-07-01 3 Amazon CloudFront Developer Guide Endpoints ............................................................................................................................................ 157 AWS Support for Programming Languages ........................................................................................ 158 REST Requests .................................................................................................................................. 158 REST Responses ............................................................................................................................... 161 Authenticating REST Requests .......................................................................................................... 163 CloudFront Tutorials ...........................................................................................................................
Recommended publications
  • Timeline 1994 July Company Incorporated 1995 July Amazon
    Timeline 1994 July Company Incorporated 1995 July Amazon.com Sells First Book, “Fluid Concepts & Creative Analogies: Computer Models of the Fundamental Mechanisms of Thought” 1996 July Launches Amazon.com Associates Program 1997 May Announces IPO, Begins Trading on NASDAQ Under “AMZN” September Introduces 1-ClickTM Shopping November Opens Fulfillment Center in New Castle, Delaware 1998 February Launches Amazon.com Advantage Program April Acquires Internet Movie Database June Opens Music Store October Launches First International Sites, Amazon.co.uk (UK) and Amazon.de (Germany) November Opens DVD/Video Store 1999 January Opens Fulfillment Center in Fernley, Nevada March Launches Amazon.com Auctions April Opens Fulfillment Center in Coffeyville, Kansas May Opens Fulfillment Centers in Campbellsville and Lexington, Kentucky June Acquires Alexa Internet July Opens Consumer Electronics, and Toys & Games Stores September Launches zShops October Opens Customer Service Center in Tacoma, Washington Acquires Tool Crib of the North’s Online and Catalog Sales Division November Opens Home Improvement, Software, Video Games and Gift Ideas Stores December Jeff Bezos Named TIME Magazine “Person Of The Year” 2000 January Opens Customer Service Center in Huntington, West Virginia May Opens Kitchen Store August Announces Toys “R” Us Alliance Launches Amazon.fr (France) October Opens Camera & Photo Store November Launches Amazon.co.jp (Japan) Launches Marketplace Introduces First Free Super Saver Shipping Offer (Orders Over $100) 2001 April Announces Borders Group Alliance August Introduces In-Store Pick Up September Announces Target Stores Alliance October Introduces Look Inside The BookTM 2002 June Launches Amazon.ca (Canada) July Launches Amazon Web Services August Lowers Free Super Saver Shipping Threshold to $25 September Opens Office Products Store November Opens Apparel & Accessories Store 2003 April Announces National Basketball Association Alliance June Launches Amazon Services, Inc.
    [Show full text]
  • Product System Requirements and Compatibility Matrix
    Product System Requirements and Compatibility Matrix Before installing Encompass or other products offered by Ellie Mae, verify the system requirements detailed in this document. When installing Encompass, additional third-party applications (such as Amyuni PDF Converter) are installed by the Encompass Installation Manager if the applications are not already on your computer. System requirements are subject to change as Ellie Mae updates the softw are to accommodate new features and regulation requirements. This compatibility matrix provides information about the interoperability of the Ellie Mae suite of products and various components, operating systems, brow sers, and other products. Refer to this Legend to understand the Recommended, Supported, Not Supported, and Incompatible designations in the matrices. Legend Key Meaning Recommended Fully Supported. We recommend this combined platform for the best experience. Supported We support usage of this version and will fix issues that are found. Not Supported We have not tested and do not support usage of this version, however, it has been known to be used successfully at some customer sites. Incompatible We have tested this version and it does not work with our solution. NOTE: Minimum requirements are based on the computer running the operating system, the Microsoft Office application and Encompass. Other applications running on the computer have their own requirements that need to be taken into consideration. Minimum Internet connection requirements are based on average bandwidth usage. Bandwidth usage varies based on the number of users accessing items over the Internet, as well as the Encompass features and other applications being accessed over the Internet. In general, additional bandwidth will improve the user experience during peak usage periods, for example, during month-end closing.
    [Show full text]
  • Web Browser Pioneer Backs New Way to Surf Internet (Update 2) 7 November 2010, by MICHAEL LIEDTKE , AP Technology Writer
    Web browser pioneer backs new way to surf Internet (Update 2) 7 November 2010, By MICHAEL LIEDTKE , AP Technology Writer (AP) -- The Web has changed a lot since Marc Facebook's imprint also is all over RockMelt, Andreessen revolutionized the Internet with the although the two companies' only business introduction of his Netscape browser in the connection so far is Andreessen. He also serves on mid-1990s. That's why he's betting people are Facebook's board of directors. ready to try a different Web-surfing technique on a new browser called RockMelt. RockMelt only works if you have a Facebook account. That restriction still gives RockMelt plenty The browser, available for the first time Monday, is of room to grow, given Facebook has more than built on the premise that most online activity today 500 million users. revolves around socializing on Facebook, searching on Google, tweeting on Twitter and After Facebook users log on RockMelt with their monitoring a handful of favorite websites. It tries to Facebook account information, the person's minimize the need to roam from one website to the Facebook profile picture is planted in the browser's next by corralling all vital information and favorite left hand corner and a list of favorite friends can be services in panes and drop-down windows. displayed in the browser's left hand pane. There's also a built-in tool for posting updates in a pop-up "This is a chance for us to build a browser all over box. again," Andreessen said. "These are all things we would have done (at Netscape) if we had known The features extend beyond Facebook and Twitter.
    [Show full text]
  • Web Browser a C-Class Article from Wikipedia, the Free Encyclopedia
    Web browser A C-class article from Wikipedia, the free encyclopedia A web browser or Internet browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content.[1] Hyperlinks present in resources enable users to easily navigate their browsers to related resources. Although browsers are primarily intended to access the World Wide Web, they can also be used to access information provided by Web servers in private networks or files in file systems. Some browsers can also be used to save information resources to file systems. Contents 1 History 2 Function 3 Features 3.1 User interface 3.2 Privacy and security 3.3 Standards support 4 See also 5 References 6 External links History Main article: History of the web browser The history of the Web browser dates back in to the late 1980s, when a variety of technologies laid the foundation for the first Web browser, WorldWideWeb, by Tim Berners-Lee in 1991. That browser brought together a variety of existing and new software and hardware technologies. Ted Nelson and Douglas Engelbart developed the concept of hypertext long before Berners-Lee and CERN. It became the core of the World Wide Web. Berners-Lee does acknowledge Engelbart's contribution. The introduction of the NCSA Mosaic Web browser in 1993 – one of the first graphical Web browsers – led to an explosion in Web use. Marc Andreessen, the leader of the Mosaic team at NCSA, soon started his own company, named Netscape, and released the Mosaic-influenced Netscape Navigator in 1994, which quickly became the world's most popular browser, accounting for 90% of all Web use at its peak (see usage share of web browsers).
    [Show full text]
  • Peer Participation and Software
    Peer Participation and Software This report was made possible by the grants from the John D. and Cath- erine T. MacArthur Foundation in connection with its grant-making initiative on Digital Media and Learning. For more information on the initiative visit www.macfound.org. The John D. and Catherine T. MacArthur Foundation Reports on Digital Media and Learning Peer Participation and Software: What Mozilla Has to Teach Government by David R. Booth The Future of Learning Institutions in a Digital Age by Cathy N. Davidson and David Theo Goldberg with the assistance of Zoë Marie Jones The Future of Thinking: Learning Institutions in a Digital Age by Cathy N. Davidson and David Theo Goldberg with the assistance of Zoë Marie Jones New Digital Media and Learning as an Emerging Area and “Worked Examples” as One Way Forward by James Paul Gee Living and Learning with New Media: Summary of Findings from the Digital Youth Project by Mizuko Ito, Heather Horst, Matteo Bittanti, danah boyd, Becky Herr-Stephenson, Patricia G. Lange, C. J. Pascoe, and Laura Robinson with Sonja Baumer, Rachel Cody, Dilan Mahendran, Katynka Z. Martínez, Dan Perkel, Christo Sims, and Lisa Tripp Young People, Ethics, and the New Digital Media: A Synthesis from the GoodPlay Project by Carrie James with Katie Davis, Andrea Flores, John M. Francis, Lindsay Pettingill, Margaret Rundle, and Howard Gardner Confronting the Challenges of Participatory Culture: Media Education for the 21st Century by Henry Jenkins (P.I.) with Ravi Purushotma, Margaret Weigel, Katie Clinton, and Alice J. Robison The Civic Potential of Video Games by Joseph Kahne, Ellen Middaugh, and Chris Evans Peer Production and Software What Mozilla Has to Teach Government David R.
    [Show full text]
  • Silk Test 20.5
    Silk Test 20.5 Silk4J User Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com © Copyright 1992-2019 Micro Focus or one of its affiliates. MICRO FOCUS, the Micro Focus logo and Silk Test are trademarks or registered trademarks of Micro Focus or one of its affiliates. All other marks are the property of their respective owners. 2019-10-23 ii Contents Welcome to Silk4J 20.5 ....................................................................................10 Licensing Information ......................................................................................11 Silk4J ................................................................................................................ 12 Do I Need Administrator Privileges to Run Silk4J? ........................................................... 12 Best Practices for Using Silk4J ........................................................................................ 12 Automation Under Special Conditions (Missing Peripherals) ............................................13 Silk Test Product Suite ...................................................................................................... 14 What's New in Silk4J ........................................................................................16 Save Time and Costs with Service Virtualization for Mobile Devices ............................... 16 Enhance Security with Java-based Encryption ................................................................. 16 Usability Enhancements
    [Show full text]
  • Implementación De Los Algoritmos De Factorización 201
    Universidad Complutense de Madrid Facultad de Informática Sistemas Informáticos 2010/2011 RSA@Cloud Criptoanálisis eficiente en la Nube Autores: Directores de proyecto: Alberto Megía Negrillo José Luis Vázquez-Poletti Antonio Molinera Lamas Ignacio Martin Llorente José Antonio Rueda Sánchez Dpto. Arquitectura de Computadores Página 0 Facultad de Informática UCM RSA@Cloud Sistemas Informáticos – FDI Se autoriza a la Universidad Complutense a difundir y utilizar con fines académicos, no comerciales y mencionando expresamente a sus autores, tanto la propia memoria, como el código, la documentación y/o el prototipo desarrollado. Alberto Megía Negrillo Antonio Molinera Lamas José Antonio Rueda Sánchez Página 1 Facultad de Informática UCM RSA@Cloud Sistemas Informáticos – FDI Página 2 Facultad de Informática UCM RSA@Cloud Sistemas Informáticos – FDI Agradecimientos Un trabajo como este no habría sido posible sin la cooperación de mucha gente. En primer lugar queremos agradecérselo a nuestras familias que tanto han confiado y nos han dado. A nuestros directores José Luis Vázquez-Poletti e Ignacio Martín Llorente, por conseguir llevar adelante este proyecto. Por último, a todas y cada una de las personas que forman parte de la Facultad de Informática de la Universidad Complutense de Madrid, nuestro hogar durante estos años. Página 3 Facultad de Informática UCM RSA@Cloud Sistemas Informáticos – FDI Página 4 Facultad de Informática UCM RSA@Cloud Sistemas Informáticos – FDI Resumen En el presente documento se describe un sistema que aprovecha las virtudes de la computación Cloud y el paralelismo para la factorización de números grandes, base de la seguridad del criptosistema RSA, mediante el empleo de diferentes algoritmos matemáticos como la división por tentativa y criba cuadrática.
    [Show full text]
  • Liberty Mutual Exhibit 1015
    TIMELINE 2012 July Introduces GameCircle Introduces Game Connect Opens Portal for International Mobile App Distribution June Amazon Publishing Acquires Avalon Books May Amazon Studios to Develop Original Comedy and Children’s Series for Amazon Instant Video April Announces First Quarter Sales up 34% to $13.18 Billion Introduces AmazonSupply Amazon Web Services Introduces AWS Marketplace Introduces eBooks Kindle en Español March Acquires Kiva Systems, Inc. February Launches Sports Collectibles Store January Announces Fourth Quarter Sales up 35% to $17.43 Billion Amazon Web Services Launches Amazon DynamoDB 2011 December Amazon Web Services Launches Brazil Datacenters for Its Cloud Computing Platform Introduces KDP Select Amazon Publishing to Acquire Marshall Cavendish US Children’s Books Titles Page 000001 November Introduces The Kindle Owners’ Lending Library October Announces Third Quarter Sales up 44% to $10.88 Billion September Introduces Amazon Silk Introduces Kindle Fire, Kindle Touch and Kindle Touch 3G Kindle Books Available at Thousands of Local Libraries August Amazon Web Services Announces Global Rollout of Amazon Virtual Private Cloud (Amazon VPC) Introduces Kindle Cloud Reader July Announces Second Quarter Sales up 51% to $9.91 Billion Endless.com Announces International Shipping to over 50 Countries Worldwide AT&T to Sponsor Kindle 3G June Launches AmazonLocal John Locke Becomes First Independently Published Author to Join the "Kindle Million Club" May Announces MYHABIT.COM Amazon.com Now Selling More Kindle Books Than Print
    [Show full text]
  • NET Technology Guide for Business Applications // 1
    .NET Technology Guide for Business Applications Professional Cesar de la Torre David Carmona Visit us today at microsoftpressstore.com • Hundreds of titles available – Books, eBooks, and online resources from industry experts • Free U.S. shipping • eBooks in multiple formats – Read on your computer, tablet, mobile device, or e-reader • Print & eBook Best Value Packs • eBook Deal of the Week – Save up to 60% on featured titles • Newsletter and special offers – Be the first to hear about new releases, specials, and more • Register your book – Get additional benefits Hear about it first. Get the latest news from Microsoft Press sent to your inbox. • New and upcoming books • Special offers • Free eBooks • How-to articles Sign up today at MicrosoftPressStore.com/Newsletters Wait, there’s more... Find more great content and resources in the Microsoft Press Guided Tours app. The Microsoft Press Guided Tours app provides insightful tours by Microsoft Press authors of new and evolving Microsoft technologies. • Share text, code, illustrations, videos, and links with peers and friends • Create and manage highlights and notes • View resources and download code samples • Tag resources as favorites or to read later • Watch explanatory videos • Copy complete code listings and scripts Download from Windows Store Free ebooks From technical overviews to drilldowns on special topics, get free ebooks from Microsoft Press at: www.microsoftvirtualacademy.com/ebooks Download your free ebooks in PDF, EPUB, and/or Mobi for Kindle formats. Look for other great resources at Microsoft Virtual Academy, where you can learn new skills and help advance your career with free Microsoft training delivered by experts.
    [Show full text]
  • NIST SP 800-28 Version 2 Guidelines on Active Content and Mobile
    Special Publication 800-28 Version 2 (Draft) Guidelines on Active Content and Mobile Code Recommendations of the National Institute of Standards and Technology Wayne A. Jansen Theodore Winograd Karen Scarfone NIST Special Publication 800-28 Guidelines on Active Content and Mobile Version 2 Code (Draft) Recommendations of the National Institute of Standards and Technology Wayne A. Jansen Theodore Winograd Karen Scarfone C O M P U T E R S E C U R I T Y Computer Security Division Information Technology Laboratory National Institute of Standards and Technology Gaithersburg, MD 20899-8930 March 2008 U.S. Department of Commerce Carlos M. Gutierrez, Secretary National Institute of Standards and Technology James M. Turner, Acting Director GUIDELINES ON ACTIVE CONTENT AND MOBILE CODE Reports on Computer Systems Technology The Information Technology Laboratory (ITL) at the National Institute of Standards and Technology (NIST) promotes the U.S. economy and public welfare by providing technical leadership for the nation’s measurement and standards infrastructure. ITL develops tests, test methods, reference data, proof of concept implementations, and technical analysis to advance the development and productive use of information technology. ITL’s responsibilities include the development of technical, physical, administrative, and management standards and guidelines for the cost-effective security and privacy of sensitive unclassified information in Federal computer systems. This Special Publication 800-series reports on ITL’s research, guidance, and outreach efforts in computer security and its collaborative activities with industry, government, and academic organizations. National Institute of Standards and Technology Special Publication 800-28 Version 2 Natl. Inst. Stand. Technol. Spec. Publ.
    [Show full text]
  • Internet Explorer and Firefox: Web Browser Features Comparision and Their Future
    https://doi.org/10.48009/2_iis_2007_478-483 INTERNET EXPLORER AND FIREFOX: WEB BROWSER FEATURES COMPARISION AND THEIR FUTURE Siwat Saibua, Texas A&M University-Kingsville, [email protected] Joon-Yeoul Oh, Texas A&M University-Kingsville, [email protected] Richard A. Aukerman, Texas A&M University-Kingsville, [email protected] ABSTRACT Next to Netscape, which was introduced to the Internet technology is one of the utmost inventions of market in 1998, Mozilla Firefox was released in 2004 our era and has contributed significantly in to compete with IE. The software codes of Firefox distributing and collecting data and information. are in the open source format, and any software Effectiveness and efficiency of the process depends developers around the world can put their own ideas on the performance of the web browser. Internet into this browser. As a result, Firefox’s performance Explorer is the leader of the competitive browser effectiveness and efficiency improved every day and market with Mozzilla Fox as its strongest rival, which gained popularity rapidly. has been and is gaining a substantial level of popularity among internet users. Choosing the 100.00% superlative web browser is a difficult task due to the considerably large selection of browser programs and lack of tangible comparison data. This paper 90.00% describes and compares vital features of Internet Firefox Explorer and Mozzilla Firefox, which represent over 90% of the browser market. The performance of each 80.00% IE browser is evaluated based on the general features, operating system support, browser features, protocol 70.00% support and language support.
    [Show full text]
  • How Can Startups Make Use of Cloud Services
    California State University, San Bernardino CSUSB ScholarWorks Electronic Theses, Projects, and Dissertations Office of aduateGr Studies 4-2021 How can startups make use of cloud services Gauri Nade Gauri Nade California State University - San Bernardino Follow this and additional works at: https://scholarworks.lib.csusb.edu/etd Part of the Educational Technology Commons Recommended Citation Nade, Gauri and Nade, Gauri, "How can startups make use of cloud services" (2021). Electronic Theses, Projects, and Dissertations. 1262. https://scholarworks.lib.csusb.edu/etd/1262 This Thesis is brought to you for free and open access by the Office of aduateGr Studies at CSUSB ScholarWorks. It has been accepted for inclusion in Electronic Theses, Projects, and Dissertations by an authorized administrator of CSUSB ScholarWorks. For more information, please contact [email protected]. HOW CAN START UPS MAKE USE OF CLOUD SERVICES A Project Presented to the Faculty of California State University, San Bernardino In Partial Fulfillment of the Requirements for the Degree Master of Science in Information Systems and Technology by Gauri Rajendra Nade May 2021 HOW CAN START UPS MAKE USE OF CLOUD SERVICES A Project Presented to the Faculty of California State University, San Bernardino by Gauri Rajendra Nade May 2021 Approved by: Benjamin Becerra, PhD, Committee Chair Conrad Shayo, PhD, Reader Jay Varzandeh, PhD, Dept. Chair, Information & Decision Sciences © 2021 Gauri Rajendra Nade ABSTRACT The purpose of this project is to discuss the technical obstacles that small and medium-sized enterprises (SMEs) face, as well as how cloud computing can help to solve these issues. Cloud computing has the ability to radically change competitive environments by offering a new forum for generating and delivering business value and market development.
    [Show full text]