aws-samples / aws-samples/sample-cloud-spend-mcp-server

Struggling to run it in ec2 instance

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I can't run this in EC2 instance | return await get_async_backend().run_sync_in_worker_thread(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/ssm-user/sample-cloud-spend-mcp-server/.venv/lib64/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2476, in run_sync_in_worker_thread
| return await future
| ^^^^^^^^^^^^
| File "/home/ssm-user/sample-cloud-spend-mcp-server/.venv/lib64/python3.12/site-packages/anyio/_backends/_asyncio.py", line 967, in run
| result = context.run(func, *args)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| OSError: [Errno 9] Bad file descriptor need a simple doc where I run cleanly on ec2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported run on an AWS EC2 instance and review the repository's current setup instructions alongside the shown Python/AnyIO bad-file-descriptor error. Document the required EC2 setup and clean run steps, with a successful error-free run as the definition of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.