eosnetworkfoundation / engineering

A workspace for documentation by Engineering primarily regarding process
MIT License
0 stars 0 forks source link

DNS Migration - learn.eosnetwork.com #59

Closed nsjames closed 11 months ago

nsjames commented 1 year ago

We want to change servers for the learn portal on learn.eosnetwork.com. In order to do so, we need to point the DNS to the hosted zone.

I've forwarded the information to @kj4ezj in a private message, this ticket is merely for tracking purposes.

See Also

kj4ezj commented 1 year ago

ENF Automation, in collaboration with Engineering, intentionally excluded learn.eosnetwork.com from the migration of Developer Relations cloud infrastructure in issue 54, issue 55, and issue 56 because the DevHub "learn portal" system was built out using modern tooling and Amazon Web Services (AWS) best-practices.

Web Hosting

Automation estimates that, based on cloud costs and website usage figures, the proposed migration destination infrastructure will cost the same amount of money as one year of the existing web hosting infrastructure in just the first 145 hours. The existing web hosting infrastructure already has a self-service CICD deployment (frontend.yml, frontend-publish.sh) that is actively being used to great affect. For these reasons, Automation and Engineering recommend against any web hosting migrations.

Database

The database hosting represents 99.98% of the cost of the DevHub "learn portal" due to the m6a.2xlarge instance type requested by Developer Relations to host Couchbase. This request was not arbitrary on DevRel's part, it was based on Couchbase hardware requirements. Automation has identified this as the greatest cost factor and recommends reducing this cost by using a managed database provider, such as DocumentDB, as @tedcahalleos initially recommended.

Firebase is a managed database provider identified by Developer Relations that would address these cost concerns, but Automation recommends against this tool due to privacy issues that could put our community at risk.

Recommendations

Automation recommends that, instead of any DNS migration, the ENF elevate Developer Relations IAM user permissions in the devhub AWS account such that they can manage all of the infrastructure in a self-service manner, if they cannot already. Such an escalation will not preclude the use of Firebase or any of the other intended implementation details shared via IM. Finally, Automation recommends the use of a managed database provider that respects user privacy. Specific cost figures will be shared via IM instead of here.

nsjames commented 1 year ago

The change will lower costs by a factor of 10 instantly. Everything is already set up on the new server.

You can elevate my IAM there, I'll handle tearing everything down and pointing the DNS.

kj4ezj commented 11 months ago

Leadership directed Automation to close this ticket as stale because we have not heard from the customer in 35 days, so this work must not be important.