Core components: API servers, metadata DB (paste ID, creation time, expiration), object storage (S3) for paste content.
ID generation: Base62 encoding of auto-increment or random -char string gives = trillion combinations. Store metadata in SQL, content in S3 with ID as key. CDN for popular pastes.