KatInterview

Cloud Network, Fleet Operations, Shared Files and SSO Blueprint

System DesignModel answer
HardModel answerSystem Designvpcnetworkingcidr-planning

Last updated

Plan a layered cloud network for 2,000 servers with IP sizing, unified Linux and Windows operations, shared file storage, and single sign-on across services.

You are the infrastructure lead for a company moving a fleet of about 2,000 servers (a mix of Linux and Windows) into a single cloud region. Produce a design that covers the four areas below, and state your assumptions up front.

  1. Network layout. Describe how you would divide a virtual private network into public, private and management zones. Explain how traffic is routed between the zones and how you enforce isolation using subnets, route tables and security groups.
  2. Address planning. Choose CIDR blocks for each zone. Estimate how many IP addresses the fleet needs, taking into account the addresses each subnet reserves for itself and expected growth.
  3. Central administration. Propose one approach to manage both Linux and Windows machines: configuration management, patching, access control and inventory.
  4. Shared storage. Recommend a file storage option that many servers can use at the same time. Compare candidates on performance, consistency and cost.
  5. Single sign-on. Design a setup where users authenticate once and reach many services. Cover the identity provider you would pick, the trust relationships, and how tokens flow.

Where it helps, discuss trade-offs, failure modes and how you would validate and roll out the design.

Hints

Hint 1

Start by listing assumptions: number of availability zones, growth factor, on-prem connectivity (and ranges to avoid overlapping), and compliance rules such as no direct SSH/RDP from the internet.

Hint 2

For IP math, subtract the per-subnet reserved addresses (5 in AWS) from 2^(32 - prefix), size per availability zone rather than for the whole fleet, and add headroom for growth plus extra network interfaces from load balancers, endpoints and containers.

Hint 3

Security groups that reference other security groups express tier-to-tier rules more cleanly than CIDR rules. Use network ACLs only as coarse stateless guardrails, and remember return traffic on ephemeral ports.

Hint 4

For shared storage, first decide whether both operating systems need the same data. If yes, a multi-protocol file service is attractive; if not, a native NFS service for Linux and an SMB service for Windows are simpler.