Guide for deploying Jobs or Services to Mizrosoft Azure.
This guide will walk you through the process of creating a service principal in Azure that you can use with Outpost.
PREREQUISITES
Console tab on the Azure Portal
1export SUBSCRIPTION_ID=$(az account show | jq -r ".id")
2az ad sp create-for-rbac --name outpost-sp \
3 --role owner \
4 --scopes /subscriptions/$SUBSCRIPTION_ID
Failed to connect to MSI. Please make sure MSI is configured correctly. after running the command
, try logging in again by running az login and follow the instructions.After running the command, the Service Principal will be created, and you'll see credentials like these:
1{
2 "appId": "aaaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
3 "displayName": "outpost-sp",
4 "password": "aaaa~~bbbbbbbbbbbbbbbbbbbbbbbbb_ccccccc",
5 "tenant": "aaaaaaaa-bbbb-cccc-dddd-eeeeffff"
6}
Copy the output from Step 2 and store it in a JSON file on your local machine.
New secret
, choose Azure
, and then upload or add the Service Principal JSON file.That's it! You're now ready to deploy your workloads on Azure through Outpost. To get started, check out the guides for Jobs or Services.