AWS & JSCreated by /Walter Dal Mut @walterdalmut
Always EC2, EBS, money money
money...
AWS S3 for static resources
S3 is storage for the Internet
S3 makes web-scale computing easier for developers
Inexpensive
...
Inexpensive
website with 1 Billion requests per month
400$ for the navigation
0.03$ per 1000 GET
1200$ for 10 TeraBytes fo...
Hey boy, take it easy!
website with 1 Million requests per month
0.30$ for the navigation
12$ for 100 GB for data transfer...
domain name == bucket name
Enable static website hosting
Permissions...
Open your bucket to everyone!
{
    "Version": "2008‐10‐17",
    "Id": "S3PolicyId1",
    "Statement": [
        {
       ...
Name Resolution!
My hostname CNAME bucket hostname
example.walterdalmut.com
CNAME
example.walterdalmut.com.s3-website-eu-w...
Performance
More time at Santorini!
GeoDistributed?
AWS CloudFront CDN
Configure it - Origin!
Configure it - Destination
Configure it - HTTPS
Configure it - Logging
Just use it!
example.walterdalmut.com
CNAME
d1110qbasw60qq.cloudfront.net
ORIGIN
example.walterdalmut.com.s3-website-
eu-west-1.amazona...
Monitor it!
Time to relax!
Upcoming SlideShare
Loading in …5
×

Dev party 2014 - AWS & JS

477 views

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 and maintain.

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

No Downloads
Views
Total views
477
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Dev party 2014 - AWS & JS

  1. 1. AWS & JSCreated by /Walter Dal Mut @walterdalmut
  2. 2. Always EC2, EBS, money money money...
  3. 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. 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. 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. 6. domain name == bucket name
  7. 7. Enable static website hosting
  8. 8. Permissions...
  9. 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. 10. Name Resolution! My hostname CNAME bucket hostname example.walterdalmut.com CNAME example.walterdalmut.com.s3-website-eu-west-1.amazonaws.com
  11. 11. Performance
  12. 12. More time at Santorini!
  13. 13. GeoDistributed?
  14. 14. AWS CloudFront CDN
  15. 15. Configure it - Origin!
  16. 16. Configure it - Destination
  17. 17. Configure it - HTTPS
  18. 18. Configure it - Logging
  19. 19. Just use it!
  20. 20. example.walterdalmut.com CNAME d1110qbasw60qq.cloudfront.net ORIGIN example.walterdalmut.com.s3-website- eu-west-1.amazonaws.com
  21. 21. Monitor it!
  22. 22. Time to relax!

×