question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CDK post-deployment experience

See original GitHub issue

Description

We want to support operators of CDK applications during their common tasks. What are the biggest problems/frustrations you would like us to address?

  • Getting an overview of the application?
  • Creating dashboards and alarms?
  • Ticketing?
  • Operational tasks?
  • Log inspection?

Let us know in the discussion below.

Roles

Role User
Proposed by @rix0rrr
Author(s)
API Bar Raiser
Stakeholders

See RFC Process for details

Workflow

  • Tracking issue created (label: status/proposed)
  • API bar raiser assigned (ping us at #aws-cdk-rfcs if needed)
  • Kick off meeting
  • RFC pull request submitted (label: status/review)
  • Community reach out (via Slack and/or Twitter)
  • API signed-off (label api-approved applied to pull request)
  • Final comments period (label: status/final-comments-period)
  • Approved and merged (label: status/approved)
  • Execution plan submitted (label: status/planning)
  • Plan approved and merged (label: status/implementing)
  • Implementation complete (label: status/done)

Author is responsible to progress the RFC according to this checklist, and apply the relevant labels to this issue so that the RFC table in README gets updated.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
kadrachcommented, May 30, 2022

We want to support operators of CDK applications during their common tasks. What are the biggest problems/frustrations you would like us to address?

I have come across two personas of operators in this sense, one being the more “DevOps” aligned build and run team, the other being the traditional “ops” team with often little insight into the application.

A frustration I’ve seen repeatedly with customer teams is the complexity involved in correlating logs (both “system logs” like CloudFormation deployments, custom resources, flow logs; and “application logs”). This issue does not stem from CDK itself, and can e.g. be addressed with appropriately crafted Insights queries. The CDK should be able to improve the user experience here.

An intuitive “here are all the logs” view would benefit both build and run, as well as run-only teams. Personally I’d love to see an extensible cdk logs --follow capability (see https://github.com/aws/aws-cdk-rfcs/issues/277).

1reaction
sholtomaudcommented, May 27, 2022

Yes! This would be fantastic.

I have questions about the boundary between the DevOps and SysOps post-deployment experience.

  1. Is this focused on a “per-application single-pane of glass” post-deployment experience for DevOps?
  2. What about the “multi-account, multi-app single-pane of glass” post-deployment experience for SysOps?
  • There may not be clear Team/Enterprise boundaries for DevOps & SysOps, but regardless, it would be nice to have patterns/worflows for a clear pathway to the multi-account, multi-app post-deployment experience on the SysOps side.

  • Perhaps eventbridge “cross-account event backbone” could be used as an enabler for SysOps monitoring Dashboards? https://dev.to/eoinsha/how-to-use-eventbridge-as-a-cross-account-event-backbone-5fik

  • Integration with OpenSearch/Graphana/Prometheus/aws-discovery-agent going back to prerequisites for custom managed infra.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS CDK - post deployment actions - Stack Overflow
In this way you can keep using the cdk deploy command without calling custom scripts manually. cdk.json { "app": "sh cdk_hooks.sh pre &&...
Read more >
Continuous integration and delivery (CI/CD) using CDK ...
CDK Pipelines is a construct library module for painless continuous delivery of AWS CDK applications. Whenever you check your AWS CDK app's source...
Read more >
awslabs/aws-cdk - Gitter
I want LambdaA to invoke LambdaB - so LambdaA needs to know the LambdaB.functionName. I tried adding this as an environment var, but...
Read more >
Improve DX by publishing an API SDK - a CDK Serverless ...
This blog demonstrates one of many ways to improve the Developer Experience(DX) for both backend and frontend. The Open API Spec(OAS) file ...
Read more >
AWS .NET deployment tool
... that AWS Deploy Tool for .NET is built on, such as the AWS CDK. ... NET deployment experience. ... Blog Post: Deployment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found