{"id":21959,"date":"2022-07-21T15:18:51","date_gmt":"2022-07-21T06:18:51","guid":{"rendered":"https:\/\/labs.gree.jp\/blog\/?p=21959"},"modified":"2022-09-07T01:31:38","modified_gmt":"2022-09-06T16:31:38","slug":"post21668","status":"publish","type":"post","link":"https:\/\/labs.gree.jp\/blog\/2022\/07\/21959\/","title":{"rendered":"Hubs Cloud \u3067\u5b66\u3076 AWS CloudFormation \u5b9f\u8df5\u5165\u9580"},"content":{"rendered":"\r\n<p>\u30a4\u30f3\u30d5\u30e9\u306e\u99d2\u5d0e\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>AWS CloudFormation \u306b\u3064\u3044\u3066\u3001\u30b3\u30fc\u30c9\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u306a\u3089\u306c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u7684\u306a\u5f62\u3067\u62fe\u3044\u8aad\u307f\u3057\u306a\u304c\u3089\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u56de\u984c\u6750\u3068\u3059\u308b\u306e\u306f\u3001\u5f0a\u793e\u30b0\u30eb\u30fc\u30d7 <a href=\"https:\/\/vr.gree.net\/lab\/\">GREE VR Studio Laboratory<\/a>\u3067\u3082\u5229\u7528\u3057\u3066\u3044\u308b Mozilla \u88fd\u54c1 <a href=\"https:\/\/aws.amazon.com\/marketplace\/pp\/prodview-jdjo7abklsxkg\">Hubs Cloud<\/a> \u306e\u69cb\u7bc9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">AWS CloudFormation \u3068\u306f<\/h2>\r\n\r\n\r\n\r\n<p>AWS CloudFormation \u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u547c\u3070\u308c\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066 AWS \u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210 &amp; \u8a2d\u5b9a\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u3044\u308f\u3086\u308b Infrastructure as Code \u30b5\u30fc\u30d3\u30b9\u3067\u3001\u3069\u3046\u3044\u3063\u305f\u3082\u306e\u304b\u306f\u7c21\u5358\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f8b\u3092\u898b\u3066\u3044\u305f\u3060\u304f\u306e\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Resources:\r\n  HelloBucket:\r\n    Type: AWS::S3::Bucket\r\n    Properties:\r\n      AccessControl: PublicRead<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u3053\u3053\u306b\u306f\u3001\u300cS3 \u30d0\u30b1\u30c3\u30c8\u3092 1 \u3064\u7528\u610f\u3057\u3001\u305d\u306e\u8a2d\u5b9a\u306f\u516c\u958b\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3067\u3042\u308b\u300d\u3068\u3044\u3063\u305f\u5185\u5bb9\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092 Web \u30b3\u30f3\u30bd\u30fc\u30eb\u3084 CLI \u3067 CloudFormation \u30b5\u30fc\u30d3\u30b9\u306b\u6e21\u3059\u3068\u3001\u5b9f\u969b\u306e S3 \u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3001\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u3053\u3053\u306b\u306f S3 \u30d0\u30b1\u30c3\u30c8 1 \u3064\u3060\u3051\u3057\u304b\u66f8\u304b\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001EC2\u3001VPC\u3001IAM \u306a\u3069\u8907\u6570\u306e AWS \u30ea\u30bd\u30fc\u30b9\u3092\u4e26\u3079\u3066\u66f8\u3044\u3066\u4e00\u5ea6\u306b\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u30b9\u30bf\u30c3\u30af<\/h3>\r\n\r\n\r\n\r\n<p>CloudFormation \u306e\u6982\u5ff5\u3067\u6700\u4f4e\u9650\u899a\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f\u3001\u300c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u3068\u300c\u30b9\u30bf\u30c3\u30af\u300d\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u524d\u8ff0\u306e\u4f8b\u306e\u3088\u3046\u306b\u300c\u3053\u3046\u3044\u3046\u72b6\u614b\u306b\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u5ba3\u8a00\u3092\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002\u8a2d\u8a08\u56f3\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002\u30b9\u30bf\u30c3\u30af\u306f\u305d\u306e\u8a2d\u8a08\u56f3\u3092\u3082\u3068\u306b AWS \u30ea\u30bd\u30fc\u30b9\u3092\u5b9f\u4f53\u5316\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u57fa\u672c\u7684\u306b\u306f\u3001\u4e00\u3064\u306e\u30b9\u30bf\u30c3\u30af\u3092\u4f5c\u308b\u969b\u306b\u3001\u305d\u306e\u30b9\u30bf\u30c3\u30af\u304c\u4f7f\u3046\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4e00\u3064\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u5f79\u7acb\u3061\u3069\u3053\u308d<\/h3>\r\n\r\n\r\n\r\n<p>CloudFormation \u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e00\u822c\u7684\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u5229\u70b9\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>\u8907\u6570\u30ea\u30bd\u30fc\u30b9\u3092\u307e\u3068\u3081\u3066\u30b3\u30fc\u30c9\u7ba1\u7406\u3067\u304d\u308b\r\n<ul>\r\n<li>\u672c\u7a3f\u306e\u984c\u6750\u306e\u3088\u3046\u306a\u3001\u74b0\u5883\u4e00\u5f0f\u3092\u307e\u3068\u3081\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308c\u308b<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>\u5ba3\u8a00\u7684\u306a\u8a18\u8ff0\u306e\u305f\u3081\u69cb\u7bc9\u9806\u5e8f\u3084\u4e2d\u9593\u72b6\u614b\u3092\u6c17\u306b\u3057\u306a\u304f\u3066\u3088\u3044<\/li>\r\n<li>\u540c\u3058\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u8907\u6570\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3084\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u5bb9\u6613\u306b\u74b0\u5883\u3092\u8907\u88fd\u3067\u304d\u308b<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u4ed6\u306b\u306f\u3001CloudFormation \u306f AWS CDK \u3084 AWS Copilot\u3001 AWS SAM \u3068\u3044\u3063\u305f\u4e0a\u4f4d\u30c4\u30fc\u30eb\u306e\u30a8\u30f3\u30b8\u30f3\u3068\u3057\u3066\u4f7f\u308f\u308c\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002\u76f4\u63a5 CloudFormation \u3092\u66f8\u304b\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u52d5\u4f5c\u3092\u77e5\u3063\u3066\u304a\u304f\u3053\u3068\u3067\u305d\u3046\u3044\u3063\u305f\u30c4\u30fc\u30eb\u306e\u6319\u52d5\u3092\u8ffd\u3044\u304b\u3051\u308b\u969b\u306b\u3082\u5f79\u306b\u7acb\u3064\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u8fd1\u3044\u4f4d\u7f6e\u3065\u3051\u306e\u30c4\u30fc\u30eb\u3068\u3057\u3066 <a href=\"https:\/\/www.terraform.io\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/www.terraform.io\/\">Terraform by HashiCorp<\/a> \u304c\u6319\u3052\u3089\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u672c\u7a3f\u3067\u306f\u305d\u306e\u5dee\u7570\u306b\u3064\u3044\u3066\u306f\u6271\u3044\u307e\u305b\u3093\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Hubs Cloud AWS \u3068 CloudFormation<\/h2>\r\n\r\n\r\n\r\n<p>\u672c\u7a3f\u3067\u53d6\u308a\u4e0a\u3052\u308b\u306e\u306f Hubs Cloud AWS \u3068\u3044\u3046 Mozilla \u306e\u30d7\u30ed\u30c0\u30af\u30c8\u3067\u3059\u3002<a href=\"https:\/\/hubs.mozilla.com\/\">Hubs <\/a>\u306f VR \u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u306e Hubs \u3092\u30e6\u30fc\u30b6\u306e AWS \u74b0\u5883\u4e0a\u306b\u7c21\u5358\u306b\u69cb\u7bc9\u3067\u304d\u308b\u3088\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u305f\u3082\u306e\u304c Hubs Cloud AWS \u3067\u3059\u3002\u30b0\u30ea\u30fc\u30b0\u30eb\u30fc\u30d7\u3067\u306f\u3001<a href=\"https:\/\/vr.gree.net\/lab\/demo\/hubs\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/vr.gree.net\/lab\/demo\/hubs\/\">GREE VR Studio Laboratory \u3092\u4e2d\u5fc3\u306b Hubs \u306e PoC \u958b\u767a\u3084\u516c\u958b\u5b9f\u9a13\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u767a\u4fe1\u3092\u884c\u3063\u3066\u3044\u307e\u3059<\/a>\u3002 CEDEC2022 \u3067\u3082 Hubs \u95a2\u9023\u3067 <a href=\"https:\/\/cedec.cesa.or.jp\/2022\/session\/detail\/108\">\u30d1\u30cd\u30eb\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3<\/a>\u3001<a href=\"https:\/\/cedec.cesa.or.jp\/2022\/session\/detail\/71\">\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb<\/a> \u306e 2 \u8b1b\u6f14\u304c\u4e88\u5b9a\u3055\u308c\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3053\u3061\u3089\u3082\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-group\">\r\n<div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\r\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis: 100%;\">\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vr.gree.net\/wp-content\/uploads\/2020\/11\/VRStudioHubs.png\" alt=\"\" width=\"368\" height=\"206\" \/><\/figure>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<p>\u3053\u306e\u30d7\u30ed\u30c0\u30af\u30c8\u306f AWS \u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u3067 CloudFormation \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u914d\u5e03\u3068\u3044\u3046\u5f62\u3067\u5c55\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f CloudFormation \u306e\u6a5f\u80fd\u3092\u3075\u3093\u3060\u3093\u306b\u6d3b\u7528\u3057\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u5b9f\u4f8b\u3068\u3057\u3066\u53c2\u8003\u306b\u306a\u308b\u3082\u306e\u3060\u3068\u601d\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u4eca\u56de\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u8a2d\u5b9a\u3092\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u306a\u304a\u3001Hubs Cloud AWS \u3092\u52d5\u304b\u3059\u306b\u306f\u6709\u6599\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u767b\u9332\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u81ea\u4f53\u306f\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u30da\u30fc\u30b8\u306e\u30ea\u30f3\u30af\u304b\u3089\u81ea\u7531\u306b\u53c2\u7167\u53ef\u80fd\u3067\u3059\u3002\u307e\u305f\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u914d\u5e03\u7269\u306e\u30d9\u30fc\u30b9\u306b\u306a\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c <a href=\"https:\/\/github.com\/mozilla\/hubs-ops\">GitHub mozilla\/hubs-ops<\/a> \u306b\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u306e\u3082\u306e\u3068 GitHub \u4e0a\u306e\u30bd\u30fc\u30b9\u306b\u306f\u7d30\u90e8\u306e\u9055\u3044\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u53d6\u308a\u4e0a\u3052\u308b\u7bc4\u56f2\u3067\u306f\u3069\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u3044\u305f\u3060\u3044\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u672c\u7a3f\u6642\u70b9\u3067\u53c2\u7167\u3057\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9 : Hubs Cloud Enterprise v1.1.4 Multi-Server (<a href=\"https:\/\/s3.amazonaws.com\/awsmp-fulfillment-cf-templates-prod\/94ec4ef1-285d-4e63-b2eb-0b65ea93b942.4c0a54df-64aa-4a31-ab81-20b1c27f66eb.template\" data-type=\"URL\" data-id=\"https:\/\/s3.amazonaws.com\/awsmp-fulfillment-cf-templates-prod\/94ec4ef1-285d-4e63-b2eb-0b65ea93b942.4c0a54df-64aa-4a31-ab81-20b1c27f66eb.template\">link<\/a>)<\/li>\r\n<li>GitHub : github.com\/mozilla\/hubs-ops\/cloudformation\/stack.yaml (<a href=\"https:\/\/github.com\/mozilla\/hubs-ops\/blob\/1c3e15e57b43873dd7e1c4d75ab9365e882702f5\/cloudformation\/stack.yaml\" data-type=\"URL\" data-id=\"https:\/\/github.com\/mozilla\/hubs-ops\/blob\/1c3e15e57b43873dd7e1c4d75ab9365e882702f5\/cloudformation\/stack.yaml\">1c3e15e<\/a>)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u57fa\u672c\u7de8<\/h2>\r\n\r\n\r\n\r\n<p>\u3067\u306f\u3001\u3053\u3053\u304b\u3089\u306f\u5b9f\u969b\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e00\u90e8\u3092\u898b\u306a\u304c\u3089\u4f7f\u3044\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u4f8b\u304b\u3089\u9806\u756a\u306b\u898b\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u30ea\u30bd\u30fc\u30b9\u5ba3\u8a00<\/h3>\r\n\r\n\r\n\r\n<p>\u307e\u305a\u306f\u4f5c\u308a\u305f\u3044\u30ea\u30bd\u30fc\u30b9\u3092\u5ba3\u8a00\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u3067\u3059\u3002 \u4ee5\u4e0b\u306e\u4f8b\u306f VPC \u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u5ba3\u8a00\u3067\u3059\u3002\u30c8\u30c3\u30d7\u306b <code>Resources:<\/code> \u3068\u3044\u3046\u30bb\u30af\u30b7\u30e7\u30f3\u6307\u5b9a\u304c\u3042\u308a\u3001\u305d\u306e\u4e0b\u306e <code>VPC<\/code> \u4ee5\u4e0b\u306b\u69d8\u3005\u306a\u8a18\u8ff0\u304c\u4e26\u3093\u3067\u3044\u307e\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u306b\u306f\u3001<a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/template-anatomy.html\" data-type=\"URL\" data-id=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/template-anatomy.html\">\u3044\u304f\u3064\u304b\u306e\u6c7a\u3081\u3089\u308c\u305f\u30bb\u30af\u30b7\u30e7\u30f3<\/a>\u3092\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4e2d\u5fc3\u3068\u306a\u308b\u306e\u304c\u3053\u306e Resources \u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002\u69cb\u7bc9\u3001\u8a2d\u5b9a\u3057\u305f\u3044 AWS \u30ea\u30bd\u30fc\u30b9\u3092\u5217\u6319\u3059\u308b\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Resources:\r\n  VPC:                     # \"VPC\" \u304c\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u8ad6\u7406ID\r\n    Type: AWS::EC2::VPC    # AWS \u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7 VPC \u3092\u6307\u5b9a\r\n    Properties:\r\n      CidrBlock:\r\n        Fn::Sub: 10.${ClassB}.0.0\/16    # Fn::Sub \u306f\u7d44\u307f\u8fbc\u307f\u95a2\u6570\r\n      EnableDnsSupport: true\r\n      EnableDnsHostnames: true\r\n      InstanceTenancy: default\r\n      Tags:\r\n        - Key: Name\r\n          Value:\r\n            Fn::Sub: ${AWS::StackName} 10.${ClassB}.0.0\/16    # ${AWS::*} \u3084 ${ClassB} \u306f\u5909\u6570<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u3053\u3053\u3067 <code>VPC<\/code> \u306e\u90e8\u5206\u304c\u8ad6\u7406ID\u3068\u3088\u3070\u308c\u3001\u30ea\u30bd\u30fc\u30b9\u3054\u3068\u306b\u4ed8\u3051\u308b\u540d\u524d\u3092\u8868\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u3067\u4e00\u610f\u306a\u5024\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u884c\u306e <code>Type: AWS::EC2::VPC<\/code> \u306e\u6307\u5b9a\u306b\u3088\u308a\u3001\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306f VPC \u3092\u4f5c\u6210\u3059\u308b\u3082\u306e\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u6b21\u306e <code>Properties<\/code>: \u4ee5\u4e0b\u3067\u3053\u306e VPC \u306e\u7d30\u304b\u306a\u8a2d\u5b9a\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>Resources \u30bb\u30af\u30b7\u30e7\u30f3\u4ee5\u4e0b\u306f\u3053\u306e\u3088\u3046\u306b\u3001 <code>\u8ad6\u7406ID: { Type: \u4f5c\u6210\u3059\u308b\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7, Properties: \u8a2d\u5b9a\u5024 }<\/code> \u3092\u4e26\u3079\u3066\u3044\u304f\u306e\u304c\u57fa\u672c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3053\u306e\u30d6\u30ed\u30c3\u30af\u306b\u306f <code>Fn::Sub<\/code> \u3084 <code>${ClassB}<\/code> \u306e\u3088\u3046\u306a\u7279\u6b8a\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u30b9\u30bf\u30c3\u30af\u4f5c\u6210\u6642\u307e\u3067\u78ba\u5b9a\u3057\u306a\u3044\u60c5\u5831\u3092\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u3067\u67d4\u8edf\u306b\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3046\u3044\u3063\u305f\u4ed5\u7d44\u307f\u306b\u3064\u3044\u3066\u3082\u6b21\u7bc0\u4ee5\u964d\u3067\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3068\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\r\n\r\n\r\n\r\n<p><code>Fn::<\/code> \u3067\u59cb\u307e\u308b\u306e\u306f <a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/intrinsic-function-reference.html\">CloudFormation \u306e\u7d44\u307f\u8fbc\u307f\u95a2\u6570<\/a>\u3067\u3059\u3002 <code>Fn::Sub<\/code> \u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u4e2d\u306e <code>${MyVar}<\/code> \u306e\u3088\u3046\u306a\u90e8\u5206\u3092\u5909\u6570\u3068\u307f\u306a\u3057\u3066\u5b9f\u884c\u6642\u306b\u5b9f\u969b\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u5148\u7a0b\u306e\u4f8b\u3067\u306f <code>${AWS::StackName}<\/code> \u3068 <code>${ClassB}<\/code> \u306e 2 \u3064\u306e\u5909\u6570\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\r\n\r\n\r\n\r\n<p><code>${AWS::*}<\/code> \u306f CloudFormation \u3067\u4e8b\u524d\u5b9a\u7fa9\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002<a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/pseudo-parameter-reference.html\" data-type=\"URL\" data-id=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/pseudo-parameter-reference.html\">\u7591\u4f3c\u30d1\u30e9\u30e1\u30fc\u30bf<\/a>\u3068\u547c\u3070\u308c\u307e\u3059\u3002<code>${AWS::StackName}<\/code> \u306f\u4f5c\u6210\u3055\u308c\u305f\u30b9\u30bf\u30c3\u30af\u306e\u540d\u524d\u304c\u5165\u308a\u307e\u3059\u3002\u4ed6\u306b\u3082 <code>${AWS::AccountId}<\/code> \u3084 <code>${AWS::Region}<\/code> \u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3082\u3046\u4e00\u65b9\u306e <code>${ClassB}<\/code> \u306f\u3001\u3053\u3053\u3067\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e2d\u306e `Parameters` \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3066\u30e6\u30fc\u30b6\u5b9a\u7fa9\u3055\u308c\u305f\u5909\u6570\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Parameters:\r\n  ...\r\n  ClassB:\r\n    Type: String\r\n    Description: VPC ClassB (10.XX.0.0\/16) block to use for internal server IPs.\r\n    Default: 0<\/code><\/pre>\r\n\r\n\r\n\r\n<p><code>Parameters<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306f\u5b9f\u884c\u6642\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u6e21\u3059\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5b9a\u7fa9\u3059\u308b\u5834\u6240\u3067\u3059\u3002\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u6307\u5b9a\u3057\u305f\u308a\u3001\u5024\u3092\u30d1\u30bf\u30fc\u30f3\u3084\u6570\u5024\u7bc4\u56f2\u3067\u5236\u9650\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f <code>Type:<\/code> \u306f <code>String<\/code> \u3067\u3059\u304c\u3001\u4ed6\u306b\u3082 <code>Number<\/code> \u3084\u30ab\u30f3\u30de\u533a\u5207\u308a\u30ea\u30b9\u30c8\u3001AWS \u306e\u7279\u5b9a\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306a\u3069\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u30ea\u30bd\u30fc\u30b9\u9593\u306e\u53c2\u7167<\/h3>\r\n\r\n\r\n\r\n<p>\u3082\u3057\u3001\u3042\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3001\u540c\u6642\u306b\u4f5c\u6210\u3055\u308c\u308b\u5225\u306e\u30ea\u30bd\u30fc\u30b9\u306e ID \u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001Subnet \u3092\u4f5c\u308b\u969b\u306b VPC ID \u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001VPC ID \u306f\u5b9f\u969b\u306b AWS \u4e0a\u306b VPC \u304c\u4f5c\u6210\u3055\u308c\u308b\u307e\u3067\u6c7a\u5b9a\u3057\u307e\u305b\u3093\u3002\u3053\u3046\u3044\u3063\u305f\u30b1\u30fc\u30b9\u3067\u306f\u7d44\u307f\u8fbc\u307f\u95a2\u6570 <code>Ref<\/code> \u3084 <code>Fn::GetAtt<\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u5225\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Resources:\r\n  ...\r\n  SubnetAPrivate:     # \u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u8ad6\u7406ID\u306f \"SubnetAPrivate\"\r\n    Type: AWS::EC2::Subnet\r\n    Properties:\r\n      ...\r\n      CidrBlock:\r\n        Fn::Sub: 10.${ClassB}.16.0\/20\r\n      VpcId:\r\n        Ref: VPC    # \u5225\u9014\u5ba3\u8a00\u3057\u3066\u3042\u308b \u8ad6\u7406ID \"VPC\" \u3092\u7d44\u307f\u8fbc\u307f\u95a2\u6570 Ref \u3067\u53c2\u7167\r\n  ...\r\n  AppDbSubnet:\r\n    Type: AWS::RDS::DBSubnetGroup\r\n    Properties:\r\n      ...\r\n      SubnetIds:\r\n        - Ref: SubnetAPrivate     # \u8ad6\u7406ID \"SubnetAPrivate\" \u3092\u7d44\u307f\u8fbc\u307f\u95a2\u6570 Ref \u3067\u53c2\u7167\r\n        - Ref: SubnetBPrivate  \r\n  ...\r\n  AppDb:\r\n    Type: AWS::RDS::DBCluster\r\n    Properties:\r\n      AvailabilityZones:\r\n        - Fn::GetAtt: SubnetAPrivate.AvailabilityZone     # \u8ad6\u7406ID SubnetAPrivate \u3092\u7d44\u307f\u8fbc\u307f\u95a2\u6570 Fn::GetAtt \u3067\u53c2\u7167\r\n        - Fn::GetAtt: SubnetBPrivate.AvailabilityZone\r\n      BackupRetentionPeriod:\r\n        Ref: DbBackupRetentionPeriod     # \u30d1\u30e9\u30e1\u30fc\u30bf \"DbBackupRetentionPeriod\" \u3092 Ref \u3067\u53c2\u7167\r\n      DatabaseName: polycosm_production\r\n      ...\r\n      DBSubnetGroupName:\r\n        Ref: AppDbSubnet\r\n      Engine: aurora-postgresql\r\n\r\n      ...<\/code><\/pre>\r\n\r\n\r\n\r\n<p><code>Ref<\/code> \u3084 <code>Fn::GetAtt<\/code> \u304c\u8fd4\u3059\u5024\u306f\u5bfe\u8c61\u3068\u3059\u308b\u30ea\u30bd\u30fc\u30b9\u306b\u3088\u3063\u3066\u69d8\u3005\u3067\u3059\u304c\u3001\u307b\u3068\u3093\u3069\u306e\u5834\u5408 <code>Ref<\/code> \u3067\u306f ID \u3084\u540d\u524d\u3068\u3044\u3063\u305f\u4e00\u610f\u306e\u6587\u5b57\u5217\u3001<code>Fn::GetAtt<\/code> \u3067\u306f\u30ea\u30bd\u30fc\u30b9\u306b\u4ed8\u968f\u3057\u305f\u5c5e\u6027\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><code>SubnetAPrivate<\/code> \u30ea\u30bd\u30fc\u30b9\u306f\u3001\u540c\u3058\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306b\u5b9a\u7fa9\u3055\u308c\u305f <code>VPC<\/code> \u30ea\u30bd\u30fc\u30b9\u3092 <code>Ref<\/code> \u3067\u53c2\u7167\u3057 VPC ID \u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<code>AppDbSubnet<\/code> \u30ea\u30bd\u30fc\u30b9\u306f\u3001\u540c\u69d8\u306b <code>Ref: SubnetAPrivate<\/code> \u3068\u3057\u3001Subnet ID \u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<code>AppDb<\/code> \u30ea\u30bd\u30fc\u30b9\u4e2d\u3067\u306f\u3001<code>Fn::GetAtt<\/code> \u306b\u3088\u308a subnet \u306e AZ \u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u53d6\u5f97\u3067\u304d\u308b\u5c5e\u6027\u306f\u8ffd\u52a0\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3001\u6700\u65b0\u306e\u4ed5\u69d8\u306f\u516c\u5f0f\u306e<a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/template-reference.html\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u3092\u90fd\u5ea6\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\">\u53c2\u7167\u3068\u4f9d\u5b58\u95a2\u4fc2<\/h4>\r\n\r\n\r\n\r\n<p><code>Ref<\/code> \u3084 <code>Fn::GetAtt<\/code> \u3067\u53c2\u7167\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u9593\u306b\u306f\u3001\u6697\u9ed9\u7684\u306a\u4f9d\u5b58\u95a2\u4fc2\u304c\u69cb\u7bc9\u3055\u308c\u307e\u3059\u3002\u591a\u304f\u306e\u5834\u5408\u30ea\u30bd\u30fc\u30b9\u306e\u4f5c\u6210\u9806\u5e8f\u306f CloudFormation \u304c\u81ea\u52d5\u7684\u306b\u7ba1\u7406\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u9593\u63a5\u7684\u306a\u4f9d\u5b58\u304c\u96a0\u308c\u3066\u3044\u305f\u308a\u30e6\u30fc\u30b6\u304c\u9806\u5e8f\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u3044\u30b1\u30fc\u30b9\u3067\u306f <code>DependsOn<\/code> \u3092\u4f7f\u3063\u3066\u4f9d\u5b58\u3092\u660e\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002Hubs Cloud \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u306f\u3001VPC \u306b internet gateway \u304c\u30a2\u30bf\u30c3\u30c1\u3055\u308c\u308b\u306e\u3092\u4ed6\u306e\u30ea\u30bd\u30fc\u30b9\u3067\u5f85\u3063\u305f\u308a\u3001\u5f8c\u8ff0\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u9593\u306e\u4f9d\u5b58\u3092\u660e\u793a\u3059\u308b\u5834\u5408\u306a\u3069\u306b\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u5fdc\u7528\u7de8<\/h2>\r\n\r\n\r\n\r\n<p>\u7d9a\u3044\u3066\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30d7\u30ed\u30c0\u30af\u30c8\u3089\u3057\u3044 (?) \u3061\u3087\u3063\u3068\u8907\u96d1\u306a\u90e8\u5206\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u6761\u4ef6\u306b\u3088\u308b\u30ea\u30bd\u30fc\u30b9\u69cb\u6210\u306e\u5207\u308a\u66ff\u3048<\/h3>\r\n\r\n\r\n\r\n<p>Hubs Cloud AWS \u306f\u3001\u65b0\u898f\u69cb\u7bc9\u6642\u306f\u3082\u3061\u308d\u3093 CloudFormation \u3092\u7528\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u7c21\u5358\u306a\u904b\u7528\u3082\u30b9\u30bf\u30c3\u30af\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u5909\u66f4\u64cd\u4f5c\u304b\u3089\u884c\u3048\u308b\u3088\u3046\u306b\u4f5c\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001EC2 \u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30ad\u30e3\u30d1\u30b7\u30c6\u30a3\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u4e88\u7b97\u30a2\u30e9\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u308a\u3059\u308b\u306e\u3082\u30b9\u30bf\u30c3\u30af\u66f4\u65b0\u304b\u3089\u884c\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u904b\u7528\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u4e00\u3064\u306b\u30aa\u30d5\u30e9\u30a4\u30f3\u30e2\u30fc\u30c9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u30aa\u30d5\u30e9\u30a4\u30f3\u5207\u308a\u66ff\u3048\u7528\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u30b9\u30bf\u30c3\u30af\u66f4\u65b0\u3067\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6709\u52b9 (\u30aa\u30d5\u30e9\u30a4\u30f3) \u5316\u3059\u308b\u3068 LB \u3068 EC2 \u304c\u505c\u6b62\u3055\u308c\u305f\u69cb\u6210\u306b\u5207\u308a\u66ff\u308f\u3063\u305f\u3046\u3048\u3067 DNS \u3084 CDN \u304c\u8fd4\u3059\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u304c\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002(\u30a2\u30d7\u30ea\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u304d\u306e\u30b3\u30b9\u30c8\u524a\u6e1b\u306a\u3069\u306e\u76ee\u7684\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002)<\/p>\r\n\r\n\r\n\r\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3088\u3063\u3066\u69cb\u6210\u3092\u5207\u308a\u66ff\u3048\u305f\u3044\u5834\u5408\u306b\u306f <code>Conditions<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u3068\u30ea\u30bd\u30fc\u30b9\u306e <code>Condition<\/code> \u5c5e\u6027\u306a\u3069\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Conditions:      # \u5404\u7a2e\u6761\u4ef6\u3092\u5b9a\u7fa9\u3059\u308b\u30bb\u30af\u30b7\u30e7\u30f3\r\n  ...\r\n  IsOnline:      # \u6761\u4ef6: ${StackOffline} == \"Online\"\r\n    Fn::Equals:\r\n      - Ref: StackOffline\r\n      - Online\r\n\r\n  IsOffline:     \r\n    Fn::Not:\r\n      - Condition: IsOnline\r\n  ...\r\n  HasALB:        # \u6761\u4ef6: ((${IsOnline} OR ${Perform...}) AND ${RequestedALB}\r\n    Fn::And:\r\n      - Fn::Or:\r\n          - Condition: IsOnline\r\n          - Condition: PerformOfflineRedirectWithUnmanagedDomain\r\n      - Condition: RequestedALB\r\n...\r\nResources:\r\n  ...\r\n  AppALB:\r\n    Type: AWS::ElasticLoadBalancingV2::LoadBalancer\r\n    Condition: HasALB       # ${HasALB} \u304c\u771f\u306e\u3068\u304d\u306e\u307f\u6709\u52b9\u306a\u30ea\u30bd\u30fc\u30b9\r\n  ...\r\n  AppASG:\r\n    Type: AWS::AutoScaling::AutoScalingGroup\r\n    ...\r\n    Properties:\r\n      ...\r\n      DesiredCapacity:\r\n        Fn::If:             # if (${IsOffline}); then 0; else ${AppInstanceCount}\r\n          - IsOffline      \r\n          - 0\r\n          - Ref: AppInstanceCount<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u3053\u3061\u3089\u306f Load balancer \u3068 EC2 \u3092\u69cb\u6210\u3059\u308b Auto scaling group \u30ea\u30bd\u30fc\u30b9\u306e\u5b9a\u7fa9\u306e\u629c\u7c8b\u3067\u3059\u3002\u307e\u305a Conditions \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u6761\u4ef6\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u304c\u4e0e\u3048\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5fdc\u3058\u3066\u771f\u507d\u5024\u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Resources \u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u6761\u4ef6\u3092\u53c2\u7167\u3057\u3066\u30ea\u30bd\u30fc\u30b9\u306e\u5b58\u5728\u3084\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><code>AppALB<\/code> \u30ea\u30bd\u30fc\u30b9\u4e2d\u3067\u306f\u3001\u6761\u4ef6 <code>HasALB<\/code> \u306e\u5024\u306b\u3088\u3063\u3066\u30ea\u30bd\u30fc\u30b9\u305d\u306e\u3082\u306e\u306e\u6709\u7121\u3092\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002\u30ea\u30bd\u30fc\u30b9\u306e Condition \u5c5e\u6027\u304c\u507d\u306e\u5834\u5408\u3001\u305d\u306e\u30ea\u30bd\u30fc\u30b9\u306f\u7121\u3044\u3082\u306e\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3082\u3046\u4e00\u3064\u306e <code>AppASG<\/code> \u30ea\u30bd\u30fc\u30b9\u4e2d\u3067\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u305d\u306e\u3082\u306e\u3092\u5207\u308a\u66ff\u3048\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4e00\u3064\u3067\u3042\u308b DesiredCapacity (\u8d77\u52d5\u3059\u308b EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u6570\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e) \u306e\u5024\u3092 IsOffline \u6761\u4ef6\u306b\u3088\u3063\u3066\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002IsOffline \u304c\u771f\u306e\u5834\u5408\u306f\u30b0\u30eb\u30fc\u30d7\u306e\u5bb9\u91cf\u3092\u30bc\u30ed\u306b\u3057\u3066 EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u8d77\u52d5\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>CloudFormation \u306f\u3001\u30b9\u30bf\u30c3\u30af\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u305f\u5b9f\u30ea\u30bd\u30fc\u30b9\u3092\u30bf\u30b0\u306b\u3088\u3063\u3066\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002\u5148\u306e <code>AppALB<\/code> \u30ea\u30bd\u30fc\u30b9\u306e\u5834\u5408\u3067\u306f\u3001\u30b9\u30bf\u30c3\u30af\u5185\u3067\u904e\u53bb\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u305f\u304c\u66f4\u65b0\u306b\u3088\u3063\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u6d88\u3048\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u8d77\u3053\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u5b9f\u30ea\u30bd\u30fc\u30b9\u304c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5408\u308f\u305b\u3066\u524a\u9664\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u524a\u9664\u6642\u306e\u30c7\u30fc\u30bf\u4fdd\u6301<\/h3>\r\n\r\n\r\n\r\n<p>\u30b9\u30bf\u30c3\u30af\u3092\u524a\u9664\u3057\u305f\u308a\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u30ea\u30bd\u30fc\u30b9\u306e\u5ba3\u8a00\u3092\u6d88\u3057\u3066\u30b9\u30bf\u30c3\u30af\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5bfe\u5fdc\u3059\u308b\u5b9f\u30ea\u30bd\u30fc\u30b9\u304c CloudFormation \u306b\u3088\u3063\u3066\u524a\u9664\u3055\u308c\u307e\u3059\u3002\u6b8b\u3057\u3066\u304a\u304d\u305f\u3044\u5834\u5408\u306b\u306f <code>DeletionPolicy<\/code> \u5c5e\u6027\u3092\u6307\u5b9a\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Hubs Cloud AWS \u3067\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u304c\u4fdd\u6301\u3055\u308c\u308b\u30ea\u30bd\u30fc\u30b9\u306a\u3069\u306b\u3001\u30b9\u30bf\u30c3\u30af\u524a\u9664\u6642\u3082\u30c7\u30fc\u30bf\u3092\u6b8b\u3059\u3088\u3046\u306a\u6307\u5b9a\u304c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30b9\u30bf\u30c3\u30af\u524a\u9664\u5f8c\u3082\u5b9f\u30ea\u30bd\u30fc\u30b9\u3092\u6b8b\u3059\u306b\u306f <code>DeletionPolicy: Retain<\/code> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001Elastic File System (EFS) \u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30dc\u30fc\u30eb\u30c8\u306b\u3053\u306e\u6307\u5b9a\u304c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Resources:\r\n  ...\r\n  StorageEFS:\r\n    Type: Custom::EFS\r\n    DeletionPolicy: Retain\r\n    Properties:\r\n  ...\r\n  DailyBackupVault:\r\n    Type: AWS::Backup::BackupVault\r\n    DeletionPolicy: Retain\r\n    Properties:\r\n<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u901a\u5e38\u3001EFS \u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f <code>Type: AWS::EFS::FileSystem<\/code> \u304c\u4f7f\u3048\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u5f8c\u8ff0\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u3063\u3066 <code>Custom::EFS<\/code> \u3068\u72ec\u81ea\u306e\u30ea\u30bd\u30fc\u30b9\u5b9a\u7fa9\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u65b0\u898f\u3067 Hubs \u3092\u7acb\u3061\u4e0a\u3052\u308b\u5834\u5408\u3082\u3001\u904e\u53bb\u306e Hubs \u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089 EFS \u3092\u30ea\u30b9\u30c8\u30a2\u3059\u308b\u5834\u5408\u3082\u4e21\u65b9\u540c\u3058 <code>StorageEFS<\/code> \u30ea\u30bd\u30fc\u30b9\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u672c\u984c\u3068\u306f\u5916\u308c\u307e\u3059\u304c\u3001\u30ea\u30bd\u30fc\u30b9\u306b <code>DeletionPolicy: Retain<\/code> \u3092\u3064\u3051\u305f\u4e0a\u3067\u5143\u306e\u30b9\u30bf\u30c3\u30af\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u524a\u9664\u3057\u3001\u5225\u306e\u30b9\u30bf\u30c3\u30af\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067 (\u5168\u3066\u3067\u306f\u306a\u3044\u3067\u3059\u304c) \u30ea\u30bd\u30fc\u30b9\u3092\u5225\u306e\u30b9\u30bf\u30c3\u30af\u7ba1\u7406\u4e0b\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u9593\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u306b\u5229\u7528\u53ef\u80fd\u306a\u6a5f\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3067\u4efb\u610f\u306e\u51e6\u7406\u3092\u884c\u3046<\/h3>\r\n\r\n\r\n\r\n<p>\u65e2\u5b58\u306e\u30ea\u30bd\u30fc\u30b9\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u4efb\u610f\u306e\u30ed\u30b8\u30c3\u30af\u3092\u5b9f\u884c\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002\u3056\u3063\u304f\u308a\u3068\u8a00\u3048\u3070\u3001\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u306f\u6b21\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u304c\u5b9a\u7fa9\u3055\u308c\u308b\r\n<ul>\r\n<li>\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u306e ServiceToken \u306b\u901a\u77e5\u5148\u306e SNS \u307e\u305f\u306f Lambda \u306e ARN \u3092\u6307\u5b9a\u3059\u308b<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>CloudFormation \u306f\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u5b9f\u884c\u6642\u306b\u3001\u901a\u77e5\u5148\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9001\u4fe1\u3059\u308b\r\n<ul>\r\n<li>\u30ea\u30af\u30a8\u30b9\u30c8\u4e2d\u306b\u306f\u5f85\u3061\u53d7\u3051 URL \u304c\u542b\u307e\u308c\u308b<\/li>\r\n<li>CloudFormation \u306f\u305d\u306e\u5f85\u3061\u53d7\u3051 URL \u3078\u306e\u66f8\u304d\u8fbc\u307f\u3092\u5f85\u3064<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>\u901a\u77e5\u3092\u53d7\u3051\u305f\u5074\u306f\u4f55\u3089\u304b\u306e\u51e6\u7406\u3092\u884c\u3044\u3001\u5f85\u3061\u53d7\u3051 URL \u3078\u7d50\u679c\u3092\u66f8\u304d\u8fbc\u3080<\/li>\r\n<li>CloudFormation \u304c\u66f8\u304d\u8fbc\u307e\u308c\u305f\u7d50\u679c\u3092\u8aad\u307f\u53d6\u308b<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Hubs Cloud AWS \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e2d\u3067\u3082\u3001\u3053\u308c\u3067\u3082\u304b\u3068\u8a00\u308f\u3093\u3070\u304b\u308a\u306b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30b9\u30bf\u30c3\u30af\u540d\u3092\u5c0f\u6587\u5b57\u306b\u3057\u3066\u8fd4\u3059\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u306e\u4f8b\u3067\u3059\u3002Lambda \u306b\u3088\u3063\u3066\u51e6\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Resources:\r\n  ...\r\n  ToLower:\r\n    Type: AWS::Lambda::Function\r\n    Properties:\r\n      ...  \r\n      Description: Convert a string to lower\r\n      Runtime: nodejs14.x\r\n      Code:\r\n        ZipFile: |\r\n          \/\/ \u5f15\u6570\u304b\u3089 \"String\" \u306e\u5024\u3092\u53d7\u3051\u53d6\u3063\u3066\r\n          \/\/ { \"Value\": \"\u5c0f\u6587\u5b57\u5316\u3055\u308c\u305f\u6587\u5b57\u5217\" } \u306a JSON \u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092 S3 \u306b PUT \u3059\u308b\u30b3\u30fc\u30c9\r\n          ...\r\n  ...\r\n  LowerStackName:\r\n    Type: Custom::ToLower\r\n    Properties:\r\n      String:               # Lambda \u95a2\u6570\u306b\u308f\u305f\u3059\u5f15\u6570\r\n        Fn::Sub: ${AWS::StackName}\r\n      ServiceToken:         # Lambda \u95a2\u6570\u3092 ARN \u3067\u6307\u5b9a\u3059\u308b\r\n        Fn::GetAtt: ToLower.Arn\r\n  ...\r\n  AppAssetsDNS:\r\n    Type: AWS::Route53::RecordSet\r\n    Properties:\r\n      Name:      # \u2193 \u5225\u306e\u30ea\u30bd\u30fc\u30b9\u304b\u3089\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u306e\u5024\u3092\u53c2\u7167\u3059\u308b       \r\n        Fn::Sub: ${LowerStackName.Value}-assets.${InternalZoneInfo.Name}\r\n      ...   <\/code><\/pre>\r\n\r\n\r\n\r\n<p><code>ToLower.Properties.Code<\/code> \u90e8\u5206\u304c\u30ed\u30b8\u30c3\u30af\u306e\u672c\u4f53\u306b\u306a\u308a\u307e\u3059\u3002nodejs \u3067\u6587\u5b57\u5217\u3092\u52a0\u5de5\u3059\u308b\u51e6\u7406\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u51fa\u529b\u306f event \u5f15\u6570\u3067\u6307\u5b9a\u3055\u308c\u305f S3 URL \u306b\u7279\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u66f8\u304d\u51fa\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001<code>{ \"Value\": \"\u6587\u5b57\u5217\" }<\/code> \u3068\u3044\u3046\u5f62\u3092\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>Lambda \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u306e\u304c\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9 <code>LowerStackName<\/code> \u3067\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u4e2d\u3067\u3001`String` \u306e\u5024\u3092 Fn::Sub \u3092\u4f7f\u3063\u3066\u4e0e\u3048\u3066\u304a\u308a\u3001\u3053\u306e\u5024\u304c Lambda \u95a2\u6570\u306b event \u5f15\u6570\u306e\u4e00\u90e8\u3068\u3057\u3066\u6e21\u3055\u308c\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u6700\u7d42\u7684\u306b\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9 LowerStackName \u306f\u4ed6\u306e\u30ea\u30bd\u30fc\u30b9\u304b\u3089 `Fn::Sub: ${LowerStackName.Value}...` \u306e\u3088\u3046\u306b\u53c2\u7167\u3055\u308c\u3001\u5c0f\u6587\u5b57\u5316\u3055\u308c\u305f\u30b9\u30bf\u30c3\u30af\u540d\u6587\u5b57\u5217\u3068\u3057\u3066\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u672c\u7a3f\u3067\u306f\u521d\u51fa\u306e\u8a18\u6cd5\u3067\u3059\u304c\u3001\u3053\u306e\u4f8b\u306e\u3088\u3046\u306a Fn::Sub \u4e2d\u306e <code>${\u30ea\u30bd\u30fc\u30b9\u540d.\u5c5e\u6027\u540d}<\/code> \u8a18\u6cd5\u306f Fn::GetAtt \u3067\u53d6\u5f97\u3067\u304d\u308b\u3082\u306e\u3068\u540c\u3058\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\">Hubs Cloud AWS \u3067\u306e\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u4f7f\u7528\u4f8b<\/h4>\r\n\r\n\r\n\r\n<p>\u4e0a\u8a18\u306e\u4f8b\u306e\u4ed6\u306b\u3082\u3001Hubs Cloud \u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7528\u9014\u3067\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>URL \u6587\u5b57\u5217\u306e\u30d1\u30fc\u30b9<\/li>\r\n<li>EFS \u3092\u65b0\u898f\u307e\u305f\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u306e\u30ea\u30b9\u30c8\u30a2\u3067\u4f5c\u6210<\/li>\r\n<li>SES \u3092 SMTP \u3067\u4f7f\u3046\u969b\u306e\u8a8d\u8a3c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092 IAM \u30e6\u30fc\u30b6\u306e\u9375\u304b\u3089\u751f\u6210<\/li>\r\n<li>\u5165\u529b\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3\u6587\u5b57\u5217\u304b\u3089 Route53 \u30be\u30fc\u30f3 ID \u3092\u691c\u7d22<\/li>\r\n<\/ul>\r\n\r\n\r\n<hr class=\"wp-block-separator\" \/>\r\n\r\n\r\n<p>\u203b Hubs Cloud AWS \u306f\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u88fd\u54c1\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e2d\u306b\u5168\u90e8\u76db\u308a\u306e\u69cb\u6210\u3092\u53d6\u3063\u3066\u3044\u308b\u90fd\u5408\u4e0a\u3001\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u99c6\u4f7f\u3057\u3066 CloudFormation \u306b\u6a5f\u80fd\u3092\u8a70\u3081\u8fbc\u3093\u3067\u3044\u308b\u306e\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u81ea\u7d44\u7e54\u5185\u3067\u4f7f\u3046\u3060\u3051\u3067\u3042\u308c\u3070\u3001\u3042\u307e\u308a\u6a5f\u80fd\u3092\u8a70\u3081\u8fbc\u3080\u3088\u308a\u3082\u5225\u9014\u9069\u5207\u306a\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u307b\u3046\u304c\u904b\u7528\u306b\u306f\u5411\u3044\u3066\u3044\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u304a\u308f\u308a\u306b<\/h2>\r\n\r\n\r\n\r\n<p>Hubs Cloud AWS \u3068\u3044\u3046\u30d7\u30ed\u30c0\u30af\u30c8\u3067\u5b9f\u969b\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5f15\u7528\u3057\u306a\u304c\u3089\u3001CloudFormation \u306e\u30ce\u30a6\u30cf\u30a6\u306e\u4e00\u90e8\u3092\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u7d39\u4ecb\u3067\u304d\u306a\u304b\u3063\u305f\u5185\u5bb9\u3082\u307e\u3060\u307e\u3060\u305f\u304f\u3055\u3093\u3042\u308b\u306e\u3067\u3059\u304c\u3001<a href=\"https:\/\/github.com\/mozilla\/hubs-ops\/blob\/master\/cloudformation\/stack.yaml\" data-type=\"URL\" data-id=\"https:\/\/github.com\/mozilla\/hubs-ops\/blob\/master\/cloudformation\/stack.yaml\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8aad\u3080<\/a>\u624b\u304c\u304b\u308a\u3068\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>CloudFormation \u306f\u4fbf\u5229\u3067\u3059\u304c\u3001\u30b9\u30bf\u30c3\u30af\u5916\u3067\u306e\u5909\u66f4\u306b\u3042\u307e\u308a\u5f37\u304f\u306a\u3044\u3001\u30c9\u30ea\u30d5\u30c8\u691c\u77e5\u306e\u7bc4\u56f2\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u306a\u3069\u5f31\u70b9\u3082\u3042\u308a\u307e\u3059\u3002\u65e5\u5e38\u7684\u306a CloudFormation \u306e\u4f7f\u7528\u306b\u304a\u3044\u3066\u306f\u3001\u5192\u982d\u306b\u3082\u3042\u3052\u305f\u4e0a\u4f4d\u30c4\u30fc\u30eb\u306e\u6d3b\u7528\u3067\u3042\u3063\u305f\u308a\u3001\u4f8b\u3048\u3070\u69cb\u7bc9\u30d5\u30a7\u30fc\u30ba\u306b\u9650\u5b9a\u3059\u308b\u306a\u3069\u3001\u30b1\u30fc\u30b9\u30d0\u30a4\u30b1\u30fc\u30b9\u3067\u7121\u7406\u306e\u306a\u3044\u7bc4\u56f2\u3067\u6d3b\u7528\u3067\u304d\u308b\u3068\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8cc7\u6599<\/h2>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><a href=\"https:\/\/aws.amazon.com\/marketplace\/pp\/prodview-jdjo7abklsxkg\" data-type=\"URL\" data-id=\"https:\/\/aws.amazon.com\/marketplace\/pp\/prodview-jdjo7abklsxkg\">AWS Marketplace Hubs Cloud Enterprise<\/a><\/li>\r\n<li><a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/Welcome.html\" data-type=\"URL\" data-id=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSCloudFormation\/latest\/UserGuide\/Welcome.html\">AWS CloudFormation \u30e6\u30fc\u30b6\u30fc\u30ac\u30a4\u30c9<\/a><\/li>\r\n<li><a href=\"https:\/\/github.com\/mozilla\/hubs-ops\" data-type=\"URL\" data-id=\"https:\/\/github.com\/mozilla\/hubs-ops\">GitHub mozilla\/hubs-ops<\/a><\/li>\r\n<li><a href=\"https:\/\/hubs.mozilla.com\/\" data-type=\"URL\" data-id=\"https:\/\/hubs.mozilla.com\/\">Mozilla Hubs<\/a><\/li>\r\n<li><a href=\"https:\/\/vr.gree.net\/lab\/demo\/hubs\/\" data-type=\"URL\" data-id=\"https:\/\/vr.gree.net\/lab\/demo\/hubs\/\">Hubs | GREE VR Studio Laboratory<\/a><\/li>\r\n<\/ul>\r\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30d5\u30e9\u306e\u99d2\u5d0e\u3067\u3059\u3002 AWS CloudFormation \u306b\u3064\u3044\u3066\u3001\u30b3\u30fc\u30c9\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u306a\u3089\u306c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u7684\u306a\u5f62\u3067\u62fe\u3044\u8aad\u307f\u3057\u306a\u304c\u3089\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u56de\u984c\u6750\u3068\u3059\u308b\u306e\u306f\u3001\u5f0a\u793e\u30b0\u30eb\u30fc\u30d7 GREE V [&hellip;]<\/p>\n","protected":false},"author":158,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[114,217],"class_list":["post-21959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-info","tag-aws","tag-cloudformation"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/21959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/users\/158"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/comments?post=21959"}],"version-history":[{"count":3,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/21959\/revisions"}],"predecessor-version":[{"id":22132,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/21959\/revisions\/22132"}],"wp:attachment":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/media?parent=21959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/categories?post=21959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/tags?post=21959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}