Your SlideShare is downloading. ×
0
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dev party 2014 - AWS & JS

175

Published on

Static web sites using Amazon AWS S3 service and AWS CloudFront distribution in order to be high quality hosting: low-latency, geo-distributed, inexpensive, web scalable, high available, simple to use …

Static web sites using Amazon AWS S3 service and AWS CloudFront distribution in order to be high quality hosting: low-latency, geo-distributed, inexpensive, web scalable, high available, simple to use and maintain.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
175
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. AWS & JSCreated by /Walter Dal Mut @walterdalmut
  • 2. Always EC2, EBS, money money money...
  • 3. AWS S3 for static resources S3 is storage for the Internet S3 makes web-scale computing easier for developers Inexpensive High Available Secure Versionable 99.999999999% durability
  • 4. Inexpensive website with 1 Billion requests per month 400$ for the navigation 0.03$ per 1000 GET 1200$ for 10 TeraBytes for data transfer 0.12$ per GB
  • 5. Hey boy, take it easy! website with 1 Million requests per month 0.30$ for the navigation 12$ for 100 GB for data transfer Just 12.30$ per month!
  • 6. domain name == bucket name
  • 7. Enable static website hosting
  • 8. Permissions...
  • 9. Open your bucket to everyone! {     "Version": "2008‐10‐17",     "Id": "S3PolicyId1",     "Statement": [         {             "Sid": "IPAllow",             "Effect": "Allow",             "Principal": {                 "AWS": "*"             },             "Action": "s3:GetObject",             "Resource": "arn:aws:s3:::example.walterdalmut.com/*",             "Condition": {                 "IpAddress": {                     "aws:SourceIp": "0.0.0.0/0"                 }             }         }     ] }
  • 10. Name Resolution! My hostname CNAME bucket hostname example.walterdalmut.com CNAME example.walterdalmut.com.s3-website-eu-west-1.amazonaws.com
  • 11. Performance
  • 12. More time at Santorini!
  • 13. GeoDistributed?
  • 14. AWS CloudFront CDN
  • 15. Configure it - Origin!
  • 16. Configure it - Destination
  • 17. Configure it - HTTPS
  • 18. Configure it - Logging
  • 19. Just use it!
  • 20. example.walterdalmut.com CNAME d1110qbasw60qq.cloudfront.net ORIGIN example.walterdalmut.com.s3-website- eu-west-1.amazonaws.com
  • 21. Monitor it!
  • 22. Time to relax!

×