Azure Cloud Services provided a managed execution environment for applications packaged as web roles and worker roles. A web role used Internet Information Services (IIS) to host websites, HTTP endpoints, and APIs. A worker role ran background application code, such as queue consumers, document processors, or scheduled processing loops. Each role could have multiple instances, and each instance ran in a dedicated virtual machine managed by the platform.
Applications were described through a service definition file with the .csdef extension, a service configuration file with the .cscfg extension, and an application package with the .cspkg extension. The definition described roles, endpoints, local resources, and other structural settings. The configuration supplied values such as instance counts and application settings. Engineers needed to retain these artifacts alongside source code to reproduce deployments and understand environment-specific behavior.
Azure provisioned the underlying compute environment and monitored role instances. The platform could restart or replace unhealthy instances, so application correctness could not depend on a particular machine remaining available. Local disk was not a durable system of record. Applications typically stored persistent data in external storage or databases and kept request handling stateless so that traffic could move between instances.
Role instances could be scaled independently, allowing front-end capacity and background processing capacity to differ. Scaling remained subject to subscription quotas, supported instance sizes, regional capacity, and downstream service limits; it was not unlimited. Load-balanced input endpoints distributed inbound connections across role instances. Multiple instances and appropriate application retry behavior were important for maintaining availability during failures and maintenance.
The classic deployment model supported production and staging deployments. A virtual IP swap exchanged their externally exposed deployment assignments, helping teams release a validated deployment without rebuilding it in the production slot. Both deployments consumed resources while running. In-place upgrades proceeded through update domains, limiting how many instances were updated together, but applications still needed compatible database changes and sufficient remaining capacity.
Operational responsibilities included application instrumentation, certificate management, dependency security, configuration control, and recovery testing. Azure Diagnostics could collect configured logs and performance counters into Azure Storage. Startup tasks could install prerequisites, but those tasks needed to tolerate repeated execution when instances were reprovisioned. Remote Desktop supported troubleshooting, while manual changes inside an instance were not a reliable deployment mechanism.
Lifecycle stage: Cloud Services is shut down. Support ended on August 31, 2024 (2024-08-31).