aws / aws/aws-toolkit-visual-studio
"Publish to AWS" doesn't work on out-of-box projects
- Dominant language
- No language data
- Stars
- 135
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
AWS
**To Reproduce**
1. Go to Visual Studio 2022
2. Click on 'Create a New Project'
3. Create a new 'ASP.NET Core Web API'
4. Enable Docker (check pic for settings)

5. Right click the project name in the solution Explorer
6. Click on 'Publish to AWS...'
7. Click on 'ASP.NET Core App to Amazon ECS using AWS Fargate (**recommended**)'
8. Check Deployment logs and notice that it _always_ get stuck on '14/16 RecipeAppFargateService' step under 'Deploys AWS CDK project'

9. Navigtating to the AWS console you can notice that ECS Tasks fail the healthcheck, therefore they are continously re-created every approx. 5 minute.


10. If I try to navigate to public DNS of a running Task before it goes down, the request "times out"
**Expected behavior**
I am expecting the 'publish' feature to work out-of-the-box when I try to publish a VS template without changing it. Other publish strategies work just fine without the need of tweaking any settings.
**Screenshots**
**Toolkit Logs**
**Development System (please complete the following information):**
- Windows Version: 11
- Visual Studio Version: 17.9.6
- AWS Toolkit for Visual Studio Version: 1.52
**Additional context**
It would be nice if you could help me on this :)
Contributor guide
Research direction
Start with the Visual Studio 2022 ASP.NET Core Web API template, enable Docker, and follow the Publish to AWS flow through ASP.NET Core App to Amazon ECS using AWS Fargate. Inspect the deployment logs at the “14/16 RecipeAppFargateService” step and the ECS task health-check failures, using the Toolkit troubleshooting guide and logs. Done means an unchanged template deploys successfully and its task remains healthy and reachable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker
- Domain
- backend, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100