What Is Public Cloud? Core Architecture, Services, and Best Practices
Learn how public cloud works, from virtualization and tenant isolation to distributed infrastructure and high availability. This article compares public, private, and hybrid clouds, explains IaaS, PaaS, and SaaS, and outlines practical guidance for security, scaling, cost management, and disaster recovery.
What Is Public Cloud? Core Architecture, Services, and Best Practices
1. Public Cloud: Definition and Core Characteristics
Public cloud is a cloud computing model in which a third-party provider builds and operates infrastructure and makes its services available to the public. Instead of building a data center or purchasing and maintaining physical hardware, users access compute, storage, and networking resources on demand over a network, usually the internet.
Its defining characteristic is shared infrastructure: multiple tenants use the same underlying physical resources, while virtualization and isolation mechanisms maintain boundaries between their data and workloads.
Public cloud typically has five key characteristics:
- On-demand self-service: Users can provision, modify, and release resources through a console or API.
- Usage-based billing: Resources are metered on a pay-as-you-go basis. Some basic services are free or inexpensive, reducing the initial investment required.
- Broad network access: Services are delivered over the internet and can be accessed from different locations.
- Resource pooling: Physical hardware is abstracted into resource pools that are dynamically allocated to users.
- Elastic scaling: Resource capacity can be adjusted automatically or manually as workload demand changes.
2. How Public Cloud Architecture Works
Public cloud capabilities rely on several layers of technology. Understanding these layers helps developers use cloud services more effectively.
Virtualization and Containers: The Foundation of Resource Sharing
Virtualization divides physical servers into isolated virtual machine instances. Each virtual machine has its own operating system and allocated resources.
Containers further improve resource utilization and deployment efficiency. They share the host operating system kernel, start quickly, and generally have smaller images than virtual machines. Combined with container orchestration platforms, they support large-scale microservices deployments and automated recovery.
Multi-Tenant Isolation
Shared infrastructure does not mean tenants have unrestricted access to one another’s resources. Public cloud platforms use several mechanisms to maintain isolation:
- Compute isolation: Virtual machines and containers separate execution environments and resource allocations.
- Network isolation: Virtual private networks create separate logical network environments. Security groups and access control lists manage inbound and outbound traffic.
- Storage isolation: Logical volumes, object storage namespaces, and permissions separate access to stored data.
- Identity and access isolation: Role-based access control (RBAC) supports least-privilege permissions within accounts.
Distributed Architecture and High Availability
Established public cloud platforms organize infrastructure into multiple availability zones. Each zone has independent power, networking, and cooling infrastructure.
Deploying workloads across multiple availability zones can enable failover if one zone becomes unavailable, supporting a highly available architecture. Cross-region replication can also support disaster recovery and protect data during major disruptions.
3. Public Cloud vs. Private Cloud vs. Hybrid Cloud
| Dimension | Public Cloud | Private Cloud | Hybrid Cloud |
|---|---|---|---|
| Resource ownership | Provider-owned infrastructure shared by multiple tenants | Infrastructure built for an organization’s own use | A combination of public and private infrastructure |
| Initial cost | Low upfront investment, with on-demand billing | Higher upfront investment in hardware | Typically between the two, depending on the deployment |
| Elasticity | Extensive scaling capacity | Limited by available infrastructure | Greater flexibility through combined resources |
| Operational responsibility | Provider maintains the underlying infrastructure | Organization maintains its infrastructure | Responsibilities are shared |
| Typical use cases | Web applications, startups, and variable workloads | Strict compliance requirements and sensitive core data | Workloads balancing elasticity and compliance |
Public cloud is well suited to internet-facing applications with fluctuating traffic, development and testing environments that require rapid iteration, and tasks such as big data analytics and AI training that need substantial computing capacity for limited periods.
Organizations in sectors such as finance and government may favor private or hybrid cloud when strict requirements govern data location and compliance. Public cloud providers, including Baidu AI Cloud, offer product categories addressing these general workload needs.
4. Core Public Cloud Service Models
The commonly used SPI model groups cloud services into three categories: infrastructure as a service, platform as a service, and software as a service.
Infrastructure as a Service (IaaS)
IaaS provides foundational compute, storage, and networking resources. Developers can choose their operating systems and software stacks, giving them granular control. This model suits organizations with teams capable of managing those layers.
The following command is illustrative rather than a provider-specific executable command:
# Example: Create a cloud server from the command line.# Actual commands vary by platform.cloud-cli create-instance \--name web-server \--cpu 4 --memory 8GB \--image "Generic Linux image" \--zone available-zone-a
Platform as a Service (PaaS)
PaaS adds managed capabilities on top of infrastructure, allowing users to focus on application code rather than underlying operations.
These capabilities can include databases, message queues, container platforms, object storage, logging, monitoring, and alerting. For example, managed database services can automate backups, primary-replica synchronization, and patching.
Software as a Service (SaaS)
SaaS delivers complete applications, such as online collaboration and business productivity software. Users can start using the software with little technical configuration.
5. Best Practices for Using Public Cloud
Apply least-privilege access. Give people and systems only the permissions they need. Avoid using root accounts for routine operations.
Design a layered network. Place web, application, and data tiers in separate subnets, and expose only the ports required for each workload.
Use elasticity effectively. Configure autoscaling for stateless services and plan persistent storage carefully for stateful services.
Make costs visible. Enable usage tracking and budget alerts, remove idle resources, and combine reserved or fixed-term pricing with pay-as-you-go billing where appropriate.
Plan backups and disaster recovery. A highly available cloud platform does not eliminate the need for backups. Follow the 3-2-1 backup principle and retain copies in another region.
Check compliance and data sovereignty requirements. Confirm permitted data locations and applicable industry regulations before deployment. Use a hybrid cloud approach when necessary.
6. Conclusion
Public cloud delivers shared computing resources through virtualization, multi-tenant isolation, and distributed infrastructure. It reduces upfront investment, provides elastic capacity, and shifts maintenance of the underlying physical infrastructure to the provider.
Choosing between public, private, and hybrid cloud requires balancing workload characteristics, compliance requirements, and the technical capabilities of the team. Access controls, layered networking, cost monitoring, and backup planning help turn cloud capabilities into practical business value.
