Azure Virtual Machines extension for Visual Studio Code
Перейти к файлу
alexweininger a2dabd9997 fix vm names 2021-08-23 16:14:36 -05:00
.azure-pipelines Bump VS Code and Node.js version (#271) 2021-08-16 13:52:38 -07:00
.github Switch to new bots 🤖 (#213) 2021-02-10 14:54:14 -08:00
.vscode Switch to ESLint (#242) 2021-05-14 07:39:43 -07:00
resources Use VS Code's product icon theme (#230) 2021-04-08 11:20:25 -07:00
src Fix suse image 2021-08-23 16:03:17 -05:00
test fix vm names 2021-08-23 16:14:36 -05:00
.eslintignore Switch to ESLint (#242) 2021-05-14 07:39:43 -07:00
.eslintrc.js Switch to shared ESLint config (#270) 2021-08-12 11:39:19 -07:00
.gitignore Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
.vscodeignore Switch to ESLint (#242) 2021-05-14 07:39:43 -07:00
CHANGELOG.md Changelog & version bump (#272) 2021-08-18 18:02:09 -04:00
CODE_OF_CONDUCT.md Add Code of Conduct and Security docs from template (#232) 2021-04-14 10:56:55 -07:00
LICENSE.md Add vm-extension code 2019-10-22 14:02:59 -07:00
NOTICE.html Prep for release (#243) 2021-05-12 11:57:56 -07:00
README.md Depend on resource groups extension (#216) 2021-02-17 14:53:08 -08:00
SECURITY.md Add Code of Conduct and Security docs from template (#232) 2021-04-14 10:56:55 -07:00
SUPPORT.md Add support.md file (#269) 2021-08-06 16:51:08 -07:00
extension.bundle.ts Tests working 2021-08-20 18:55:20 -05:00
gulpfile.ts Switch to ESLint (#242) 2021-05-14 07:39:43 -07:00
main.js Easier debugging in a webpacked world 🕸📦🌎 (#92) 2020-03-17 15:48:41 -07:00
package-lock.json Changelog & version bump (#272) 2021-08-18 18:02:09 -04:00
package.json Changelog & version bump (#272) 2021-08-18 18:02:09 -04:00
package.nls.json Use "Report Issue" command (#214) 2021-02-16 17:57:06 -08:00
tsconfig.json Update to new azure-sdk-for-js (#130) 2020-08-06 11:13:33 -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

ConnectToHost

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.
    • Run "Extensions: Show Recommended Extensions" from the command palette and install all extensions listed under "Workspace Recommendations"
    • 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