Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Paiza CloudとVS Codeで快適な環境を作ろう! / Let's create a...
Search
Hiroyuki Mito
August 28, 2019
Programming
0
670
Paiza CloudとVS Codeで快適な環境を作ろう! / Let's create a comfortable development environment with Paiza Cloud and Visual Studio Code !
プログラミング学習で躓きやすい環境構築。Paiza CloudとVisual Studio Codeで手軽に使いやすいリモート開発環境を構築します。ローカルを汚したくないという方にも最適です。
Hiroyuki Mito
August 28, 2019
Tweet
Share
More Decks by Hiroyuki Mito
See All by Hiroyuki Mito
見直したいテーブル設計
hiroyukimito
0
95
PHPDocを活用する
hiroyukimito
0
75
Ruby以外から始めるエンジニア生活 PHP(Laravel)版 / Let's start an engineer other than Ruby !! PHP ver.
hiroyukimito
0
450
Other Decks in Programming
See All in Programming
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
310
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Basic Architectures
denyspoltorak
0
680
CSC307 Lecture 02
javiergs
PRO
1
780
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
AgentCoreとHuman in the Loop
har1101
5
240
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
30 Presentation Tips
portentint
PRO
1
220
Six Lessons from altMBA
skipperchong
29
4.2k
HDC tutorial
michielstock
1
390
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
66
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Transcript
Paiza CloudとVS Codeで 快適な環境を作ろう! ー簡単、超速、高機能ー
PaizaCloud+VisualStudioCodeのメリット 1.ローカル環境を汚さない 2.Visual Studio Codeの補完機能が使用できる 3.拡張機能を使用することができる 4?イケてる気持ちになれる!
事前準備 手元のLinux、Mac、Windowsがインストールされた端末に “Visual Studio Code”をインストールしましょう! azure.microsoft.com/ja-jp/products/visual-studio-code/ VPNは使えませんので使用している場合は切ります。 ※セキュアな環境で行いましょう
①PaizaCloudへ登録し、コンテナを作成 PiazaCloudに会員登録をしましょう! 試すだけなら無料でも出来ます。 ※無料プランは24時間で環境削除 登録をしたら右のようになるので、 言語やFW、データベース等を選択し、 「新規サーバーを作成」をクリック! ※常時起動はベーシックプランのみ。
②sshのキーを作成 $ ssh-keygen Enter...Enter… Enter… $ cat ~/.ssh/id_rsa.pub
③PaizaCloudに接続出来るようにする メニューから “SSH設定”を開く 公開鍵を貼り付けて “Save”ボタンを クリック メニュータブからSSH設定
④VS Codeに拡張機能を追加する MS謹製の“Remote Development”を使用します。 メニューバーの赤い丸から“Extensions”を開き 検索窓から探してインストールしましょう!
④VS Codeに拡張機能を追加する 青い丸の中にあるアイコンは 追加されていますか? 赤い丸の中のメニューバーの 左下は緑色(中が“><”)に なりましたか?
⑤SSHの設定を行う F1キーでコマンドパレットを開き、 “Remote-SSH: Open Configuration File” を実行しましょう。
⑤SSHの設定を行う ファイルの場所は Win: C:\Users\ユーザー\.ssh\config Mac: /Users/ユーザー名/.ssh/config Host お好きな名前 HostName SSHコマンドで出てきた
.paiza-user.cloud User ubuntu(ユーザー名) Port SSHコマンドから-pの後の数値 IdentityFile 秘密鍵の保存先 ~/.ssh/id_rsa 再びコマンドパレットから“Remote-SSH: Connect to Host”を実行します
⑥接続確認! さあ、最終確認です!ターミナルを立ち上げて作業します $ uname -a $ php -v(ruby -v, python
-v)と打ち込んでみましょう!
これで全て完了です! VS Codeに好みの 拡張機能を追加する等して 使い倒しましょう!! 他のCloud IDEや 各社のVPSでも 同じことが可能です