Optimizing for a Cloud-Native Developer Experience

Learn why and how focusing on developer experience and mirco feedback loops will speed up your development process and help you to create a better product. Cross Post from: www.drewkhoury.com Optimizing for a Cloud-Native Developer Experience - Presentation Chris and Drew share their combined knowledge around developer experience, why (micro) feedback loops matter a whole lot, and present a live demo of a Cloud Native application working locally - complete with unit tests, end-to-end tests and smoke tests....

March 25, 2022 · 3 min · chart

AWS CDK: Avoiding CDK stack dependency errors on updates

Have you encountered an error such as the one below? Export my-stack-1:ExportsOutputRefMyResource6724B74E921810D3 cannot be deleted as it is in use by my-stack-2 This is because: A resource created by my-stack-1.py has created an export my-stack-2.py is using this export in one of it’s resources You are attempting to change or remove the resource in my-stack-1.py, altering the export How can this error be worked around? One method would be to tear down my-stack-2, update my-stack-1, then re-deploy my-stack-2....

February 1, 2021 · 1 min · chart

AWS CDK: Python Tips, Tricks, and Examples

Examples Official CDK Python Examples: https://github.com/aws-samples/aws-cdk-examples/tree/master/python Unofficial CDK best practices: https://github.com/kevinslin/open-cdk Basics Read the docs! Run the following command to open the CDK docs in your browser: cdk docs Set the deployment region In the app.py in the root of your CDK construct: add env={‘region’: ‘us-east-2’} to your ConstructStack(…). At time of writing this is on line 9 by default. It should look something like this: app = core.App() MyConstructStack(app, "my-construct", env={'region': 'us-east-2'}) Install new packages When working with a new services you may need to install them with a command similar to the one below:...

January 11, 2021 · 2 min · chart

Learning the AWS CDK

CloudFormation written in Python? Yes! After using the CDK for a bit, I believe it will be replacing CloudFormation for most AWS IaC in the coming years. The CDK is a layer of abstraction built on top of CloudFormation(CF). It allows you to write a condensed, but more powerful form of CF in one of several programming languages(JavaScript, TypeScript, Python, Java, and C#). You utilize AWS Constructs to more concisely deploy infra....

January 11, 2021 · 1 min · chart