NASA-IMPACT / hls-project

Outline of the infrastructure and components used in the HLS project.
21 stars 0 forks source link

Migrate HLS reconciliation EC2 instance to the new CSET instance on MCP #2

Open madhuksridhar opened 5 months ago

madhuksridhar commented 5 months ago

Background

This EC2 instance is used to manage/deploy LPDAAC reconciliation workflow. We need to migrate this to a new CSET instance on MCP and remove the old EC2 instance.

Old instance name: HLS_reconciliation New instance name: HLS_reconciliation_CSET_2023 LPDAAC Reconciliation repo: hls-lpdaac-orchestration

Tasks

chuckwondo commented 5 months ago

I am unable to connect via ssh. My attempt to connect times out, but I suspect that's because my ip address isn't in the allowed ranges that I see configured for inbound on port 22. I suspect these are MCP ranges:

Connecting to the VPN didn't help. However, I was able to connect via Session Manager in the browser (via AWS Console).

chuckwondo commented 5 months ago

The instructions for setting up prerequisites are a bit off, so I'm adding notes here for adjustment. For using AWS Session Manager:

This allowed me to get all prereqs installed on the instance for user ssm-user.

We may want to move Pulumi from /home/ssm-user/.pulumi to /usr/local/pulumi and add symlink from /usr/local/bin/pulumi to /usr/local/pulumi/bin/pulumi to allow other ssh users run pulumi commands (likely user ubuntu, in addition to ssm-user).

madhuksridhar commented 3 months ago

Compiled some notes about connecting to Pulumi stack here. Need to tagup with @chuckwondo to discuss further.