{"id":339,"date":"2017-02-08T10:00:00","date_gmt":"2017-02-08T01:00:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2017\/02\/08\/aws_opsworks_mistakes"},"modified":"2017-02-08T10:00:00","modified_gmt":"2017-02-08T01:00:00","slug":"aws_opsworks_mistakes","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2017\/02\/08\/aws_opsworks_mistakes\/","title":{"rendered":"AWS OpsWorks\u3067\u306e\u30df\u30b9\u4e8b\u4f8b\u30923\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059"},"content":{"rendered":"

\u5f0a\u793e\u3067\u306fAWS\u306e\u30a4\u30f3\u30d5\u30e9\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7ba1\u7406\u306bAWS OpsWorks\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002OpsWorks\u306f\u30a4\u30f3\u30d5\u30e9\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u307e\u3067\u542b\u3081\u305f\u74b0\u5883\u69cb\u7bc9\u30fb\u904b\u7528\u306b\u975e\u5e38\u306b\u4fbf\u5229\u306a\u306e\u3067\u3059\u304c\u3001\u30df\u30b9\u3057\u3066\u3057\u307e\u3063\u305f\u4e8b\u4f8b\u30923\u3064\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u304c\u9069\u7528\u3055\u308c\u3066\u306a\u3044\u73fe\u8c61<\/h1>\n

\u30ec\u30a4\u30e4\u30fc\u306b\u5c5e\u3059\u308b\u65e2\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b58\u5728\u3059\u308b\u72b6\u614b\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u65b0\u898f\u8ffd\u52a0\u3067\u9069\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001OpsWorks\u306e\u30ec\u30a4\u30e4\u30fc\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8a2d\u5b9a\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n

\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u304c\u9069\u7528\u3055\u308c\u3066\u5b8c\u4e86\uff01\u3068\u3044\u3046\u6c17\u5206\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u65e2\u5b58EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u5f8c\u3067\u5224\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n

\u5b9f\u306f\u3053\u308c\u306fOpsWorks\u306e\u4ed5\u69d8\u3067\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n

\n

After you add a security group to a layer, AWS OpsWorks Stacks adds it to all new instances. (Note that instance-store instances that are restarted will be brought up as new instances, so they will also have the new security groups.) AWS OpsWorks Stacks does not add security groups to online instances.<\/p>\n<\/blockquote>\n

http:\/\/docs.aws.amazon.com\/opsworks\/latest\/userguide\/workinglayers-basics-edit.html<\/a> \u3088\u308a\u3002<\/p>\n

\u8981\u3059\u308b\u306b\u3001<\/p>\n

OpsWorks\u3067\u30ec\u30a4\u30e4\u30fc\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u5168\u3066\u306e\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u9069\u7528\u3055\u308c\u308b\u3002\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b9\u30c8\u30a2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5834\u5408\u306f\u518d\u8d77\u52d5\u3067\u9069\u7528\u3055\u308c\u308b\u3002\u30aa\u30f3\u30e9\u30a4\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u9069\u7528\u3057\u306a\u3044\u3002<\/p>\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u65e2\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u3001\u8ffd\u52a0\u3057\u305f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u306f\u81ea\u52d5\u7684\u306b\u306f\u9069\u7528\u3055\u308c\u307e\u305b\u3093\u3002 (\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u5916\u3057\u305f\u5834\u5408\u3082\u540c\u69d8\u3067\u3059\u3002)<\/p>\n

\u3057\u305f\u304c\u3063\u3066\u3001OpsWorks\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u5f8c\u304b\u3089\u8ffd\u52a0\/\u524a\u9664\u3059\u308b\u969b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3044\u305a\u308c\u304b\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n