Registering a Microsoft Azure Account within PBScloud.io
Overview
Learn how to create a Microsoft Azure account and register it as a cloud account within PBScloud.io. After registration, you can deploy HPC appliances within your Microsoft Azure account.
Prerequisites
- Login credentials for Microsoft Azure account
- Tenant ID
- Subscription ID
- Login credentials for PBScloud.io account
Part 1: Obtaining Azure Subscription ID
- Login in to your Microsoft Azure account
- In the Azure dashboard panel, click Cost Management + Billing
- In BILLING ACCOUNT, click Subscriptions, under Other subscriptions
- Locate and click your subscription to view further details.
- Hover over the Subscription ID and click the copy button when it appears.
- Store the Subscription ID value to a file to be used later in PBScloud.io.
Part 2: Obtaining your Tenant ID
- In the Azure dashboard toolbar, click the Help icon (?) and select Show diagnostics
- A file called PortalDiagnostics.json will be downloaded
- Using any text editor, open this .json file and search for tenantId
- Store the value of the tag to a file to be used later in PBScloud.io
Part 3: Registering PBScloud.io to Your Azure Active Directory
- In the Azure Dashboard panel, click Azure Active Directory
- In the Azure Active Directory* panel, under MANAGE, click App registrations
- Click New application registration
- In the Create panel, enter the following:
- Name - enter name of the application (e.g. pbscloud_training)
- Application type select Web app / API
- Sign-on URL - enter the PBScloud.io URL, http://app.pbscloud.io
- Verify the information and click Create
- The application will be listed under DISPLAY NAME
Part 4: Obtaining Your Keys
- In the App registrations panel, search for the new application you registered (i.e. pbscloud_training)
- Click the application name
- In the Settings panel, click on Keys
- In the Keys panel, enter the following:
- DESCRIPTION - enter pclm
- EXPIRES - select Never Expires
- VALUE - enter pclm
- Verify the information and click Save
- A key value will be created, save this key since it will not be available later
Part 5: Assigning Azure User to a Defined Role
- In the Azure Dashboard panel, click More services
- Locate and click Subscriptions
- In the Subscrptions panel, under SUBSCRIPTION column, select your organization
- A sub-panel will appear, select Access control (IAM)
- Click Add
- In the Add permissions panel, select the following
- Role = Owner
- Assign access to = Azure AD user, group, or application
- Select = search for the application you just created (i.e. pbscloud_training)
- Click Save
Part 6: Creating a Cloud Account in PBScloud.io
- Open a web browser and navigate to http://app.pbscloud.io website
- Enter your Username (minimum length of six characters)
- Enter your Password (must contain at least one digit)
- Click Sign In
- Select Infrastructure and select Cloud
- In the Infrastructure/Cloud Accounts page, click Add Account
- In the dialog box, select the following:
- Provider -select Microsoft Azure Cloud Services
- Account name - enter ‘any name you wish you enter’
Example: pbscloud_training
- Client ID - enter ‘Application ID from Azure’
Example: 1fe8waad-7bdc-473a-9034-2baee5212d46
- Secret Key - enter ‘key from the one you created from Part Four, step 6’
Example: XYqHSe/P5z/FR6lxujOXs4kdbxug9ty/qlLEtta86oQ=
- AD tenant ID - enter ‘enter the tenant id value from Part Two, step 5’
Example: 2bak2q57-0eb8-48fb-dc21-9908109da89d2
- Subscription ID - enter ‘enter your Microsoft Azure subscription id’
Example: 08babcfc-fefc-4571-8203-f6a89412345e
- Verify all the information and click Create account
- After creation, the account will appear in the Infrastructure/Cloud Accounts page in the Account Name column
About Your Credentials
PBScloud.io needs credentials with Administrator rights to perform necessary actions.