aws / aws/aws-codedeploy-agent

Feature Request: Apply Proxy Only to CodeDeploy Endpoint, Not S3

Open
#403 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
337
Forks
196
Avg merge
10h 54m
Merged PRs (30d)
4

Description

Description:
We are currently using the AWS CodeDeploy agent in our deployment pipeline. However, we have encountered a limitation with the proxy settings. The agent only offers a single proxy setting, which is applied to all endpoints. We need to use a proxy to access the CodeDeploy endpoint but not for accessing S3. This limitation is causing issues in our deployment process.

Proposed Solution:
We propose adding a configuration option to apply the proxy setting only to the CodeDeploy endpoint and not to S3. This would allow users to configure the proxy specifically for CodeDeploy, while allowing direct access to S3, providing greater flexibility and resolving the issues we are facing.

Use Case:
Our organization uses a proxy to access the CodeDeploy endpoint for security and compliance reasons. However, accessing S3 through the same proxy introduces latency and connectivity issues. By having the ability to apply the proxy only to the CodeDeploy endpoint, we can ensure efficient and secure access to both services.

Steps to Reproduce:

  1. Configure the AWS CodeDeploy agent with a proxy setting.
  2. Attempt to deploy an application using CodeDeploy.
  3. Observe that the proxy setting is applied to both the CodeDeploy endpoint and S3, causing issues with S3 access.

Expected Behavior:
The AWS CodeDeploy agent should allow the proxy setting to be applied only to the CodeDeploy endpoint, enabling users to configure the proxy as needed for CodeDeploy while accessing S3 directly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the CodeDeploy agent reads its proxy configuration and establishes connections to CodeDeploy and S3. Confirm the requested configuration behavior and identify the existing tests covering proxy use. Done means CodeDeploy requests use the configured proxy while S3 access can bypass it, with tests demonstrating both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.