{"id":13372,"date":"2023-08-01T07:21:55","date_gmt":"2023-07-31T22:21:55","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=13372"},"modified":"2023-08-03T06:39:23","modified_gmt":"2023-08-02T21:39:23","slug":"aws-cloud-9%e3%81%aeaws-cli%e3%81%ae%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%92v2%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/13372","title":{"rendered":"AWS Cloud 9\u306eAWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092v2\u306b\u5909\u66f4\u3059\u308b\uff01"},"content":{"rendered":"<p>AWS Cloud 9\u306eAWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304cv1\u306e\u307e\u307e\u306a\u306e\u3067\u3001v2\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h2>AWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092v2\u306b\u5909\u66f4\u3059\u308b\u30b7\u30a7\u30eb\u3092\u4f5c\u6210\u3059\u308b\uff01<\/h2>\n<p>AWS Cloud 9\u306e\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u305f\u3073\u306b\u5fc5\u8981\u3068\u306a\u308b\u4f5c\u696d\u306a\u306e\u3067\u3001\u30b7\u30a7\u30eb\u5316\u3057\u307e\u3059\u3002AWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u56fa\u5b9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4e0b\u4f4d\u4e92\u63db\u6027\u304c\u57fa\u672c\u7684\u306b\u4fdd\u305f\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u5e38\u306b\u6700\u65b0\u7248\u3067\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002AWS CDK\u306f\u3001Cloud 9\u306e\u74b0\u5883\u3092\u305d\u306e\u307e\u307e\u4f7f\u7528\u3057\u307e\u3059\u3002Terraform\u306e\u74b0\u5883\u3082\u6574\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ cat cloud9-tools-setup.sh \r\n#!\/bin\/bash\r\n\r\ncd ~\/\r\n\r\naws --version\r\nsudo pip3 uninstall awscli -y\r\n#curl &quot;https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip&quot; -o ~\/awscliv2.zip\r\ncurl &quot;https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64-2.13.4.zip&quot; -o ~\/awscliv2.zip\r\nunzip ~\/awscliv2.zip\r\nsudo ~\/aws\/install\r\naws --version\r\n\r\ngit clone https:\/\/github.com\/tfutils\/tfenv.git ~\/.tfenv\r\necho 'export PATH=&quot;$HOME\/.tfenv\/bin:$PATH&quot;' &gt;&gt; ~\/.bash_profile\r\nsource ~\/.bash_profile\r\ntfenv list-remote | head -5\r\ntfenv install 1.5.2\r\ntfenv list &gt;&gt; cloud9_create.log\r\ntfenv use 1.5.2\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>AWS Cloud 9\u306e\u74b0\u5883\u3092\u6574\u3048\u308b\u30b7\u30a7\u30eb\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002Cloud 9\u306e\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u305f\u3073\u306b\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001CodeCommit\u306a\u3069\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u767b\u9332\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/12112\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011AWS\u3092\u64cd\u4f5c\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/eyecatch_aws_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011AWS\u3092\u64cd\u4f5c\u3059\u308b\uff01<\/div><div class=\"substr\">AWS\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS Cloud 9\u306eAWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304cv1\u306e\u307e\u307e\u306a\u306e\u3067\u3001v2\u306b\u5909\u66f4\u3057\u307e\u3059\u3002 AWS CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092v2\u306b\u5909\u66f4\u3059\u308b\u30b7\u30a7\u30eb\u3092\u4f5c\u6210\u3059\u308b\uff01 AWS Cloud 9\u306e\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u305f\u3073\u306b\u5fc5\u8981\u3068\u306a\u308b\u4f5c\u696d\u306a\u306e\u3067\u3001\u30b7\u30a7\u30eb\u5316\u3057\u307e\u3059\u3002AWS\u2026<\/p>\n","protected":false},"author":1,"featured_media":8172,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[370],"tags":[288,353,759,852,683],"class_list":["post-13372","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operation","tag-aws","tag-aws-cli","tag-cloud9","tag-v2","tag-683"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=13372"}],"version-history":[{"count":2,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13372\/revisions"}],"predecessor-version":[{"id":13384,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13372\/revisions\/13384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/8172"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=13372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=13372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=13372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}