Deploying to the cloud for the first time requires deliberately designing for scalability, security, and cost, rather than simply lifting-and-shifting an application built for a single fixed server.
A team migrating a monolith to AWS externalizes session state to ElastiCache, defines their VPC, subnets, and security groups in Terraform, and sets a CloudWatch billing alarm before going live, avoiding both a security gap and a surprise bill.
A concise interview answer is
I'd design for statelessness and autoscaling from the start, using managed services for things like sessions and storage instead of a fixed server. Security and cost need equal attention upfront, so I'd apply least-privilege IAM roles, encrypt data, and provision everything through infrastructure as code so it's reviewable and repeatable.
Last updated: 16 July 2026
Previous question: How do you manage configuration changes in your application when deploying to different environments?
Next question: How can containerization (using Docker) improve your deployment process?