UCDavisLibrary / main-wp-website-deployment

Deployment files and commands for library.ucdavis.edu
1 stars 1 forks source link

V2 archival setup #17

Closed qjhart closed 2 years ago

qjhart commented 2 years ago

The current website will, in the future be know as v2. (v1 being the current old version) On deployment of the new website, we will need a plan to make the V2 version available (and publically so) for a short time. One version maintains the current setup, and the second method preserves the V2 version using the development docker images.

Maintain current setup.

In this scenario, we would replicate the strategy that we use create the current rc.library.ucdavis.edu site. This has the simplicity of following our current methodology, but requires a commited VM for the V2 server. In this method we would

Dockerized Version

In this scenario, we would use the local development dockerized site to archive a snapshot. This is a bit more complicated to initialize, but can be maintained on the same blue/gold VM's as the current site. We would also need to save the V1 docker images. The steps are similar:

qjhart commented 2 years ago

@spelkey-ucd / @jrmerz / @jniffenegger I was asked by @NeilWeingarten to create a set of tasks for the old library site to be added to the current go live list. Above are two potential setups. I prefer the docker version. Let me know what you think.

spelkey-ucd commented 2 years ago

Personally, I would like access to v1 and v2 restricted to the staff vpn. Is this possible if they are hosted on blue/gold? @jniffenegger ? I have no idea how that bit of networking works...

jniffenegger commented 2 years ago

I cannot block sites at the firewall if they are all hosted on the same IP as it is the IP that the rules are set for. If this is to be hosted on the same server (IP) as the production site then restricted it will have to be done at the server via htaccess.

James Niffenegger Unix Administrator Shields Library - ITIS UC Davis


From: Steve @.***> Sent: Tuesday, July 12, 2022 4:59 AM To: UCDavisLibrary/main-wp-website-deployment Cc: James Niffenegger; Mention Subject: Re: [UCDavisLibrary/main-wp-website-deployment] V2 archival setup (Issue #17)

Personally, I would like access to v1 and v2 restricted to the staff vpn. Is this possible if they are hosted on blue/gold? @jniffeneggerhttps://github.com/jniffenegger ? I have no idea how that bit of networking works...

— Reply to this email directly, view it on GitHubhttps://github.com/UCDavisLibrary/main-wp-website-deployment/issues/17#issuecomment-1181671725, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJSXNNPUJYI65I36B45CITVTVM2ZANCNFSM527HCEJA. You are receiving this because you were mentioned.Message ID: @.***>

qjhart commented 2 years ago

@spelkey-ucd It's possible to use the router to limit access to the VPN , and / or adding a simple CAS identifier. I think for v2, (the current site) It might be better to replicate that CAS authentication that we use for staff?

qjhart commented 2 years ago

I've added a diagram that combines this with the production site, and the special collection redirect issues.