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
Can't change to spot instances #4651
Comments
Hello, @bfeliano! It looks like you're encountering a bug involving Service Connect + Fargate Spot that ECS is actively working on.
to your workload manifest. Let us know if that works for you! Thanks and sorry again. |
Hey Janice, that did the trick. Many thanks. |
Hi @huanjani Do we have a workaround for if we do require service connect? |
@hailwood Copilot automatically enables "ServiceDiscovery" for each of your services, so your instances should be able to use that, instead of service connect, to communicate. To find the endpoint for each of your service, you can run
Then, in your application code, replace the service connect endpoint with this. Hope this helps! |
Thanks @Lou1415926, When working correctly is Service Connect recommended over Service Discovery? |
This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days. |
This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions! |
(Not related to this PR but required to deploy to dev due to bug aws/copilot-cli#4651)
(Not related to this PR but required to deploy to dev due to bug aws/copilot-cli#4651)
(Not related to this PR but required to deploy to dev due to bug aws/copilot-cli#4651)
(Not related to this PR but required to deploy to dev due to bug aws/copilot-cli#4651)
Hello team.
I have a service running on Fargate and I'm trying to change it to fargate_spot.
I changed my service manifest from
to
When trying to run a copilot svc deploy it returns an error when trying to update the service.
The following resource(s) failed to update: [Service].
Resource handler returned message: "Invalid request provided: CreateService error: SC service is already used by arn:aws:servicediscovery:us-east-1:ACCOUNT:namespace/ns-xxx (Service: AmazonECS; Status Code: 400; Error Code: InvalidParameterException; Request ID: 25213558-e374-4986-b4d2-a19eff2ae660; Proxy: null)" (RequestToken: xxxx, HandlerErrorCode: InvalidRequest)
The text was updated successfully, but these errors were encountered: