Azure Virtual Machines extension for Visual Studio Code
Перейти к файлу
Alex Weininger 8a6cd1c126
Update release pipeline (#431)
2024-10-04 16:24:03 -04:00
.azure-pipelines Update release pipeline (#431) 2024-10-04 16:24:03 -04:00
.github Add the main yml to run node PR lint, build, and test (#419) 2024-07-05 11:06:54 -07:00
.husky Add sort pre-commit hook (#284) 2021-10-01 13:35:30 -07:00
.vscode Update long running tests check (#418) 2024-07-05 16:41:36 -04:00
resources v0.6.0 App Centric Release prep (#326) 2022-05-24 09:37:32 -04:00
src Update `eslint-config` to enforce import types (#403) 2023-12-08 10:03:48 -08:00
test Update long running tests check (#418) 2024-07-05 16:41:36 -04:00
.eslintignore Skip test suite to enable CodeQL build (#361) 2022-11-16 13:58:43 -08:00
.eslintrc.js Switch to shared ESLint config (#270) 2021-08-12 11:39:19 -07:00
.gitattributes Create .gitattributes (#369) 2023-01-26 09:20:02 -08:00
.gitignore Engineering work to make our repos more consistent 👷🏻‍ (#96) 2020-04-01 14:53:32 -07:00
.nvmrc Update `.nvmrc` to 18.15 and update VS Code version to match (#409) 2024-02-26 12:39:18 -08:00
.vscodeignore Switch to ESLint (#242) 2021-05-14 07:39:43 -07:00
CHANGELOG.md v0.6.6 Release prep (#428) 2024-10-04 13:58:35 -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 Update NOTICE file (#430) 2024-10-04 11:16:16 -07:00
README.md Fix readme badges (#352) 2022-10-18 14:27:45 -04: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 Use shared nonNull utils (#343) 2022-07-20 10:23:38 -07:00
gulpfile.ts Skip test suite to enable CodeQL build (#361) 2022-11-16 13:58:43 -08:00
main.js Easier debugging in a webpacked world 🕸📦🌎 (#92) 2020-03-17 15:48:41 -07:00
package-lock.json v0.6.6 Release prep (#428) 2024-10-04 13:58:35 -04:00
package.json v0.6.6 Release prep (#428) 2024-10-04 13:58:35 -04:00
package.nls.json Merge unified into main (#320) 2022-05-13 14:39:13 -07:00
tsconfig.json Enable all strict type checking options (#360) 2022-11-11 09:30:59 -08:00
webpack.config.js Move to Track 2 SDKs (#386) 2023-06-12 17:01:24 -07: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

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

CreateVirtualMachine

  1. Select "Create Virtual Machine..."

CreateVirtualMachine

  1. Type a name for your VM. Alphanumeric characters are all valid.
  2. 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.

Add SSH Key

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