Skip to content

Deployment uses too many s3 requests #1087

@hum-n

Description

@hum-n

Environment information

System:
  OS: macOS 14.1.2
  CPU: (8) arm64 Apple M2
  Memory: 151.31 MB / 16.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.11.0 - /usr/local/bin/node
  Yarn: undefined - undefined
  npm: 10.2.4 - /usr/local/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/backend: 0.12.1
  @aws-amplify/backend-cli: 0.11.1
  aws-amplify: 6.0.16
  aws-cdk: 2.128.0
  aws-cdk-lib: 2.128.0
  typescript: 5.3.3
AWS environment variables:
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

Description

After barely starting to test gen2, my s3 put requests are already at 2000, which is the free tier limit.

I didn't look at the number exactly, but it probably creates more than a hundred request for a full sandbox deployment, which happens quite often, when it can't be hot swapped.

Would it be possible to optimize / reduce the number of requests a sandbox deployment uses? I can't imagine how many requests it would need to create a full fledged app. Thanks.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencyIssue related to upstream dependencyfeature-requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions