Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to AWS: Quickly re-publish container images to ECR #337

Open
LuizPonce opened this issue Apr 23, 2023 · 3 comments
Open

Publish to AWS: Quickly re-publish container images to ECR #337

LuizPonce opened this issue Apr 23, 2023 · 3 comments
Labels
feature-request New feature or enhancement. May require GitHub community feedback. publish

Comments

@LuizPonce
Copy link

LuizPonce commented Apr 23, 2023

From Publish to AWS, once I have published my application as a container into ECR, I would like a fast way to republish the same project to the same ECR. The re-publish should not need as many interactions/configurations as publishing to a New Target.

Original issue text is below


In Publish to AWS, the Existing Targets list did not show my project. I expected to see it there.

I've created a new Publish to New Target, deploy successfully many times. But never been show in "Existing Targets".
Then I tried use "administrator profile" to check if maybe the issue was permission and the same result. unsuccessfully use Existing Targets.

Do I need create manually the "settings" file ?
I'm using "Container Image to Amazon ECR"

Toolkit: 1.40.0.0
Visual Studio: 17.2.6

@awschristou
Copy link
Contributor

Hi @LuizPonce , when you publish your application container into an ECR repo, this is considered a one-time deployment. ECR repo deployments do not appear under the "Existing targets" list. Publishing to the registry on its own does not create corresponding infrastructure as code (like CDK or CloudFormation for example). As an example, if you were to publish your application to Fargate, part of the publish process would push the application container to ECR, and a backing CloudFormation stack would be created, which would then appear in the "Existing Targets" list.

Since you'd have to publish to a new target each time you want to push your container to ECR, do you have suggestions that could make that process smoother?

(@ashovlin / @normj - you might be interested in feedback about this experience)

@LuizPonce
Copy link
Author

Hi @awschristou thank you for you quickly answer.

My suggest is do like the used in previous version. There was possible use "aws-ecs-tools-defaults.json" then i only confirmed the values and publish.
Is it make sense?

thank you,

@awschristou awschristou changed the title Publish to AWS: I could not deploy to an existing cloud app Publish to AWS: Quickly re-publish container images to ECR Apr 25, 2023
@awschristou awschristou added feature-request New feature or enhancement. May require GitHub community feedback. publish labels Apr 25, 2023
@awschristou
Copy link
Contributor

Thank you for the suggestion @LuizPonce . I have updated this issue's title and text to reflect the feature request. I have talked with the team that is responsible for the .NET Deploy tool (which powers the Publish to AWS experience), and they have opened up issue aws/aws-dotnet-deploy#765 to track improvements made in ECR publishing.

We'll leave this issue open as well, and as improvements are made to the .NET Deploy tool, we will look at integrating them into the Publish to AWS experience, and update this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or enhancement. May require GitHub community feedback. publish
Projects
None yet
Development

No branches or pull requests

2 participants