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

EGIS cost savings - can we use just the EKS version of ArcGIS enterprise for testing in dev/ti without ill effect? #983

Open
EdisonOrellana-NOAA opened this issue Nov 19, 2024 · 5 comments
Assignees
Labels
Priority - High Priority Level Task 2 GAMA Task 2
Milestone

Comments

@EdisonOrellana-NOAA
Copy link
Contributor

Investigate

Can we safely retire ArcGIS enterprise in dev/ti in favor of EKS ArcGIS as a cost savings measure?

Cost

  • Do we need both versions of ArcGIS Enterprise in the Dev account to support our testing of pipelines and services or could we just use the EKS version even though in UAT and Prod we'd still have the regular version of ArcGIS Enterprise?
  • EGIS tags in the Dev account spans the Dev and TI VPCs show that EGIS costs are ~$500 per day
  • EKS: Not sure if there is a representation for the control nodes and service itself that we can tag
@shawncrawley
Copy link
Collaborator

I think the plan to test this and move forward with retiring the non-EKS version is pretty straightforward. It is this:

  1. Refactor Terraform code to replace hard-coded if environment == "prod" ? "maps.water.noaa.gov" : ... logic with a variable passed in from the terraform environment variables file (i.e. these).
  2. Refactor this line to hard-code "server" if the GIS_HOST environment variable contains "-testing" and to read it from the service_metadata otherwise.

I think that's about it. Once a PR is submitted with these updates, I can deploy to TI for testing. If it works, then we should be good to move forward with the plan to decommission the EC2-based EGIS machines.

@DrixTabligan-NOAA
Copy link
Collaborator

DrixTabligan-NOAA commented Nov 20, 2024 via email

@EdisonOrellana-NOAA EdisonOrellana-NOAA added the Priority - High Priority Level label Nov 20, 2024
@shawncrawley
Copy link
Collaborator

After doing some testing today, I realized that to get EKS to work and be able to shut off the EC2-based system, we'll have to get the "MapxToSD" Geoprocessing Service published on the EKS server... @EdisonOrellana-NOAA

shawncrawley added a commit that referenced this issue Nov 27, 2024
@EdisonOrellana-NOAA
Copy link
Contributor Author

Tested in ti and has successfully published services and notified services for which data is missing or outdated. Done!

@EdisonOrellana-NOAA
Copy link
Contributor Author

Reopening to keep ticket open for issues with service publish geoprocessing service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority - High Priority Level Task 2 GAMA Task 2
Projects
None yet
Development

No branches or pull requests

4 participants