{"id":386,"date":"2018-06-12T18:00:07","date_gmt":"2018-06-13T02:00:07","guid":{"rendered":"https:\/\/www.gregfina.com\/blog\/?p=386"},"modified":"2018-06-14T20:10:08","modified_gmt":"2018-06-15T04:10:08","slug":"amazon-infrastructure-at-zero-dollars","status":"publish","type":"post","link":"https:\/\/www.gregfina.com\/blog\/2018\/06\/12\/amazon-infrastructure-at-zero-dollars\/","title":{"rendered":"AWS Infrastructure at minimal dollars"},"content":{"rendered":"<p>I made it so gregfina.com images are served from an S3 bucket and cached by CloudFront using AWS.   <\/p>\n<p>Images are sync&#8217;d every 5 minutes with an S3 bucket.   The S3 bucket runs a public website.   There is an htaccess on the web server hosting gregfina.com that redirects all JPGs to the CloudFront location.     <\/p>\n<p>Not that this was required, but it was good practice for my AWS Developer Certification &#8211; Associate.  <\/p>\n<p>Before AWS on would have to sign large expensive contracts to get a global caching vendor with a minimum monthly commitment.   Now a few clicks, and it happens.     <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made it so gregfina.com images are served from an S3 bucket and cached by CloudFront using AWS. Images are sync&#8217;d every 5 minutes with an S3 bucket. The S3 bucket runs a public website. There is an htaccess on the web server hosting gregfina.com that redirects all JPGs to the CloudFront location. Not that &hellip; <a href=\"https:\/\/www.gregfina.com\/blog\/2018\/06\/12\/amazon-infrastructure-at-zero-dollars\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AWS Infrastructure at minimal dollars&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[14],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-tech"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p46b0T-6e","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":3,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gregfina.com\/blog\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}