Effectively building and managing cloud infrastructure at scale is hard. Implementing infrastructure as code makes things much easier, though most frameworks use DSL's such as YAML or JSON that miss most of the advantages of modern programming languages. For this reason, we introduced the AWS Cloud Development Kit (CDK), an extensible open-source software development framework to define cloud infrastructure in code. The CDK offers a higher level object-oriented abstraction to define your cloud resources, without needing to understand detailed configuration. In this session, we are introducing the main concepts for using the CDK to easily encapsulate best practices in your infrastructure definition and share it without worrying about boilerplate logic. A live demo will apply those concepts to a real-world scenario using containers and serverless components.