Skip to content

fix(ci): update EC2 deploy host to current instance IP (3.73.121.74)#43

Merged
overthelex merged 1 commit into
mainfrom
fix/deploy-ec2-ip
Jul 2, 2026
Merged

fix(ci): update EC2 deploy host to current instance IP (3.73.121.74)#43
overthelex merged 1 commit into
mainfrom
fix/deploy-ec2-ip

Conversation

@overthelex

Copy link
Copy Markdown
Owner

Deploy job was failing with ssh: connect to host 63.180.21.221 port 22: Connection timed out.

Root cause (confirmed via AWS API): the aipromo instance i-0954843ea04ae47b6 is running but its public IP is now 3.73.121.74 (no Elastic IP → IP changed on a stop/start). The workflow EC2_HOST was hardcoded to the stale 63.180.21.221. DNS for the site already resolves to the current IP, port 22 is open in aipromo-sg (0.0.0.0/0), and the self-hosted runner holds the deploy key — so only the IP needed updating.

Follow-up recommendation: allocate an Elastic IP to stop this recurring (needs a coordinated DNS update).

🤖 Generated with Claude Code

The aipromo EC2 instance (i-0954843ea04ae47b6) public IP changed to
3.73.121.74; the workflow still pointed at the stale 63.180.21.221, so
deploys failed with SSH connection timeout. DNS already resolves to the
current IP. Port 22 is open in aipromo-sg and the self-hosted runner holds
the deploy key, so this one-line fix restores deploys.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@overthelex
overthelex merged commit b2a936c into main Jul 2, 2026
2 checks passed
@overthelex
overthelex deleted the fix/deploy-ec2-ip branch July 2, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant