Use Infrastructure as Code and Pulumi to provision Azure resources

Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which folder should I open in Visual Studio Code to work on the project?
Open the azure-aci directory and run code . from that folder. This loads the TypeScript project and its Pulumi files in Visual Studio Code.
What files should I see to confirm that the Pulumi TypeScript project is set up?
You should see Pulumi.yaml and a Node.js layout with package.json and node_modules. The program entry point index.ts is where you’ll define Azure resources.
What do I change in `index.ts`?
Replace the original contents with the provided code that imports @pulumi/azure-native/resources and @pulumi/azure-native/containerinstance, creates a resource group named rg-arm64-iac, and defines a container group using the sample image mcr.microsoft.com/dotnet/samples:aspnetapp. Save the file before running the deployment.
How do I know that the deployment worked?
After Pulumi applies the changes, a new resource group named rg-arm64-iac and a container instance are created in your subscription. You can confirm that the deployment worked by checking the resource group and container instance in the Azure Portal.
Do I need to build or push a Docker image?
No. The example uses the public image mcr.microsoft.com/dotnet/samples:aspnetapp referenced in index.ts, so no local image build or registry push is required.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing