FAQ : AC 5.x Professional Marketplace Deployment
1. How do I add environment variables to the WebRunner microservice in AC 5.x Professional?
Answer: In the configuration settings of the WebRunner microservice:
Add the environment variable MARKETPLACE_SERVICE_URL.
Example:
https://<your_web_app_name>.azurewebsites.net
Ensure that the microservice is restarted if required for the changes to take effect.
2. What is the first step to deploying infrastructure in Azure?
The first step is to create a Resource Group in Azure, ensuring that all required tags are assigned. Tags help organize resources for cost management and access control.
3. How do I create an App Service Plan in Azure?
To create an App Service Plan, follow these steps:
Define required tags.
Once created, verify the overview information for the App Service Plan.
Assign appropriate resources like a Web App to the plan.
4. What are the steps to create a Web App?
You can create a Web App in Azure by following these steps:
Define the Name, Publish Type, Runtime Stack, Java Web Server Stack, OS, and Region.
Select the pricing plan recommended by your product team.
Configure the GitHub account from which the image will be pulled.
Set networking options (keep public access "ON" and Network Injection "OFF").
Configure the monitoring options for Application Insights.
Assign tags for organization.
5. How do I set up a Virtual Network in Azure?
Create a Virtual Network and assign required subnets to provide secure and isolated network spaces for different components.
6. How do I create a MySQL Database in Azure?
To create a MySQL Database:
Define the necessary configuration parameters (e.g., database version, size, performance requirements).
Use private endpoint settings to ensure secure access.
7. What is a Private Endpoint, and how do I configure it?
A Private Endpoint in Azure provides secure and private access to resources like MySQL databases and storage accounts. It ensures that access is limited to specific subnets within your network, enhancing security by avoiding public internet exposure.
8. How do I create and configure a Storage Account in Azure?
To create a Storage Account:
Select the storage type and access level.
Configure a Private Endpoint to secure access.
9. What is the Azure App Service Kudu Console, and how do I use it?
The Kudu Console is a tool provided in Azure App Services that allows developers to interact with the file system, environment variables, and process running on the web server. It is used for troubleshooting and configuration management.
10. What is an API Management Service in Azure?
Azure’s API Management Service enables you to manage and secure APIs. This service acts as a gateway between clients and the marketplace backend, ensuring secure API interactions.
11. How do I configure environment variables for the marketplace service?
In Azure App Service, configure the following environment variables:
BACKEND_DB_URL
: The connection string for the backend MySQL database.BACKEND_DB_USERNAME
: The username for the backend database.BACKEND_DB_PASSWORD
: The password for the backend database.
In the AC 5.x Professional WebRunner microservice, configure the following:
MARKETPLACE_SERVICE_URL
: The URL of the marketplace service (e.g.,https://web-ad-marketplace-eus2-01.azurewebsites.net
).
12. How do I integrate the marketplace service with the AC 5.x Professional environment?
To integrate, set up environment variables in both Azure App Service and the AC 5.x Professional WebRunner microservice. This will ensure connectivity between the marketplace service and AC 5.x.
13. What tools or resources do I need to successfully deploy the marketplace?
You will need the following:
Azure Resource Manager for managing resources.
App Service Plans and Web Apps for hosting the marketplace.
MySQL for database management.
Virtual Networks and Subnets for secure communication.
API Management for managing API calls.
Azure Kudu Console for troubleshooting.
How do I configure a Private Endpoint for my Storage Account or MySQL database?
Answer: To configure a Private Endpoint:
Go to your resource (Storage Account or MySQL database) in the Azure portal.
Select Networking and choose Private endpoint connections.
Click on + Private endpoint, then configure:
Name and Region.
Resource to connect (e.g., your Storage Account or MySQL server).
Virtual Network and Subnet where the endpoint will reside.
Approve the connection once it's created.