{"id":13493,"date":"2021-01-15T09:30:39","date_gmt":"2021-01-15T00:30:39","guid":{"rendered":"https:\/\/itport.cloud\/?p=13493"},"modified":"2021-04-11T08:51:20","modified_gmt":"2021-04-10T23:51:20","slug":"post-13493","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=13493","title":{"rendered":"(\u7b2c1\u56de)CloudFormation\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u52b9\u7387\u5316"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#1\">\u306f\u3058\u3081\u306b<\/a><br><a href=\"#2\">\u30c7\u30b6\u30a4\u30ca\u30fc\u3067YAML\u306e\u66f8\u304d\u65b9\u3092\u78ba\u8a8d<\/a><br><a href=\"#3\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7cfb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u5b9a\u7fa9<\/a><br><a href=\"#4\">\u6b21\u56de\u4e88\u544a<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p><br>AWS\u306f\u305d\u3082\u305d\u3082\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u3068\u3066\u3082\u512a\u79c0\u3060\u3057\u3001\u308f\u3056\u308f\u3056\u300c<strong>Infrastructure as Code<\/strong>\u300d\uff08<strong>IaC<\/strong>\uff09\u306a\u308b\u3082\u306e\u3092\u5b66\u7fd2\u3057\u306a\u304f\u3066\u3082\u306e\u3089\u308a\u304f\u3089\u308a\u4f55\u3068\u304b\u306a\u308b\u306e\u3067\u306f\uff1f<br>\u7d50\u5c40\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u30dd\u30c1\u30dd\u30c1\u4f5c\u308c\u308c\u3070\u30b4\u30fc\u30eb\u306f\u540c\u3058\u306a\u8a33\u3060\u3051\u3060\u3057&#8230;<br>\u3068\u4eca\u307e\u3067<strong>CloudFormation<\/strong>\u304b\u3089\u9003\u3052\u3066\u3044\u305f\u3042\u306a\u305f\uff01\uff08<strong>\u3068\u3044\u3046\u304b\u79c1<\/strong>\uff09\u305d\u308d\u305d\u308d\u5e74\u8ca2\u306e\u7d0d\u3081\u6642\u3067\u3059\u3002<\/p>\n\n\n\n<p style=\"color:#2fa300\" class=\"has-text-color has-medium-font-size\"><strong><u class=\"remove-format\">\u3053\u306e\u8a18\u4e8b\u306e\u76ee\u6a19<\/u><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>CloudFormation\u306e\u4f7f\u3044\u65b9\u306e\u57fa\u790e\u304c\u7406\u89e3\u3067\u304d\u308b<\/li><li>VPC\u30fb\u30b5\u30d6\u30cd\u30c3\u30c8\u7b49\u306eAWS\u69cb\u7bc9\u3067\u5fc5\u305a\u901a\u308b\u3067\u3042\u308d\u3046\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7cfb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">\u30c7\u30b6\u30a4\u30ca\u30fc\u3067YAML\u306e\u66f8\u304d\u65b9\u3092\u78ba\u8a8d<\/h2>\n\n\n\n<p><strong>CloudFormation<\/strong>\u306e\u826f\u3044\u3068\u3053\u308d\u306e\uff11\u3064\u306f\u3001AWS\u306e\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u3059\u3002<br>\u3064\u307e\u308a\u624b\u5143\u306b\u958b\u767a\u74b0\u5883\u3092\u7528\u610f\u3057\u306a\u304f\u3066\u3082\u3001AWS\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u958b\u59cb\u3067\u304d\u307e\u3059\u3002\uff08\u305f\u3060\u3057\u5c11\u3057\u7656\u306f\u3042\u308a\u305d\u3046\uff09<br>\u6163\u308c\u3066\u304f\u308c\u3070\u76f4\u63a5YAML\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u307e\u305a\u306f\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304d\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-image custom-border\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"358\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-1024x358.png\" alt=\"\" class=\"wp-image-13538\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-1024x358.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-300x105.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-768x269.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-450x158.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1-900x315.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h16_34-1.png 1154w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>\u300c\u30b9\u30bf\u30c3\u30af\u306e\u4f5c\u6210\u300d\u304b\u3089\u300c\u30c7\u30b6\u30a4\u30ca\u30fc\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"576\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1.png\" alt=\"\" class=\"wp-image-13542\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1.png 1021w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1-300x169.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1-768x433.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1-450x254.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-25_12h31_08-1-900x508.png 900w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/a><figcaption>CloudFormation\u300c\u30b9\u30bf\u30c3\u30af\u306e\u4f5c\u6210\u30a6\u30a3\u30b6\u30fc\u30c9\u300d<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30c7\u30b6\u30a4\u30ca\u30fc\u5de6\u90e8\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u4e00\u89a7\u3088\u308aVPC\uff08EC2\u30ab\u30c6\u30b4\u30ea\u306e\u4e2d\u306b\u3042\u308a\u307e\u3059\uff09\u3092\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-1024x588.png\" alt=\"\" class=\"wp-image-13551\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-1024x588.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-300x172.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-768x441.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-450x258.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46-900x517.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_21h42_46.png 1278w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>CloudFormation\u300c\u30c7\u30b6\u30a4\u30ca\u30fc\u753b\u9762\u300d<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u4e0b\u90e8\u30bf\u30d6\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8868\u793a\u3059\u308b\u3068\u3001\u300c<strong>AWSTemplateFormatVersion<\/strong>\u300d\u3001\u300c<strong>Metadata<\/strong>\u300d\u3068\u300c<strong>Resources<\/strong>\u300d\u306e\uff12\u3064\u304c\u66f8\u304b\u308c\u3066\u307e\u3057\u305f\u3002\u307e\u305f\u3001JSON\u5f62\u5f0f\u3001YAML\u5f62\u5f0f\u3068\u8868\u793a\u3092\u5207\u66ff\u304c\u53ef\u80fd\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"vpce38292e9858de7bdaee38197e3819fe78ab6e6858be381aee38386e383b3e38397e383ace383bce38388efbc88yamle5bda2e5bc8fefbc89-2\">VPC\u3092\u914d\u7f6e\u3057\u305f\u72b6\u614b\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08YAML\u5f62\u5f0f\uff09<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; highlight: [1,12,13,14,15]; title: ; notranslate\" title=\"\">\nAWSTemplateFormatVersion: 2010-09-09\nMetadata:\n  'AWS::CloudFormation::Designer':\n    06f2c027-d7fe-4b31-af98-152c4be9849d:\n      size:\n        width: 190\n        height: 140\n      position:\n        x: 100\n        'y': 110\n        z: 0\nResources:\n  EC2VPC39T3H:\n    Type: 'AWS::EC2::VPC'\n    Properties: {}\n    Metadata:\n      'AWS::CloudFormation::Designer':\n        id: 06f2c027-d7fe-4b31-af98-152c4be9849d\n<\/pre><\/div>\n\n\n<p>1\u884c\u76ee\u306e\u300c<strong>AWSTemplateFormatVersion<\/strong>\u300d \u30bb\u30af\u30b7\u30e7\u30f3\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u6a5f\u80fd\u3092\u8b58\u5225\u3057\u307e\u3059\u3002\u6700\u65b0\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5f62\u5f0f\u30d0\u30fc\u30b8\u30e7\u30f3\u306f<strong>2010-09-09<\/strong>\u3067\u3042\u308a\u73fe\u6642\u70b9\u3067\u552f\u4e00\u306e\u6709\u52b9\u306a\u5024\u306e\u3088\u3046\u3067\u3059\u3002<br>\u300c<strong>Resources<\/strong>\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u3057\u305f\u90e8\u5206\u304c\u3069\u3046\u3084\u3089\u91cd\u8981\u306a\u3088\u3046\u3067\u3059\u3002\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u4f7f\u3046\u3068\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306b\u30ea\u30bd\u30fc\u30b9\u304c\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001\u4fbf\u5229\u3067\u3059\u304c\u7279\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u306a\u3069\u306e\u5165\u529b\u88dc\u5b8c\u304c\u3042\u308b\u8a33\u3067\u306f\u7121\u3055\u305d\u3046\u3067\u3059\u306e\u3067\u3001\u81ea\u5206\u3067YAML\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u3063\u305f\u65b9\u304c\u6700\u7d42\u7684\u306b\u306f\u5206\u304b\u308a\u3084\u3059\u305d\u3046\u3060\u3068\u601d\u3044\u307e\u3057\u305f\u3002<br>\u307e\u305f\u3001\u3053\u3053\u306b\u306f\u7121\u3044\u3067\u3059\u304c\u300c<strong>Mappings<\/strong>\u300d\u3084\u300c<strong>Conditions<\/strong>\u300d\u3068\u3044\u3063\u305f\u69d8\u3005\u306a\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u306f\u4f7f\u7528\u305b\u305a\u30b7\u30f3\u30d7\u30eb\u306b\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7cfb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u5b9a\u7fa9<\/h2>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067YAML\u3067\u66f8\u3044\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u66f8\u304d\u65b9\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u69cb\u6210\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u4ee5\u4e0b\u306e\u5f62\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u66f8\u3044\u305f\u9806\u756a\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>VPC\uff081\u3064\uff09<\/li><li>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4<\/li><li>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3092VPC\u306b\u30a2\u30bf\u30c3\u30c1<\/li><li>\u30d1\u30d6\u30ea\u30c3\u30af\u30b5\u30d6\u30cd\u30c3\u30c8\uff081\u3064\uff09<\/li><li>\u30eb\u30fc\u30c8\u30c6\u30fc\u30d6\u30eb\uff081\u3064\uff09<\/li><li>\u30eb\u30fc\u30c8\u30c6\u30fc\u30d6\u30eb\u306b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3078\u306e\u7d4c\u8def\u3092\u5b9a\u7fa9<\/li><li>\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u30eb\u30fc\u30c8\u30c6\u30fc\u30d6\u30eb\u3092\u30a2\u30bd\u30b7\u30a8\u30a4\u30c8<\/li><\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nAWSTemplateFormatVersion: \"2010-09-09\"\nDescription: \"Itport AWS VPC Networks\"\nResources:\n  \n  # VPC Create\n  ItportVPC:\n    Type: \"AWS::EC2::VPC\"\n    Properties:\n      CidrBlock: 10.0.0.0\/16\n      EnableDnsSupport: \"true\"\n      EnableDnsHostnames: \"true\"\n      InstanceTenancy: default\n      Tags:\n      - Key: \"Name\"\n        Value: \"ItportVPC\"\n\n  # IGW Create\n  ItportIGW:\n    Type: \"AWS::EC2::InternetGateway\"\n    Properties:\n      Tags:\n      - Key: \"Name\"\n        Value: \"ItportIGW\"\n\n  # Attach IGW to VPC\n  ItportIGWAttachVPC:\n    Type: \"AWS::EC2::VPCGatewayAttachment\"\n    Properties:\n      InternetGatewayId: !Ref ItportIGW\n      VpcId: !Ref ItportVPC\n\n  # Subnet(1a) Create\n  ItportSubnet1a:\n    Type: \"AWS::EC2::Subnet\"\n    Properties:\n      VpcId: !Ref ItportVPC\n      AvailabilityZone: ap-northeast-1a\n      CidrBlock: 10.0.0.0\/24\n      MapPublicIpOnLaunch: true\n      Tags:\n      - Key: \"Name\"\n        Value: \"ItportSubnet1a\"\n\n  # RouteTable Create\n  ItportRouteTable:\n    Type: \"AWS::EC2::RouteTable\"\n    Properties:\n      VpcId: !Ref ItportVPC\n      Tags:\n      - Key: \"Name\"\n        Value: \"ItportRouteTable\"\n\n  # Internet Route Create\n  ItportInternetRoute:\n    Type: \"AWS::EC2::Route\"\n    Properties:\n      DestinationCidrBlock: \"0.0.0.0\/0\"\n      GatewayId: !Ref ItportIGW\n      RouteTableId: !Ref ItportRouteTable\n  \n  # Associate Route Table To Subnet\n  AssociateItportSubnet1aToItportRouteTable:\n    Type: \"AWS::EC2::SubnetRouteTableAssociation\"\n    Properties:\n      RouteTableId: !Ref ItportRouteTable\n      SubnetId: !Ref ItportSubnet1a\n\nOutputs:\n  ItportVPC:\n    Value: !Ref ItportVPC\n    Export:\n      Name: ItportVPC\n  \n  ITPortSubnet1a:\n    Value: !Ref ItportSubnet1a\n    Export:\n      Name: ItportSubnet1a\n<\/pre><\/div>\n\n\n<p>\u3053\u3053\u3067\u6ce8\u76ee\u3057\u305f\u3044\u306e\u304c\u3001\u5404\u30ea\u30bd\u30fc\u30b9\u306b\u8ad6\u7406\u540d\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068\u3068\u300c<strong>!Ref<\/strong>\u300d\u3067\u8ad6\u7406\u540d\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u3068\u300c<strong>Outputs:<\/strong>\u300d\u3067\u4ed6\u30b9\u30bf\u30c3\u30af\u304b\u3089VPC\u3068\u30b5\u30d6\u30cd\u30c3\u30c8\u306eID\u3092\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; first-line: 30; title: ; notranslate\" title=\"\">\nVpcId: !Ref ItportVPC\n<\/pre><\/div>\n\n\n<p>\u3068\u3044\u3063\u305f\u3088\u3046\u306b\u95a2\u9023\u30ea\u30bd\u30fc\u30b9\u306e\u7d10\u4ed8\u3051\u3092\u3059\u308b\u969b\u306b\u306f\u3001\u300c<strong>!Ref<\/strong>\u300d\u3067\u8ad6\u7406\u540d\u3067\u7d10\u4ed8\u3092\u3057\u307e\u3059\u3002<br>\u305d\u3057\u3066\u3001\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092<strong>CloudFormation<\/strong>\u4e0a\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u30c7\u30b6\u30a4\u30ca\u30fc\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56f3\u3067\u8868\u73fe\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"775\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-1024x775.png\" alt=\"\" class=\"wp-image-13566\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-1024x775.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-300x227.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-768x581.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-423x320.png 423w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer-845x640.png 845w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/template1-designer.png 1852w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>ItportVPCNetwork\u69cb\u6210\u56f3<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u3053\u306e\u307e\u307e\u300c<strong>\u30b9\u30bf\u30c3\u30af\u306e\u4f5c\u6210<\/strong>\u300d\u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u9032\u3081\u3066\u3044\u3051\u3070\u5b9a\u7fa9\u3057\u305f\u901a\u308a\u306bAWS\u4e0a\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"413\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-1024x413.png\" alt=\"\" class=\"wp-image-13569\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-1024x413.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-300x121.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-768x310.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-450x181.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35-900x363.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-27_23h14_35.png 1840w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>CloudFormation\u300c\u30b9\u30bf\u30c3\u30af\u306e\u4f5c\u6210\u300d\u5b8c\u4e86\u753b\u9762<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4\">\u6b21\u56de\u4e88\u544a<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3053\u3053\u307e\u3067\u3068\u306a\u308a\u307e\u3059\u3002\u4eca\u307e\u3067\u306fAWS\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067VPC\u3092\u4f5c\u6210\u3057\u3066\u30b5\u30d6\u30cd\u30c3\u30c8\u3092\u5207\u308a\u30eb\u30fc\u30c8\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u3063\u3066&#8230;\u3068\u6bce\u56de\u30dd\u30c1\u30dd\u30c1\u4f5c\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001CloudFormation\u3092\u4e00\u5ea6\u66f8\u3044\u3066\u3057\u307e\u3048\u3070\u697d\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u300c<strong>Infrastructure as Code<\/strong>\uff08<strong>IaC<\/strong>\uff09\u300d\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u5fc3\u69cb\u3048\u304c\u5fc5\u8981\u306a\u3088\u3046\u3067\u3057\u3066\u3001\u3088\u304f\u8033\u306b\u3059\u308b\u306e\u306f\u300c<strong>\u4e00\u5ea6\u3001\u30b3\u30fc\u30c9\u3067\u7ba1\u7406\u3092\u3057\u305f\u3089\u6700\u5f8c\u307e\u3067\u30b3\u30fc\u30c9\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068<\/strong>\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br><strong>CloudFormation<\/strong>\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u30a4\u30f3\u30d5\u30e9\u90e8\u5206\u3092\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u7b49\u3067\u76f4\u63a5\u5909\u66f4\u3057\u3066\u3057\u307e\u3046\u3068\u30b3\u30fc\u30c9\u3068\u5dee\u7570\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u305d\u3046\u306a\u308b\u3068\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u5909\u66f4\u3059\u308b\u969b\u306b\u304a\u3082\u308f\u306c\u30c8\u30e9\u30d6\u30eb\u3092\u62db\u304d\u305d\u3046\u306a\u306e\u306f\u3001\u306a\u3093\u3068\u306a\u304f\u60f3\u50cf\u304c\u3064\u304d\u307e\u3059\u3002<br><strong>CloudFormation<\/strong>\u3092\u5c0e\u5165\u3059\u308b\u969b\u306f\u3001\u3057\u3063\u304b\u308a\u7ba1\u7406\u3059\u308b\u30e1\u30f3\u30d0\u30fc\u9593\u3067\u904b\u7528\u65b9\u6cd5\u306e\u4e8b\u524d\u78ba\u8a8d\u3092\u3057\u305f\u65b9\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u306d\u3002<br>\u6b21\u56de\u306f\u3001\u4f5c\u6210\u3057\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306bEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><li class=\"current\"><a href=\"https:\/\/itport.cloud\/?p=13493\">(\u7b2c1\u56de)CloudFormation\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u52b9\u7387\u5316<\/a><\/li><li><a href=\"https:\/\/itport.cloud\/?p=14447\">(\u7b2c2\u56de)CloudFormation\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u52b9\u7387\u5316<\/a><\/li><li><a href=\"https:\/\/itport.cloud\/?p=15461\">(\u7b2c3\u56de)CloudFormation\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u52b9\u7387\u5316 \uff5e Amazon S3 \u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u6210\u7de8 \uff5e<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u524d\u56de\u306e\u632f\u308a\u8fd4\u308a\u69cb\u6210\u30a4\u30e1\u30fc\u30b8\u5927\u962a\u30ea\u30fc\u30b8\u30e7\u30f3\u7528\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8- itport-s3-osaka.yaml\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u7528\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8- itport-s3-tokyo.yaml\u78ba\u8a8d\u304a\u308f\u308a\u306b \u524d\u56de\u306e\u632f\u308a\u8fd4\u308a https:\/\/itport.cloud\/?p=14447 \u524d\u56de\u307e\u3067\u306fVPC\u3084EC2\u306e\u8d77\u52d5\u3092Cloud Formation\u3092\u4f7f\u3063\u3066\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4eca\u56de\u306fS3\u30d0\u30b1\u30c3\u30c8\u3092Cloud Formation\u3092\u4f7f\u7528\u3057\u3066\u69cb\u7bc9\u3057\u307e\u3059\u3002 \u69cb\u6210\u30a4\u30e1\u30fc\u30b8 Amzon S3\u306e\u6a19\u6e96\u30b9\u30c8\u30ec\u30fc\u30b8\u306f 99.999999999 %\uff089 \u00d7 11\uff09\u306e\u5805\u7262\u6027\u304c\u3042\u308b\u3068\u8a00\u308f\u308c\u3066\u304a\u308a\u307e\u3059\u3002\uff11\u3064\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u3067\u4f7f\u7528\u3059\u308b\u3060\u3051\u3067\u3082\u30cf\u30fc\u30c9\u969c\u5bb3\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u30ed\u30b9\u30c8\u306f\u5fc3\u914d\u3044\u3089\u306a\u3044\u3088\u3046\u306b&hellip;","protected":false},"author":3,"featured_media":13591,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80],"tags":[110],"class_list":{"0":"post-13493","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"tag-season36"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13493"}],"version-history":[{"count":84,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13493\/revisions"}],"predecessor-version":[{"id":14812,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13493\/revisions\/14812"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/13591"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}