{"id":571,"date":"2019-08-30T19:00:00","date_gmt":"2019-08-30T10:00:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2019\/08\/30\/cloud9-with-vscode"},"modified":"2019-08-30T19:00:00","modified_gmt":"2019-08-30T10:00:00","slug":"cloud9-with-vscode","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2019\/08\/30\/cloud9-with-vscode\/","title":{"rendered":"Cloud9\u74b0\u5883\u306e\u30b3\u30fc\u30c9\u3092Visual Studio Code\u3067\u7de8\u96c6\u3057\u305f\u304f\u306a\u3063\u305f\u6642\u306e\u8a2d\u5b9a\u65b9\u6cd5"},"content":{"rendered":"

\u897f\u85e4\u3067\u3059\u3002<\/p>\n

\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u3067\u7d71\u5408\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u308bCloud9\u3068\u3044\u3046AWS\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3046\u3053\u3068\u306b\u3088\u308a\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u624b\u3092\u5165\u308c\u308b\u3053\u3068\u306a\u304f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u307f\u3067\u30b3\u30fc\u30c9\u306e\u7de8\u96c6\u304b\u3089\u52d5\u4f5c\u78ba\u8a8d\u307e\u3067\u3072\u3068\u3068\u304a\u308a\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u305f\u3060\u3057\u3001\u305d\u3053\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u5165\u529b\u88dc\u5b8c\u306a\u3069\u5404\u6a5f\u80fd\u306f\u5145\u5b9f\u3057\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3067\u3082\u4f7f\u3044\u6163\u308c\u305f\u30a8\u30c7\u30a3\u30bf\u30fc\u305d\u306e\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u5fae\u5999\u306b\u64cd\u4f5c\u306b\u6163\u308c\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u3048\u307e\u3059\u3002<\/p>\n

\u4eca\u56de\u306fCloud9\u4e0a\u306b\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3064\u3064\u3001\u30b3\u30fc\u30c9\u306fVisual Studio Code\uff08\u4ee5\u4e0b\u3001VS Code\uff09\u3067\u7de8\u96c6\u3057\u305f\u304f\u306a\u3063\u305f\u6642\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n

1. Cloud9\u306e\u8a2d\u5b9a<\/h2>\n

\u3053\u3061\u3089\u306b\u3064\u3044\u3066\u306f\u8a73\u7d30\u306f\u5272\u611b\u3044\u305f\u3057\u307e\u3059\u3002AWS\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u753b\u9762\u304b\u3089Cloud9\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u4eca\u56de\u306f cloud9test<\/code> \u3068\u3044\u3046\u74b0\u5883\u3092\u4f5c\u3063\u305f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n

\"\"<\/p>\n

Cloud9\u74b0\u5883\u304c\u3067\u304d\u4e0a\u304c\u3063\u305f\u3089\u3001\u691c\u8a3c\u7528\u306btest.html<\/code>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092Cloud9\u304b\u3089\u7de8\u96c6\u3057\u3066\u4fdd\u5b58\u3057\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u3053\u308c\u3092VS Code\u3067\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u4eca\u56de\u306e\u30b4\u30fc\u30eb\u3067\u3059\uff09<\/p>\n

\"\"<\/p>\n

2. Cloud9\u7528\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u5909\u66f4<\/h2>\n

\u5f8c\u8ff0\u3059\u308b\u62e1\u5f35\u6a5f\u80fd\u3067VS Code\u304b\u3089Cloud9\u74b0\u5883\u306b\u63a5\u7d9a\u3059\u308b\u969b\u306b\u306fSSH\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067\u306f\u901a\u4fe1\u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
\n\u305d\u306e\u305f\u3081\u3001 cloud9test<\/code>\u7528\u306b\u4f5c\u6210\u3055\u308c\u305fEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u76f4\u63a5\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n

\"\"<\/p>\n

\u4eca\u56de\u306f\u81eaPC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308c\u3070\u3044\u3044\u306e\u3067\u3001SSH\u306e\u300c\u30de\u30a4IP\u300d\u3067\u4eca\u4f7f\u3063\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u74b0\u5883\u304b\u3089\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\uff08\u5143\u304b\u3089\u3042\u308b\u8a2d\u5b9a\u306f\u6d88\u3055\u306a\u3044\u3088\u3046\u306b\uff09<\/p>\n

\"\"<\/p>\n

3. "Remote - SSH" \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n

Cloud9\u74b0\u5883\u306e\u4f5c\u6210\u30fb\u6e96\u5099\u304c\u3059\u307f\u307e\u3057\u305f\u3089\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u6e96\u5099\u3092\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n

VS Code\u304b\u3089Cloud9\u74b0\u5883\u306b\u63a5\u7d9a\u3059\u308b\u306b\u306fMicrosoft\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308bRemote - SSH<\/code>\u3068\u3044\u3046\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3044\u307e\u3059\u3002
\nMarketplace\u304b\u3089\u691c\u7d22\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\uff08\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u306b\u3064\u304d\u5c0e\u5165\u306f\u81ea\u5df1\u8cac\u4efb\u306b\u3066\u304a\u9858\u3044\u3057\u307e\u3059\uff09<\/p>\n

\"\"<\/p>\n

4. \u8a8d\u8a3c\u9375\u306e\u767a\u884c<\/h2>\n

\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u5148\u307b\u3069\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u7de8\u96c6\u3057\u3066\u8a31\u53ef\u3057\u305fSSH\u63a5\u7d9a\u3059\u308b\u969b\u306b\u4f7f\u3046\u8a8d\u8a3c\u9375\u3092\u767a\u884c\u3057\u307e\u3059\u3002<\/p>\n

\u4eca\u56de\u306f
\n~\/.ssh\/<\/code>\u914d\u4e0b\u306b<\/p>\n

    \n
  • \u79d8\u5bc6\u9375\uff1acloud9test<\/li>\n
  • \u516c\u958b\u9375\uff1acloud9test.pub<\/li>\n<\/ul>\n

    \u3092\u6e96\u5099\u3057\u305f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n

    5. config\u306e\u7de8\u96c6<\/h2>\n

    \u8a8d\u8a3c\u9375\u3092\u6e96\u5099\u3057\u307e\u3057\u305f\u3089\u3001\u5148\u307b\u3069\u306ecloud9test<\/code>\u7528\u306b\u4f5c\u6210\u3055\u308c\u305fEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3078\u63a5\u7d9a\u3059\u308b\u7528\u305f\u3081\u306b~\/.ssh\/config<\/code>\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002
    \nRemote - SSH<\/code>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u3068config\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u753b\u9762\u3092\u3059\u3050\u306b\u958b\u3051\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n

    \"\"<\/p>\n

    config\u30d5\u30a1\u30a4\u30eb\u306e\u5fc5\u8981\u4e8b\u9805\u3092\u8a18\u8f09\u3057\u3001CONNECTIONS<\/code>\u306e\u4e00\u89a7\u306b\u8ffd\u52a0\u3057\u305fHost\u540d\u304c\u8868\u793a\u3055\u308c\u308c\u3070OK\u3067\u3059\u3002<\/p>\n

    6. \u516c\u958b\u9375\u306e\u767b\u9332<\/h2>\n

    \u6700\u5f8c\u306b\u3001SSH\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u516c\u958b\u9375\u306e\u767b\u9332\u304c\u5fc5\u8981\u306a\u306e\u3067Cloud9\u4e0a\u3067authorized_keys<\/code>\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n

    \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067\u306fCloud9\u74b0\u5883\u4e0a\u306eauthorized_keys<\/code>\u3092\u898b\u308c\u306a\u3044\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u306e\u753b\u9762\u306b\u3042\u308b\u8a2d\u5b9a\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066Show Home in Favorites<\/code>\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5185\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n

    \"\"<\/p>\n

    \u305d\u3057\u3066\u3001~\/.ssh\/authorized_keys<\/code>\u3092\u958b\u304f\u3068
    \n\u3053\u3053\u304b\u3089\u4e0b\u306b\u8ffd\u52a0\u3057\u305f\u3044\u30ad\u30fc\u60c5\u5831\u8ffd\u52a0\u305b\u3088\uff08Add any additional keys below this line<\/code>\uff09\u3068\u3042\u308b\u90e8\u5206\u306e\u4e0b\u306b\u3001\u5148\u307b\u3069\u751f\u6210\u3057\u305fSSH\u63a5\u7d9a\u7528\u306e\u516c\u958b\u9375cloud9test.pub<\/code>\u306e\u5185\u5bb9\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n

    \u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n

    \"\"<\/p>\n

    \u305d\u3046\u3059\u308b\u3068\u6e96\u5099\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n

    7. Remote - SSH\u3092\u4f7f\u3063\u3066Cloud9\u74b0\u5883\u306b\u63a5\u7d9a<\/h2>\n

    Remote - SSH<\/code> \u306e\u753b\u9762\u3092\u958b\u304d\u3001cloud9test<\/code>\u306e\u30db\u30b9\u30c8\u540d\u306e\u6a2a\u306b\u3042\u308b\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/p>\n

    \"\"<\/p>\n

    \u63a5\u7d9a\u306b\u6210\u529f\u3059\u308b\u3068\u65b0\u3057\u3044\u30a6\u30a4\u30f3\u30c9\u30a6\u304c\u958b\u304d\u3001\u5de6\u4e0b\u306b\u306fcloud9test<\/code>\u306e\u8868\u793a\u304c\u51fa\u307e\u3059\u3002
    \n\u305d\u3057\u3066\u3001\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304f<\/code>\u3067Cloud9\u4e0a\u3067\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u304b\u308c\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n

    \"\"<\/p>\n

    \u305d\u3046\u3059\u308b\u3068\u3001Cloud9\u4e0a\u3067\u7de8\u96c6\u3057\u305ftest.html<\/code>\u304c\u8868\u793a\u3055\u308c\u3001\u7de8\u96c6\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002
    \n\"\"<\/p>\n

    \u4ee5\u4e0a\u304c\u30ed\u30fc\u30ab\u30eb\u306eVS Code\u304b\u3089Cloud9\u74b0\u5883\u4e0a\u306e\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b\u307e\u3067\u306e\u624b\u9806\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n

    \u3053\u306e\u74b0\u5883\u306e\u305f\u3081\u306bVS Code\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u8db3\u3059\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u3067\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3092\u6c5a\u3055\u305a\u306b\u3001\u304b\u3064\u3075\u3060\u3093\u4f7f\u3044\u306e\u64cd\u4f5c\u611f\u3067Cloud9\u4e0a\u306e\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/p>\n

    \u30d6\u30e9\u30a6\u30b6\u3067\u5b8c\u7d50\u3067\u304d\u308bCloud9\u306e\u74b0\u5883\u3092\u4f5c\u3063\u305f\u306e\u306b\u3001VS Code\u3067\u7de8\u96c6\u3057\u305f\u3044\u3068\u3044\u3046\u306e\u306f\u30ec\u30a2\u30b1\u30fc\u30b9\u3067\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3001\u305d\u308c\u305e\u308c\u306e\u7de8\u96c6\u74b0\u5883\u3092\u4f7f\u3044\u5206\u3051\u3057\u305f\u3044\u3068\u3044\u3046\u6642\u306b\u5f79\u7acb\u3066\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u897f\u85e4\u3067\u3059\u3002 \u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u3067\u7d71\u5408\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u308bCloud9\u3068\u3044\u3046AWS\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3046\u3053\u3068\u306b\u3088\u308a\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u624b\u3092\u5165\u308c\u308b\u3053\u3068\u306a\u304f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u307f\u3067\u30b3\u30fc\u30c9\u306e\u7de8\u96c6\u304b\u3089\u52d5\u4f5c\u78ba\u8a8d\u307e\u3067\u3072\u3068\u3068\u304a\u308a\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002 \u305f\u3060\u3057\u3001\u305d\u3053\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u5165\u529b\u88dc\u5b8c\u306a\u3069\u5404\u6a5f\u80fd\u306f\u5145\u5b9f\u3057\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3067\u3082\u4f7f\u3044\u6163\u308c\u305f\u30a8\u30c7\u30a3\u30bf\u30fc\u305d\u306e\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u5fae\u5999\u306b\u64cd\u4f5c\u306b […]<\/p>\n","protected":false},"author":6,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/571"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":0,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}