Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Amazon Web Services for Front-end Developers

Amazon Web Services for Front-end Developers

Slides (in Dutch) for a talk on Amazon Web Services (such as EC2, S3, CloudFront) given at a Fronteers community event in Amsterdam on 22 January 2013.

Jan van Hellemond

January 22, 2013
Tweet

More Decks by Jan van Hellemond

Other Decks in Technology

Transcript

  1. 24+ webservices op ongelimiteerde* infrastructuur •Direct Connect •Elastic Compute Cloud

    •Elastic MapReduce •Route 53 •Virtual Private Cloud •CloudFront •Glacier •AWS Marketplace •Elastic Beanstalk •Identity & Access Mgmt. •CloudSearch •Simple Email Service •Simple Notification Service •Simple Queue Service •Simple Workflow Service •Mechanical Turk •Secure Simple Storage •Storage Gateway •SimpleDB •DynamoDB •ElastiCache •Remote Data Service •CloudFormation •CloudWatch
  2. 24+ webservices op ongelimiteerde* infrastructuur •Direct Connect •Elastic Compute Cloud

    •Elastic MapReduce •Route 53 •Virtual Private Cloud •CloudFront •Glacier •AWS Marketplace •Elastic Beanstalk •Identity & Access Mgmt. •CloudSearch •Simple Email Service •Simple Notification Service •Simple Queue Service •Simple Workflow Service •Mechanical Turk •Secure Simple Storage •Storage Gateway •SimpleDB •DynamoDB •ElastiCache •Remote Data Service •CloudFormation •CloudWatch
  3. Google Authenticator app voor iOS en Android Ezio Time Token

    Hardware token van Gemalto Beveiligde toegang met Multi-Factor Authentication
  4. Google Authenticator app voor iOS en Android Ezio Time Token

    Hardware token van Gemalto Beveiligde toegang met Multi-Factor Authentication
  5. Toolkits en SDKs beschikbaar voor de API Java .NET PHP

    Ruby Android iOS Python JavaScript
  6. Toolkits en SDKs beschikbaar voor de API Java .NET PHP

    Ruby Android iOS Python JavaScript !
  7. Naam van een bucket is uniek voor alle accounts backup

    MyBucket files website-images S3
  8. Verwijs naar eigen domeinnaam via CNAME in DNS static.frontlab.nl IN

    CNAME ↳ static.frontlab.nl.s3.amazonaws.com DNS
  9. Bij CNAME moet de bucket naam gelijk zijn aan hostname

    static.frontlab.nl http://static.frontlab.nl/
  10. Cyberduck http://cyberduck.ch Transmit 4 http://panic.com/transmit S3Hub http://s3hubapp.com CloudBerry http://cloudberrylab.com Coda

    2 http://panic.com/coda S3Fox http://s3fox.net Buckets en objecten beheren met S3 clients
  11. •Logging •Root (index) object •Error object (404) •Redirects (301) •Custom

    HTTP headers •Expiring URLs •Versioning en Lifecycle •Directory browsing •robots.txt •Browser uploads Handige features voor S3 websites
  12. •Custom Content-Type headers •Gzip compressie met Content-Encoding •Expires & Cache-Control

    voor caching •CORS met Allow-Access-Origin c.s. •Generieke meta-data met x-amz-meta- •Etag voor... tja Standaard en custom HTTP headers
  13. <!DOCTYPE html> <html> <head> <title>S3 POST Form</title> </head> <body> <form

    action="https://s3-bucket.s3.amazonaws.com/" method="post" enctype="multipart/form-data"> <input type="hidden" name="AWSAccessKeyId" value="YOUR_AWS_ACCESS_KEY"> <input type="hidden" name="key" value="uploads/${filename}"> <input type="hidden" name="acl" value="private"> <input type="hidden" name="success_action_redirect" value="http://localhost/"> <input type="hidden" name="policy" value="YOUR_POLICY_DOCUMENT_BASE64_ENCODED"> <input type="hidden" name="signature" value="YOUR_CALCULATED_SIGNATURE"> <input name="file" type="file"><br> <input type="submit" value="Upload File to S3"> </form> </body> </html> Uploaden vanuit de browser met Browser Uploads
  14. Root domeinnaam via ALIAS in DNS static.frontlab.nl IN ALIAS ↳

    static.frontlab.nl.s3.amazonaws.com "Pseudo DNS"
  15. “I make $1.45 a week and I love it” –

    Katharine Mieszkowski, Salon.com Bakken met geld verdienen door suffe klusjes te doen
  16. Bijna gratis met de Free Usage Tier in de eerste

    12 maanden 5 GB gratis opslag 2.000 PUT requests 20.000 GET requests 750 uur Windows instance 750 uur load balancer Onbeperkt upload data 1 GB gratis download data 750 uur Linux instance