← Questions

Cloud infrastructure: VPC layout, IP planning and central management

0
AmazonSystem designLast asked Sep 2025

A system design interview question asked in Amazon's technical phone screen, last asked Sep 2025. It tests networking, cloud and infrastructure.

A set of cloud infrastructure questions for a large application on a public cloud: design a multi-tier virtual private network, plan IP addresses for at least 2,000 servers, and explain how you manage the servers, share storage between them and give administrators single sign-on.

Requirements

  • Network: web, application and database tiers in separate subnets across at least three availability zones, with route tables, a NAT gateway for outbound traffic from private subnets, a bastion or session manager for admin access, and security groups versus network ACLs explained.
  • IP planning: VPC and subnet CIDR ranges for at least 2,000 servers across three zones, counting the addresses the provider reserves in each subnet and leaving room to grow, with the calculation shown.
  • Management: patching, configuration, inventory and remote sessions for both Linux and Windows instances, comparing a cloud-native manager (such as AWS Systems Manager), Active Directory with Group Policy, and tools such as Ansible or Salt.
  • Shared storage that many servers use at once: NFS, a managed file system (EFS, FSx for Windows over SMB), and object-storage gateways, compared on locking and consistency, throughput, latency and cost.
  • Single sign-on: administrators log in once to servers and consoles, with SAML or OIDC, MFA, short-lived credentials, role-based access, auditing and a break-glass account.

Clarifying questions

  • How are the 2,000 servers split between the tiers?
  • Must the network connect to an on-premises data centre (so CIDRs must not overlap)?
  • Which operating systems and versions are in the fleet?
  • What compliance or audit rules apply?

What a strong answer covers

  • One concrete IP plan, for example: VPC 10.0.0.0/16 (65,536 addresses); nine subnets, one per tier per zone, each a /22 (1,024 addresses, 1,019 usable after the 5 the provider reserves), giving 9,171 usable addresses, over four times the need, with most of the /16 left for new subnets. Smaller public subnets for load balancers and NAT.
  • Public subnets only for load balancers and NAT; app and database tiers private; security groups (stateful, per instance, referencing each other) as the main control, network ACLs (stateless, per subnet) as a coarse second layer.
  • Management through an agent-based manager for patching and inventory and session access without opening SSH or RDP, with Ansible or Group Policy where they fit, and the trade-offs named.
  • Storage chosen by access pattern: a managed NFS file system for Linux, SMB for Windows, object storage for large shared datasets, and what each does for locking and throughput.
  • Identity: one identity provider, roles mapped to groups, temporary credentials, every session logged, and a sealed break-glass procedure.

Follow-ups

  • The application grows to 20,000 servers. Does the IP plan still work?
  • An availability zone goes down. What keeps running?
  • How do you patch 2,000 servers without taking the application down?

Where it's asked

  • Amazon · Technical phone screen · Last asked Sep 202560 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI

What it tests

networking · cloud · infrastructure

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing