{"id":2345,"date":"2017-01-02T14:49:30","date_gmt":"2017-01-02T20:49:30","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2345"},"modified":"2022-08-27T10:10:27","modified_gmt":"2022-08-27T16:10:27","slug":"aws-questions-cloudfront-and-sqs","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2345","title":{"rendered":"AWS Questions: Cloudfront and SQS"},"content":{"rendered":"<p>I have recently started a contract teaching AWS courses. (None of the following posts speak for my client.) AWS stands for <a href=\"https:\/\/aws.amazon.com\/\">Amazon Web Services<\/a>.<\/p>\n<p>During every course I teach I get questions that are not directly covered in the course material that I don&#8217;t know. I&#8217;m going to try to capture some of the questions asked by my students and post the answers.<\/p>\n<ul>\n<li>Does SQS have transactional messages akin to JMS?\n<ul>\n<li>No.\u00a0 JMS has the idea of <a href=\"http:\/\/www.informit.com\/articles\/article.aspx?p=26137&amp;seqNum=8\">transactions over messages<\/a>, so you can be sure that all or none of the messages were processed.\u00a0 SQS has no such construct&#8211;each message is independent.\u00a0 If I were going to have multiple units of work done, I&#8217;d use one message, perhaps pointing to different datastores if the message was too big for SQS.<\/li>\n<\/ul>\n<\/li>\n<li>Can you push content to the AWS CDN, Cloudfront, ahead of use requests?\n<ul>\n<li>No, the content always has to be pulled by a requester.\u00a0 You can of course configure a crawler to pull the data from the origins through Cloudfront (which will then store it).<\/li>\n<\/ul>\n<\/li>\n<li>Can you configure Cloudfront to pull from origins over SSL\/TLS?\n<ul>\n<li><a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudFront\/latest\/DeveloperGuide\/using-https-cloudfront-to-custom-origin.html\">Yes<\/a>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I have recently started a contract teaching AWS courses. (None of the following posts speak for my client.) AWS stands for Amazon Web Services. During every course I teach I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-2345","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2345"}],"version-history":[{"count":1,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2345\/revisions"}],"predecessor-version":[{"id":2346,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2345\/revisions\/2346"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}