GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Feature] Sidecar support · Issue #875 · aws/copilot-cli
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
[Feature] Sidecar support #875Copy link Copy link Closed Labels type/designIssues that are design proposals. DescriptionOverviewCurrently adding sidecar container in Type of SidecarsA sidecar container is a second container added to the task definition. We can generally categorize sidecar containers into three types: explicit sidecar, implicit sidecar (hidecar), and generic sidecar. Explicit SidecarExplicit sidecar is a type of sidecar container which requires users to customized/configured image and explicitly performs as a sidecar container. To take NGINX as an example, users need to configure nginx.conf file and build their own NGINX image. Most of users are aware of the fact that they have NGINX as a sidecar image for their service. Implicit Sidecar (Hidecar)Implicit sidecar, on the contrary, doesn’t require users to have their own sidecar image and most of users do not even know the existence of the sidecar container. For example, currently Firelens as a sidecar container help users to route their app log. However, the images used by the sidecar container are basically the same so that users do not need to configure the image itself. AppMesh can be another example since most of cases the sidecar containers consume the same envoy image. Generic SidecarGeneric sidecars are sidecar containers that are not supported as a pattern. For example the sidecar requires adding/modifying other resources and IAM policies. According to our tenet Make difficult simple and make impossible possible, we support generic sidecars by allowing them to add Design ProposalFor explicit sidecar containers, we’ll have a “sidecars” field in the manifest and users can configure their explicit sidecar containers. And for implicit sidecar containers it should be case by case. For example, we’ll have a “firelensLog” field for configuring the log for their application, in which users can configure Firelens if they’d like to use fluentbit to route their log elsewhere. For generic sidecars, we’ll introduce how to add them as sidecars in Explicit SidecarWe’ll take X-ray as an example for adding explicit sidecars. To add an X-ray sidecar container to their application, users need to modify their manifest after running Manifest After configuring the manifest, users can run Accommodate with Current Commands app show app logs app status Implicit SidecarsSince for implicit sidecars the setting will be case by case. Here we will start with Firelens. Manifest By default, we'll set the destination to be CloudWatch, and users can modify the destination to somewhere else. However, permission file might be required. See more Firelens example in Appendix. Accommodate with Current Commands app show app logs app status Generic SidecarsFor generic sidecars that we don't have a pattern yet, users can add those sidecars with addon stack. However, since addon stack can only add new resources/policies, if their sidecar containers require any main CFN changes, then they need to modify the CFN template generated by AppendixSend to multiple destinationsextra.conf permissions.json Send logs to datadogReacted by Farmaan Elahi, Milos Solujic, Torin Taylor, Shunji Zhan and Clay Risser Activity
MetadataMetadataAssigneesLabelstype/designIssues that are design proposals. TypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |