- az | Microsoft Learn (Azure CLI)
- In the current app service → Development Tools → Advanced Tools → “Go →” → (KUDU console opens) → There is a menu on the top bar!
- We can use SSH to go inside the App Service container.
- SSH access for Linux and Windows containers - Azure App Service | Microsoft Learn
We can install new package inside App Service container via
apt install ffmpeg
but after re-deploy, everything installed isn’t persisted. Inside this SSH, it also says that “Any data outside /home is not persisted”! ← one SO.- Using CLI to ssh to App Service container
- Good to read: Enabling SSH on Linux Web App for Containers
- To open SSH from remote shell, read this.
Azure Portal → Subscriptions → (choose a subscription) → Usage + quotas
- Enter App Service container and using SSH ← not persisted
We can install new package inside App Service container via
apt install ffmpeg
but after re-deploy, everything installed isn’t persisted. Inside this SSH, it also says that “Any data outside /home is not persisted”! ← one SO.ACR = Azure Container Registry.
Azure sẽ gởi pingpong đến 1 endpoint tạo trên server để check status của nó. Thường app service sẽ chạy trên nhiều instances khác nhau, instance nào die thì cái health check này sẽ hiển thị. Official doc.
Location: Home → App Services → <service name> → Monitoring → Health check
Trong đây có chỗ “Health probe path” để điền endpoint cần vào.
Có thể download logs của app service. Cái này hỏi Copilot trực tiếp trong trang Azure Portal.
Vào app service → Monitoring → App Service logs. Có thể thay đổi số ngày lưu trữ và quota lưu trong đây.
Để có thể download/xem logs, download FileZilla về, sau đó vào Deployment Center, FTPS credentials để tìm credentials connect.
Sau khi connect xong, nhấn “…” liên tục để ra root và vào
/LogFiles
để tìm!