Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARI RFC for Moving Buildpack Dependency Repositories to CFF AWS Accounts #279

Merged
merged 2 commits into from
Jul 26, 2022

Conversation

Gerg
Copy link
Member

@Gerg Gerg commented May 19, 2022

@Gerg Gerg changed the title Add ARI RFC for moving buildpack deps to CFF Add ARI RFC for Moving Buildpack Dependency Repositories to CFF AWS Accounts May 19, 2022
@Gerg Gerg requested review from dsboulder and emalm May 19, 2022 00:04
@Gerg
Copy link
Member Author

Gerg commented May 19, 2022

@Gerg Gerg requested a review from christopherclark May 19, 2022 00:15
@LeePorte
Copy link
Contributor

@christopherclark is is possible to contact our AWS TAM to ask about transferring large buckets between accounts?

@Gerg
Copy link
Member Author

Gerg commented May 19, 2022

@LeePorte From their support site:

Warning: AWS Support can't transfer bucket ownership or copy Amazon S3 objects or manipulate any configuration options in AWS accounts. Also, you can't separate an AWS account from an Amazon.com account.

Source: https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-s3/

Also, the storage cost of the buckets will probably be significantly higher than just the CloudFront bandwidth costs.

@Gerg Gerg force-pushed the rfc-move-buildpacks-dependencies-to-cff branch from c0d03f7 to 2ee2dce Compare May 19, 2022 19:18
@LeePorte LeePorte added the toc label May 24, 2022
@Gerg
Copy link
Member Author

Gerg commented May 24, 2022

Other ideas we discussed in this weeks TOC meeting:

  1. Moving over the s3 buckets in addition to the CloudFront distributions
    • Probably too expensive with current bucket sizes
    • Maybe we can consider as a follow-up project if we can reduce bucket sizes
  2. Deleting old dependencies to reduce bucket sizes
    • Buildpacks don't have a deprecation policy for this currently
    • If buildpacks WG had more direct access to the download statistics, making decisions like this might be easier
  3. Re-architect buildpacks to remove centralized dependency cache
  4. Move dependency cache to github asset storage instead of AWS
  5. Worst case, VMware can fall back on working with the Linux Foundation to manually renew the certificates
    • This is a bit risky long-term, since it involves a repeated manual process every year

@Gerg
Copy link
Member Author

Gerg commented May 27, 2022

@cloudfoundry/toc I motion to commence the Final Comment Period

@emalm
Copy link
Member

emalm commented Jun 7, 2022

@Gerg Do we have an estimate on what the CloudFront costs are per month?

You also mention in the "cons" section that there could be some unforeseen issues in using CloudFront and S3 across 2 different AWS accounts: is there a plan to discover and mitigate those potential issues?

@emalm
Copy link
Member

emalm commented Jun 13, 2022

Note from TOC meeting discussion on 2022-06-07: let's document that we'll try setting up CloudFront for this in the CFF account and monitor the cost when we switch over, and if it's more expensive than expected we'll switch it back to the VMware account until we figure something out.

@Gerg
Copy link
Member Author

Gerg commented Jun 17, 2022

an estimate on what the CloudFront costs are per month?

I wasn't able to get a detailed breakdown from the team currently operating those CloudFront distributions, but, as a ceiling, they said the current cost for all CloudFront distributions on that account is ~$10k/mo.

@Gerg
Copy link
Member Author

Gerg commented Jul 5, 2022

@cloudfoundry/toc This issue has kind of stalled out. What are the next steps to getting it approved?

@emalm
Copy link
Member

emalm commented Jul 12, 2022

@Gerg We had already said in #279 (comment) that we're ok trying this out, but we'd like to document in the RFC text that we'll monitor the cost over some period of time after the CloudFront switchover and if it is more expensive than expected we'll switch it back to evaluate other options. Could you please update the proposal to that effect? Thanks!

@Gerg Gerg force-pushed the rfc-move-buildpacks-dependencies-to-cff branch from 2ee2dce to fb336bf Compare July 15, 2022 23:21
@Gerg
Copy link
Member Author

Gerg commented Jul 15, 2022

@cloudfoundry/toc I updated the RFC to incorporate your feedback. Please let me know if you would like any additional changes. Otherwise, I motion to commence the Final Comment Period.

@AP-Hunt
Copy link
Contributor

AP-Hunt commented Jul 19, 2022

@Gerg TOC agrees. We start the final comment period. Ends 26 July.

@emalm emalm merged commit f72a2ac into main Jul 26, 2022
emalm added a commit that referenced this pull request Aug 2, 2022
This change came from #279, not #333.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants