This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure is a cloud platform that provides a full range of hosting options and cloud-based services. If you're new to cloud development, learn more about Azure:
Azure fully supports modern JavaScript development, including:
Azure runtime support for JavaScript also supports TypeScript or any other language that transpiles to JavaScript. The Azure SDK for JavaScript is written in TypeScript and includes type definitions to provide excellent IDE support and type safety.
Azure cloud-based services provide a wide variety of features that you can use independently or as a collection.
Top service categories for JavaScript developers include:
Hosting and Compute
Data and Storage
AI and Cognitive Services
Developer Tools
AI and Developer Tools
When you start learning the Azure cloud, create an account for free, then go to the Quickstart Center in the Azure portal.
Each service's page on the Azure portal includes connection information you need to access your resource outside of the portal.
Pricing tiers determine how you pay for your resource. Use the Azure pricing calculator to understand billing for your resource.
When you select the free (F0) pricing tier, understand the limitations that come with that plan. When a free tier is offered:
For the best development experience, set up your development environment with the following tools:
To use Azure services programmatically with JavaScript, find the npm package specific to the service you want to use. Each npm package has service-specific connection information.
All Azure client libraries run with JavaScript without any other tooling. While most modern SDKs are written in TypeScript and provide the *.d.ts file for type checking, TypeScript isn't a requirement to use the Azure client libraries or the Azure cloud services.
Your JavaScript code can use Azure services, regardless of where your code is hosted (local, hybrid, cloud). The recommended way to use Azure services programmatically with JavaScript is the Azure client libraries. These libraries expect a minimum Node.js with Long-term support (LTS).
The Azure SDK for JavaScript provides libraries that make it easy to consume and manage Azure services. Browse the complete Azure SDK library package index to find the packages you need.
Key features include:
Azure services regularly update their Node.js runtime support. Always use Long-Term Support (LTS) versions of Node.js for production applications.
For current Node.js version support across Azure services and best practices for Node.js deployment, see:
Best practices include pinning your Node.js version, using LTS versions, and monitoring for security vulnerabilities.
When using Azure hosting services, you can select either to deploy a container to the host or select a Node.js version as the runtime for the host. In both cases, you need to align the version of the runtime, the application code, and the dependencies such as the Azure SDKs.
To find runtime information, use the following table:
Service
Version information
For Linux runtimes. You can also run the following Azure CLI command to see all supported versions.
New projects should use the most recent programming model.
There are two different runtimes to consider: the front end and the API if you are hosting your API in Static Web Apps.
The SWA CLI provides development environment functionality including proxy, authentication, and other configurations.
Hosting options allow you to quickly use Azure for your application. The following hosting quickstarts and tutorials guide you to the most common Azure first day experience:
Was this page helpful?
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?