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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
150
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
520
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
240
Premier Disciplin for Micro Frontends Multi Version/ Framework Scenarios @OOP 2026, Munic
manfredsteyer
PRO
0
200
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
340
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
510
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
200
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
230
CSC307 Lecture 11
javiergs
PRO
0
590
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
110
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
210
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
890
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Building the Perfect Custom Keyboard
takai
2
710
How to train your dragon (web standard)
notwaldorf
97
6.5k
Designing Experiences People Love
moore
143
24k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
190
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
200
Information Architects: The Missing Link in Design Systems
soysaucechin
0
810
GitHub's CSS Performance
jonrohan
1032
470k
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でも 同じことが可能です