DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • When Angular APIs Return 200 but the Frontend Is Already Failing Users
  • How to Secure Your Angular Apps: End-to-End Encryption of API Calls
  • GenAI-Powered Automation and Angular
  • Mastering Scalability and Performance: A Deep Dive Into Azure Load Balancing Options

Trending

  • DZone's Article Submission Guidelines
  • Designing Memory Architecture for Stateful AI Agents: Short-Term Context and Long-Term Persistence
  • Part 4: Multi-Agent Orchestration — Pairing Goose With Quarkus Flow State Machines
  • Member Spotlight: Shai Almong

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Azure Deployment Using FileZilla

Azure Deployment Using FileZilla

In this step-by-step guide, focus on the FileZilla FTP client as a means to publish your Angular UI application to Azure.

By 
ABUFAIZUR RAHMAN R ALI
·
Oct. 01, 24 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
6.4K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

In today's digital landscape, deploying web applications to the cloud is a common practice. Azure provides various deployment options, including GitHub, Azure DevOps, Bitbucket, FTP, or a local Git repository.

In this step-by-step guide, we will focus on the FileZilla FTP client as a means to publish your Angular UI application to Azure. Follow these steps to make your Angular app accessible to the world.

Prerequisites

  • An Angular UI application ready for deployment
  • An Azure Web App set up and configured
  • FileZilla FTP client installed on your local machine

Step 1: Download and Install FileZilla

Before you can use FileZilla to publish your Angular app to Azure, you need to download and install the FileZilla FTP client. 

Follow these steps:

  1. Visit the official FileZilla website.
  2. Click on the "Download FileZilla Client" button to access the download page.
  3. On the download page, you will see versions for different operating systems (Windows, macOS, Linux). Choose the version that corresponds to your operating system and click the download link.
  4. Once the download is complete, run the installer file you downloaded.
  5. Follow the installation wizard's prompts to install FileZilla on your computer.

Step 2: Build Your Angular Application

Ensure your Angular application is built for production. Open your terminal/command prompt and navigate to your Angular project's root directory. Run this command:

Visual Studio Code Terminal Window

Visual Studio Code Terminal Window


ng build --prod


This will generate a production-ready build of your Angular app in the dist folder.

Step 3: Configure Azure FTP Credentials

To connect to your Azure Web App via FTP, obtain FTP credentials:

  1. Log in to the Azure Portal.
  2. Navigate to your Azure Web App's "Settings."
  3. Under "Deployment Center," select the FTPS credentials. Note down the FTP server address(FTPS endpoint), FTPS username, and password.

Azure Portal - Web Application | Deployment Center

Azure Portal - Web Application | Deployment Center

Step 4: Launch FileZilla

Open the FileZilla FTP client on your computer.

Step 5: Connect to the Azure Web App

Configure FileZilla to connect to your Azure Web App using the FTP credentials obtained in Step 3:

  • In FileZilla, go to "File" > "Site Manager."
  • Click "New Site" and name it (e.g., "Azure FTP").
  • Choose "FTP - File Transfer Protocol" as the protocol.
  • In the "Host" field, enter the FTP server address.
  • Set the "Encryption" to "Use explicit FTP over TLS if available."
  • Enter your FTP username and password.

FileZilla-Site Manager

FileZilla-Site Manager
  • Click "Connect" to save the site and connect to Azure.

Step 6: Upload Your Angular App

With FileZilla connected to Azure, upload your Angular app:

  • In FileZilla, navigate the left pane to your local "dist" folder.
  • In the right pane, locate the remote directory on Azure where you want to upload your app (usually something like "/site/wwwroot").
  • Select all files and directories within your local "dist" folder and drag them to the remote directory on Azure. FileZilla will start uploading.
Select all files to move to Azure
Select all files to move to Azure

Step 7: Monitor Upload Progress

FileZilla displays upload progress in the "Queued files" section at the bottom of the window. Wait for the upload to complete.

Step 8: Verify Deployment

Once the upload is complete, your Angular app should be published on your Azure Web App. You can access it using the URL provided for your Azure Web App in the Azure Portal.

Files uploaded successfully
Files uploaded successfully

Conclusion

In this guide, you've learned how to publish an Angular UI application to Azure using FileZilla.

This straightforward process allows you to easily deploy your Angular app to the cloud for public access. Be sure to keep your FTP credentials secure, and remember to update your deployed app as needed to ensure it reflects the latest changes and features.

File Transfer Protocol UI AngularJS azure Web application

Opinions expressed by DZone contributors are their own.

Related

  • When Angular APIs Return 200 but the Frontend Is Already Failing Users
  • How to Secure Your Angular Apps: End-to-End Encryption of API Calls
  • GenAI-Powered Automation and Angular
  • Mastering Scalability and Performance: A Deep Dive Into Azure Load Balancing Options

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook