Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using CDK construct libraries to meet enterprise compliance

Using CDK construct libraries to meet enterprise compliance

In enterprise scenarios, you have to adhere to many regulatory and internal rules. The best way to minimize operational effort is to prevent misconfiguration at the earliest moment possible. Writing your own AWS Cloud Development Kit (AWS CDK) construct libraries for your company helps your teams to deploy compliant infrastructure. This talk shows how to create a construct library and presents examples of higher-level components for enterprises. Further, the session provides best practices to version and to distribute the library.

Thorsten Hoeger

December 03, 2019
Tweet

More Decks by Thorsten Hoeger

Other Decks in Technology

Transcript

  1. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Using the AWS CDK construct libraries to meet enterprise compliance Thorsten Höger D V C 1 3 Cloud Evangelist, CEO Taimos GmbH
  2. Related breakouts DEM131 - Publishing CDK L3 Constructs DOP402 -

    Deep dive into AWS Cloud Development Kit OPN205 - Contributing to the AWS Construct Library
  3. Let’s talk Join me at Taco Tuesday with AWS Heroes

    at Hecho en Vegas at MGM on Tuesday, December 3rd, starting at 6pm. Or follow me on Twitter @hoegertn
  4. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Infrastructure as Code Options High level Low level • AWS CDK, Pulumi (third party) • Full power of supported languages, OO, abstractions, imperative logic • In the case of CDK, still generates CloudFormation code Componentized • Troposphere (Python), SparkleFormation (Ruby), GoFormation (Go) • Leverages higher-level language constructs, some abstraction also possible • Generates CloudFormation code (in the specific cases above) DSLs • CloudFormation (with and without macros), Terraform modules • Declare desired state, engine finds path to provision/update resources • Some abstraction and logic flow possible Declarative • Automate with the AWS SDKs & CLIs • Step-by-step, imperative instructions • Left to developer: error handling, manage state, rollbacks, dependency graphs, stabilization, etc. Scripted
  5. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Cloud Development Kit (CDK) A multi-language software development framework for modeling cloud infrastructure as reusable components AWS CloudFormation
  6. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Cloud Development Kit (CDK) AWS Construct Library Framework CLI CDK Application Stack(s) Construct Construct Core Framework CDK CLI Serverless Containers CI/CD Application Integration / Foundational Autoscaling
  7. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS CDK Core Framework CDK Application Stack(s) Construct Construct
  8. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. CloudFormation Template “compiler” CDK CLI “processor” “assembly language” “source” synthesize deploy executes AWS Cloud Development Kit (CDK)
  9. Enterprise requirements • Account basics deployed by infrastructure team •

    Tags required for cost allocation • Encryption policies for legal reasons • Security policies for network access
  10. Thank you! © 2019, Amazon Web Services, Inc. or its

    affiliates. All rights reserved. Thorsten Höger @hoegertn (Twitter/Github/LinkedIn)