aws-samples / aws-samples/bedrock-chat

[Feature Request] Support deployment from SageMaker Code Editor

Open
#479 3 comments 2 reactions 0 assignees View on GitHub
planned
Dominant language
TypeScript
Stars
1.3k
Forks
535
Avg merge
1d 12h
Merged PRs (30d)
10

Description

## Describe the solution you'd like
As we know, Cloud9 is now deprecated and SageMaker Studio Code Editor is one of the alternative as platform to edit and deploy bedrock claude chat. However, I cannot execute `cdk deploy` because of the following error.

```
`Error response from daemon: {"message":"Forbidden. Reason: [ImageBuild] 'sagemaker' is the only user allowed network input"}`
```

I am not sure this error is cause by SageMaker environment (cannot fix ) or not, but it will be nice if we can avoid this error by modifying the code.

## Why the solution needed

Can execute `cdk deploy` from SageMaker Code Editor environment.

## Additional context

* I installed docker to SageMaker by [following this article](https://qiita.com/kazuneet/items/ecfd40c67d4ad83f4855).

## Implementation feasibility

Are you willing to discuss the solution with us, decide on the approach, and assist with the implementation?

- [X] Yes
- [ ] No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `cdk deploy` from a SageMaker Code Editor environment and inspect the Docker deployment configuration associated with the reported network-input error. Determine whether the restriction is caused by the SageMaker environment or project code; done means deployment succeeds from that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, typescript
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.