Comments (6)
- Build migration script
- Run migration during downtime (when DoEKS deployment is pushed to production)
from dandi-hub.
Option 1: Migration script
This has been more complex than I expected. The VPCs are isiolated from one another. To connect 2 VPCs, we use a "peering connection" https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
Peering connections complexity:
- each VPC
- local DNS
- AWS DNS
- Security Groups
- configuration must be changed in many objects, and they must be changed to complement one another
- the dandihub.k8s.local (current ansible deployment) and eks-hub-staging (new) are configured differently.
Option 2: AWS DataSync
https://aws.amazon.com/datasync/
$0.0125 /GB
$0.0125 * 1024 * 12 = $158 per 12TB sync
Supposedly simpler and easier to automate.
from dandi-hub.
It was tricky getting DataSync to connect, but what finally seemed to work was:
DataSync Task needs 2 Security Groups (SG)
- source location + SG for EFS1 in VPC1
- destination location + SG for EFS2 in VPC2
Each Security Group needs NFS SG Rules (8 total) granting:
- Inbound port 2029 to itself
- Outbound port 2029 to itself
- Inbound port 2029 to the other SG
- Outbound port 2029 to the other SG
from dandi-hub.
So far so good, but I want to investigate the 70,000 (out of 6 million) files that were skipped (seems like all at the very beginning, maybe dotfile-type stuff?
On the next run ill make an s3 bucket for so we can get the logs.
from dandi-hub.
Also on the next run, (as discussed in dandi standup) we'll change config from "no delete" so if any files are removed from production, they will also be removed from staging.
from dandi-hub.
Thanks for the update, Austin. Glad to hear that it is coming together.
from dandi-hub.
Related Issues (20)
- upgrade pynwb version
- FEATURE REQUEST: Configure SSH Server in dandi-hub (staging-hub) HOT 2
- Add user facing message to user-hubs
- Configure spot vs on_demand in tfvars
- Explore options for providing users with on-demand resources HOT 1
- JupyterHub intermittently *freezing* and asking to be *restart notebook* HOT 2
- Collect user-pod logs persistently
- Dandihub Down? HOT 2
- Investigate Cost Explorer API HOT 10
- Cleanup cron job HOT 6
- Do we need 2 user- schedulers?
- Spin down ansible cluster
- Create data retention policy HOT 1
- Explore and Demo Jupyterhub 5.0 Sharing features
- Explore deploying a single hub with individual groups HOT 2
- Add branch protection rules for `main` HOT 1
- Explore Nebari HOT 2
- Request: Enhance Monitoring for User-specific CPU and Disk Usage HOT 1
- Pass Spot termination warning to users
- Add dependency to install docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dandi-hub.