Skip to content

Commit 18b0d3c

Browse files
Update container_registry_migration.md
1 parent ed8c38a commit 18b0d3c

File tree

1 file changed

+8
-73
lines changed

1 file changed

+8
-73
lines changed

docs/container_registry_migration.md

Lines changed: 8 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Overview
44

55
### Current Problem:
6-
- The **CWYD Container Image** is being published in the **External ACR** (Azure Container Registry).
6+
- The **Document Generator Container Image** is being published in the **External ACR** (Azure Container Registry).
77

88
### Goal:
99
- The goal is to **migrate container images** from various applications to a common **CSA CTO Production Azure Container Registry**, ensuring all the different images are consolidated in one centralized location.
@@ -12,7 +12,7 @@
1212

1313
## Step-by-Step Guide: Migrating Azure Web App Service to a New Container Registry
1414

15-
This guide will help you seamlessly switch the container registry for your **Azure Web App Service** from Azure Container Registry (ACR) to the new registry **`cwydcontainerreg`**.
15+
This guide will help you seamlessly switch the container registry for your **Azure Web App Service** from Azure Container Registry (ACR) to the new registry **`byocgacontainerreg`**.
1616

1717
Follow the steps below to ensure a smooth migration.
1818

@@ -26,12 +26,9 @@ Before you begin, ensure you have the following:
2626
### Step 1: Obtain Details for the New Registry
2727

2828
Before you begin, ensure you have the following information:
29-
- **Registry URL**: The URL of the new registry (`https://cwydcontainerreg.azurecr.io`).
29+
- **Registry URL**: The URL of the new registry (`https://byocgacontainerreg.azurecr.io`).
3030
- **Image Name and Tag**: The full name and tag of the image you want to use:
31-
- **Web App Image**: `rag-webapp:latest`
32-
- **Admin Web App Image**: `rag-adminwebapp:latest`
33-
- **Function App Image**: `rag-backend:latest`
34-
31+
- **Web App Image**: `webapp:latest`
3532
---
3633

3734
### Step 2: Update Azure Web App Service Configuration Using Azure Portal
@@ -40,7 +37,7 @@ Before you begin, ensure you have the following information:
4037
- Open [Azure Portal](https://portal.azure.com/).
4138

4239
2. **Locate Your Resource Group and Web App Service**:
43-
- Navigate to resource group which you have created for CWYD.
40+
- Navigate to resource group which you have created for Document Generator.
4441
- Navigate to **Web App Service**: From the list of resources, find and select **App Service**
4542

4643
3. **Go to the Deployment Center**:
@@ -51,9 +48,9 @@ Before you begin, ensure you have the following information:
5148

5249
4. **Update Image Source**:
5350
- Change the **Registry Source** to **Private**.
54-
- Set the **Server URL** to the new container registry (`https://cwydcontainerreg.azurecr.io`), as shown in the screenshot below.
51+
- Set the **Server URL** to the new container registry (`https://byocgacontainerreg.azurecr.io`), as shown in the screenshot below.
5552
- Set the **Full Image name** to the relevant image name and tag:
56-
- For Web App: `rag-webapp:latest`
53+
- For Web App: `webapp:latest`
5754

5855
![Deployment Center](images/deployment_center.png)
5956

@@ -71,75 +68,13 @@ After updating the configuration, restart your **Web App Service** to apply the
7168

7269
---
7370

74-
### Step 4: Update Azure Admin Web App Service Configuration Using Azure Portal
75-
76-
1. **Locate Your Resource Group and Admin Web App Service**:
77-
- Navigate to resource group which you have created for CWYD.
78-
- Navigate to **Admin App Service**: From the list of resources, find and select **App Service** that contains `admin` in its name
79-
80-
2. **Go to the Deployment Center**:
81-
- In the left-hand menu, click on **Deployment**.
82-
83-
3. **Update Image Source for Admin Web App**:
84-
- Change the **Registry Source** to **Private**.
85-
- Set the **Server URL** to the new container registry (`https://cwydcontainerreg.azurecr.io`).
86-
- Set the **Full Image name** to the relevant image name and tag:
87-
- For **Admin Web App**: `rag-adminwebapp:latest`
88-
89-
4. **Save Changes**:
90-
- Click **Save** to save the configuration.
91-
92-
---
93-
94-
### Step 5: Restart the Admin Web App Service
95-
96-
After updating the configuration, restart your **Admin Web App Service** to apply the changes:
97-
98-
1. In the **Admin Web App Service overview page**, click on **Restart**.
99-
2. Confirm the restart operation.
100-
101-
---
102-
103-
### Step 6: Update Azure Function App Service Configuration Using Azure Portal
104-
105-
1. **Locate Your Resource Group and Function App Service**:
106-
- Navigate to resource group which you have created for CWYD.
107-
- Navigate to **Function App**: From the list of resources, find and select **Function App**
108-
109-
2. **Go to the Deployment Center**:
110-
- In the left-hand menu, click on **Deployment**.
111-
112-
3. **Update Image Source for Function App**:
113-
- Change the **Registry Source** to **Private**.
114-
- Set the **Server URL** to the new container registry (`https://cwydcontainerreg.azurecr.io`).
115-
- Set the **Full Image name** to the relevant image name and tag:
116-
- For **Function App**: `rag-backend:latest`
117-
118-
4. **Save Changes**:
119-
- Click **Save** to save the configuration.
120-
121-
---
122-
123-
### Step 7: Restart the Function App Service
124-
125-
After updating the configuration, restart your **Function App Service** to apply the changes:
126-
127-
1. In the **Function App Service overview page**, click on **Restart**.
128-
2. Confirm the restart operation.
129-
130-
---
131-
13271
### Step 8: Validate the Deployment
13372

13473
1. **Access Your Web App**:
13574
- Open the **Web App URL** in a browser to ensure it’s running correctly.
136-
137-
2. **Access Your Admin Web App**:
138-
- Open the **Admin Web App URL** in a browser to ensure it’s running correctly.
139-
14075
---
14176

142-
By following these steps, your **Azure Web App Service** will now use the new container from the **CWYD registry**.
77+
By following these steps, your **Azure Web App Service** will now use the new container from the **Document Generator registry**.
14378

14479
For further assistance, feel free to reach out to your support team or log an issue on GitHub.
14580

0 commit comments

Comments
 (0)