Azure Virtual Machines extension for Visual Studio Code
Перейти к файлу
nturinski 457e119c3a Restart for running only 2021-01-13 15:06:11 -08:00
.azure-pipelines Convert any mention of master to main in repos we maintain (#169) 2020-09-01 11:47:41 -07:00
.github Change codeowners to smaller team (#35) 2020-02-21 16:35:59 -08:00
.vscode Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
resources Update readme 📚 with current experience (#80) 2020-03-05 09:12:41 -08:00
src Restart for running only 2021-01-13 15:06:11 -08:00
test Update to new azure-sdk-for-js (#130) 2020-08-06 11:13:33 -07:00
.gitignore Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
.vscodeignore Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
CHANGELOG.md Changes for release (#167) 2020-08-27 14:52:10 -07:00
CODE_OF_CONDUCT.md Initial commit 2019-08-12 08:40:58 -07:00
LICENSE.md Add vm-extension code 2019-10-22 14:02:59 -07:00
NOTICE.html Changes for release (#167) 2020-08-27 14:52:10 -07:00
README.md Filter SSH commands from Windows VMs context menu 2021-01-05 12:30:28 -05:00
extension.bundle.ts Add vm-extension code 2019-10-22 14:02:59 -07:00
gulpfile.ts Exclude dev sections from marketplace page (#159) 2020-08-26 13:49:35 -07:00
main.js Easier debugging in a webpacked world 🕸📦🌎 (#92) 2020-03-17 15:48:41 -07:00
package-lock.json Use ssh-config package (#189) 2021-01-07 14:26:15 -08:00
package.json Restart for running only 2021-01-13 15:06:11 -08:00
package.nls.json Add option to open in Remote-SSH (#190) 2021-01-12 10:13:46 -08:00
tsconfig.json Update to new azure-sdk-for-js (#130) 2020-08-06 11:13:33 -07:00
tslint.json Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
webpack.config.js Remove getCoreNodeModules, it is not needed (#42) 2020-02-21 16:52:15 -08:00

README.md

Azure Virtual Machines for Visual Studio Code (Preview)

Version Installs Build Status GitHub

Create and manage Azure Virtual Machines directly from VS Code.

Sign up today for your free Azure account and receive 12 months of free popular services, $200 free credit and 25+ always free services 👉 Start Free.

Installation

  1. Download and install the Azure Virtual Machines extension for Visual Studio Code
  2. Once complete, you'll see an Azure icon in the Activity Bar

    If your activity bar is hidden, you won't be able to access the extension. Show the Activity Bar by clicking View > Appearance > Show Activity Bar

  3. Sign in to your Azure Account by clicking Sign in to Azure

    If you don't already have an Azure Account, click "Create a Free Azure Account" or you can try Azure for free

Features

  • View, create, delete, start, and stop Azure Virtual Machines
  • Add SSH key to existing Azure Virtual Machines

Create a New Virtual Machine

Once you are signed in, you can create your Azure Virutal machine by clicking the "+" button or by right-clicking your subscription.

CreateVirtualMachine

  1. Choose Create Virtual Machine
  2. Type a name for your VM. Alphanumeric characters are all valid.
  3. Type a passphrase or leave it empty for no passphrase.

    For security reasons, it's highly recommended that you use a passphrase for your SSH key. It is what will be used to connect to your VM via SSH.

The VM will be Standard D2s V3 (2 CPU Cores & 8 GB of ram) with the image Ubuntu 18.04-LTS. An SSH key will be created and your SSH Config file (~/.ssh/config) will be updated so you can immediately connect via SSH ($ ssh vm-name) or using the Remote-SSH extension.

Add SSH key to existing Virtual Machine

If you have an existing VM that you would like to add your own SSH key too, you can do that by right-clicking the VM tree item, clicking Add SSH Key..., and selecting an existing SSH key. You can generate an SSH key using SSH Keygen if you don't have any keys on your system.

Your SSH Config (~/.ssh/config) file will be updated so you can connect via SSH using $ ssh vm-name.

NOTE: This command is only available for Linux virtual machines.

AddSSHKey

Remote into Azure VM via SSH

NOTE: This command is only available for Linux virtual machines.

Contributing

There are a couple of ways you can contribute to this repo:

  • Ideas, feature requests and bugs: We are open to all ideas and we want to get rid of bugs! Use the Issues section to either report a new issue, provide your ideas or contribute to existing threads.
  • Documentation: Found a typo or strangely worded sentences? Submit a PR!
  • Code: Contribute bug fixes, features or design changes:
    • Clone the repository locally and open in VS Code.
    • Install TSLint for Visual Studio Code.
    • Open the terminal (press CTRL+`) and run npm install.
    • To build, press F1 and type in Tasks: Run Build Task.
    • Debug: press F5 to start debugging the extension.

Before we can accept your pull request you will need to sign a Contribution License Agreement. All you need to do is to submit a pull request, then the PR will get appropriately labelled (e.g. cla-required, cla-norequired, cla-signed, cla-already-signed). If you already signed the agreement we will continue with reviewing the PR, otherwise system will tell you how you can sign the CLA. Once you sign the CLA all future PR's will be labeled as cla-signed.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

License

MIT