apprunner-roadmap icon indicating copy to clipboard operation
apprunner-roadmap copied to clipboard

Interrupt service deployment + allow for config modification for a failed service

Open akshayram-wolverine opened this issue 3 years ago • 5 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request We heard from customers that they would like to recover from errors faster. There are two use cases here:

  1. For an already deployed and running service: Customers would like to interrupt a service to recover from a bad config instead of waiting for the default rollback period. This would help improve productivity and help recover from any failures faster.
  2. For a new service: Customers should be able to modify the config of a service in the create failed state to recover back to a healthy and running state. This would help not having to duplicate the config for a new service creation and instead just fix the specific problem in the failed service.

Describe alternatives you've considered Wait for the service rollback to complete in use case 1. Use the create failed service as read only to debug but customers need to recreate a new service

akshayram-wolverine avatar Jun 09 '21 06:06 akshayram-wolverine

This is ESSENTIAL. I cannot emphasize how grossly inconvenient it is to have to enter DOZENS OF ENVIRONMENT VARIABLES OVER AND OVER AGAIN because of some random error that causes new deploys to fail leaving starting from SCRATCH as the only option.

Mugane avatar Jun 15 '21 00:06 Mugane

I know its this does not directly solve your use case but you can now edit environment variables in the console for a service that is created and running. To directly address your issue, we will work on allowing updates to a failed service and post on this thread as we have more to share.

akshayram-wolverine avatar Jun 15 '21 06:06 akshayram-wolverine

By console you mean via AWS CLI or is there a way to get shell access to a running container?

Mugane avatar Jun 15 '21 09:06 Mugane

In my case I accidentally (twice) create a service and forgot to set the IAM Policy which allows access to my ECR Repository. I was stuck with a service in creation mode for at least 20 minutes. I figured it out at the end but canceling the first one would have been nice.

IonFoXx avatar Oct 19 '21 16:10 IonFoXx

How has this fundamental feature remained unaddressed after more than a year?

RemiKalbe avatar Sep 04 '22 11:09 RemiKalbe

It's insane that we have to completely remove an APP because a Create failed. I was deploying a JSON server just to test app runner and after a failed deployment I will have to delete and recreate the app from scratch.

lucashfreitas avatar Dec 06 '22 04:12 lucashfreitas

And update on this!?

sefasenturk95 avatar Jan 20 '23 14:01 sefasenturk95

It completely baffles my mind that this is still hasn't been addressed. Do you really expect us to destroy and recreate the resource if it fails?

stadnitchii avatar Jan 21 '23 02:01 stadnitchii

When is this update going to come out?

AmmarBashir avatar Jan 30 '23 10:01 AmmarBashir

Thank you for your patience. We are looking at this feedback and we will keep you updated as we plan and make progress on this issue.

amitgupta85 avatar Jan 30 '23 17:01 amitgupta85

I will implement this for AWS free of charge because it would probably take less time than working around it as the end-user

jaminhaber avatar Feb 05 '23 06:02 jaminhaber

I too would find this immensely helpful

AnthonyMichaelTDM avatar Apr 22 '23 16:04 AnthonyMichaelTDM

Any updates on this? Still trying to wrap my head around how this was left out. Thank you for any help on the issue. If you can shed some light and rough ETA on this.

yaronlevi avatar Jun 03 '23 09:06 yaronlevi

@amitgupta85 what is the ETA on this? This is an enormous omission from an otherwise fantastic service. This will help everyone immensely.

cade-coreschedule avatar Jun 11 '23 01:06 cade-coreschedule

Any updates on this one?

sefasenturk95 avatar Jun 19 '23 11:06 sefasenturk95

Hello all, Thank you for the feedback. App runner is actively working on this feature and we will post our updates soon.

msumithr avatar Jun 19 '23 16:06 msumithr

App Runner now support update and rebuild of a service in failed state. See launch announcement for more details: https://aws.amazon.com/about-aws/whats-new/2023/06/aws-app-runner-update-rebuild-failed-service/

snnles avatar Jun 30 '23 18:06 snnles

@snnles Is there any ongoing work on interrupting an in-progress deployment? (like EB's abort-environment-update)

hd-o avatar Aug 08 '23 14:08 hd-o