{"id":253,"date":"2020-06-06T11:34:16","date_gmt":"2020-06-06T02:34:16","guid":{"rendered":"https:\/\/pocolog.bass-world.net\/tech\/?p=253"},"modified":"2020-06-11T15:08:19","modified_gmt":"2020-06-11T06:08:19","slug":"amazon-web-service-free-tier-misc","status":"publish","type":"post","link":"https:\/\/pocolog.bass-world.net\/tech\/2020\/amazon-web-service-free-tier-misc\/","title":{"rendered":"Amazon Web Service \u3092\u7121\u6599\u67a0\u3067\u4f7f\u3046\u969b\u306e\u96d1\u8a18"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\u6642\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u3001EBS \u7121\u6599\u67a0\u306e 30GB \u307e\u3067\u5897\u3084\u3059\u3002<\/li><li>Amazon Linux 2 \u3067\u306f\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u521d\u671f\u72b6\u614b\u3067\u306f\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002<\/li><li>amazon-linux-extras \u3067 lamp-mariadb10.2-php7.2=latest \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/li><li>yum install httpd \u3059\u308b\u3002<\/li><li>yum install mod_ssl \u3059\u308b\u3002<\/li><li>VirtualHost \u3067 \/home\/hoge\/www \u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u30a8\u30e9\u30fc\u30ed\u30b0\u306b\u300cPermission denied\u300d\u304c\u51fa\u308b\u5834\u5408\u3001\u591a\u304f\u306e\u539f\u56e0\u306f\u3001\/home\/hoge \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u304c 775 \u306b\u306a\u3063\u3066\u3044\u306a\u3044\u3002<\/li><li>Amazon SES \u3092\u4f7f\u3046\u5834\u5408\u3001\u307e\u305a\u306f Postfix \u3067\u30e1\u30fc\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u914d\u9001\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<br>\u305d\u3057\u3066\u3001SES \u304b\u3089\u8a8d\u8a3c\u30e1\u30fc\u30eb\u304c\u7740\u305f\u3089 Maildir\/new \u306e\u30d5\u30a1\u30a4\u30eb\u3092 cat \u3057\u3066\u3001\u8a8d\u8a3c URL \u3092\u30d6\u30e9\u30a6\u30b6\u306b\u30b3\u30d4\u30da\u3059\u308b\u3002<br>\u8a8d\u8a3c\u304c\u7d42\u308f\u3063\u305f\u3089\u3001Postfix \u306e\u8a2d\u5b9a\u3092 SES \u306b\u8ee2\u9001\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u3002<\/li><li>CloudFront \u3067\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u5834\u5408\u3001\u30aa\u30ea\u30b8\u30f3\u306f http \u3067\u3082 https \u3067\u3082\u898b\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3002<br>Redirect https \u304b\u3051\u308b\u3068\u3001\u5f8c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u300cTOO MUCH REDIRECT\u300d\u3068\u6012\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/li><li>RDS \u3067\u4f5c\u308b\u30e6\u30fc\u30b6\u306f\u3001@\u4ee5\u964d\u306e\u30a2\u30c9\u30ec\u30b9\u306b EC2 \u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30a2\u30c9\u30ec\u30b9\u3092\u4ed8\u3051\u308b\u3002<\/li><li>\u30e1\u30e2\u30ea\u306f\u4f7f\u7528\u7387 92% \u3050\u3089\u3044\u304b\u3089\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u4f7f\u3044\u51fa\u3059\u304b\u3089\u3001CloudWatch Agent \u5165\u308c\u3066 90% \u3067\u518d\u8d77\u52d5\u3060\u3068 WordPress \u3068\u304b\u306e\u5927\u7269\u304c\u4e00\u6642\u7684\u306b\u5927\u304d\u306a\u30e1\u30e2\u30ea\u30b5\u30a4\u30ba\u4f7f\u3063\u3066\u305d\u3053\u3067\u518d\u8d77\u52d5\u304b\u304b\u3063\u3061\u3083\u3046\u3057\u300195% \u3060\u3068\u305d\u3082\u305d\u3082\u305d\u306e\u5024\u306b\u306a\u3089\u306a\u3044\u3002<br>\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u7a7a\u304d\u5bb9\u91cf\u307e\u3067\u308f\u304b\u308b\u65b9\u6cd5\u306a\u3044\u304b\u306a\u30fc\u3002<\/li><li>WordPress \u3067\u30e6\u30fc\u30b6\u6a29\u9650\u3092\u4e0e\u3048\u308b\u306e\u306f wp.* \u306b\u3060\u3002wpl.localhost \u3067\u306f\u306a\u3044\u3002<\/li><li>AWS for WordPress \u306e CloudFront \u6a5f\u80fd\u306f\u3001\u7279\u306b\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u3060\u3068\u4f7f\u3044\u7269\u306b\u306a\u3089\u306a\u3044\u3002<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\u6642\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u3001EBS \u7121\u6599\u67a0\u306e 30GB \u307e\u3067\u5897\u3084\u3059\u3002 Amazon Linux 2 \u3067\u306f\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u521d\u671f\u72b6\u614b\u3067\u306f\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002 amazon &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/pocolog.bass-world.net\/tech\/2020\/amazon-web-service-free-tier-misc\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Amazon Web Service \u3092\u7121\u6599\u67a0\u3067\u4f7f\u3046\u969b\u306e\u96d1\u8a18&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,10],"tags":[],"class_list":["post-253","post","type-post","status-publish","format-standard","hentry","category-amazon-aws","category-apache","category-linux"],"_links":{"self":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/comments?post=253"}],"version-history":[{"count":2,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/253\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/tags?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}