connect-to-lightsail-instance — community connect-to-lightsail-instance, movie_finder, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

Об этом навыке

Идеально подходит для агентов управления облаком, которым необходимы безопасные подключения SSH к экземплярам Lightsail. How to SSH to the Movie Finder Lightsail instance. Use when the user asks to connect to the instance, check deploy logs, or run commands on the production server.

ozahirnyi ozahirnyi
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
36
Canonical Locale
ru
Detected Body Locale
ru

Идеально подходит для агентов управления облаком, которым необходимы безопасные подключения SSH к экземплярам Lightsail. How to SSH to the Movie Finder Lightsail instance. Use when the user asks to connect to the instance, check deploy logs, or run commands on the production server.

Зачем использовать этот навык

Позволяет агентам устанавливать безопасные подключения SSH к экземплярам Lightsail с помощью ключей, таких как LightsailDefaultKey-eu-central-1.pem, что облегчает эффективное управление серверами и развертывание по протоколам, таким как SSH.

Подходит лучше всего

Идеально подходит для агентов управления облаком, которым необходимы безопасные подключения SSH к экземплярам Lightsail.

Реализуемые кейсы использования for connect-to-lightsail-instance

Автоматизация развертывания серверов на экземпляры Lightsail
Отладка приложений, работающих на экземплярах Lightsail по SSH
Управление конфигурациями серверов на экземплярах Lightsail

! Безопасность и ограничения

  • Требует IP-адреса экземпляра Lightsail и учетных данных
  • Требует доступа к файлу приватного ключа (например, LightsailDefaultKey-eu-central-1.pem)
  • Ограничен экземплярами Lightsail

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is connect-to-lightsail-instance?

Идеально подходит для агентов управления облаком, которым необходимы безопасные подключения SSH к экземплярам Lightsail. How to SSH to the Movie Finder Lightsail instance. Use when the user asks to connect to the instance, check deploy logs, or run commands on the production server.

How do I install connect-to-lightsail-instance?

Run the command: npx killer-skills add ozahirnyi/movie_finder/connect-to-lightsail-instance. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for connect-to-lightsail-instance?

Key use cases include: Автоматизация развертывания серверов на экземпляры Lightsail, Отладка приложений, работающих на экземплярах Lightsail по SSH, Управление конфигурациями серверов на экземплярах Lightsail.

Which IDEs are compatible with connect-to-lightsail-instance?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for connect-to-lightsail-instance?

Требует IP-адреса экземпляра Lightsail и учетных данных. Требует доступа к файлу приватного ключа (например, LightsailDefaultKey-eu-central-1.pem). Ограничен экземплярами Lightsail.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add ozahirnyi/movie_finder/connect-to-lightsail-instance. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use connect-to-lightsail-instance immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

connect-to-lightsail-instance

Install connect-to-lightsail-instance, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Connect to Lightsail instance

Connection details

WhatValue
KeyLightsailDefaultKey-eu-central-1.pem (in project root; may be gitignored)
Userec2-user
Host3.75.113.52 (update if instance IP changed)

Key path in workspace: o:\projects\movie_finder\LightsailDefaultKey-eu-central-1.pem (Windows) or o:/projects/movie_finder/LightsailDefaultKey-eu-central-1.pem (Git Bash).

Commands

Interactive SSH (open a shell on the instance):

bash
1ssh -i "o:\projects\movie_finder\LightsailDefaultKey-eu-central-1.pem" -o StrictHostKeyChecking=accept-new ec2-user@3.75.113.52

Run a single command on the instance (no interactive shell):

bash
1ssh -i "o:\projects\movie_finder\LightsailDefaultKey-eu-central-1.pem" -o StrictHostKeyChecking=accept-new ec2-user@3.75.113.52 "COMMAND_HERE"

Examples:

  • Backend only (512 MB: Grafana off) — app on 8000, nginx on host uses 80/443 and proxies to 8000:
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml up -d"
    Without nginx (app directly on 80):
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml -f docker-compose.lightsail-direct.yml up -d"
  • Start backend + Grafana (when instance has ≥1 GB RAM):
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml -f docker-compose.monitoring.yml up -d"
  • Stop monitoring (free RAM) — запускай першим після ребуту, щоб Grafana не піднялась:
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml -f docker-compose.monitoring.yml down 2>/dev/null; docker-compose -f docker-compose.lightsail.yml up -d"
  • CodeDeploy agent log (last 250 lines):
    "sudo tail -250 /var/log/aws/codedeploy-agent/codedeploy-agent.log"
  • Docker containers (backend only):
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml ps"
  • Error logs (for debugging) — logs are kept by Docker until rotation; recent errors are still there. Agent can run this when you report an error:
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml logs --tail=300 web 2>&1 | grep -iE 'error|exception|traceback|500|failed'"
    Full last 200 lines:
    "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml logs --tail=200 web"

Script

To fetch deploy logs without typing the full SSH command:

bash
1./scripts/deploy/fetch-deploy-logs.sh "o:/projects/movie_finder/LightsailDefaultKey-eu-central-1.pem" 3.75.113.52

Manual deploy (use while CI is broken)

Deploy via CI is currently not working. Always update production yourself after pushing changes that should go to prod.

On 512 MB instance run backend only (no Grafana). Grafana eats RAM, so always stop it first, then do pull/rebuild.

Order of operations (important):

  1. Спочатку вимкнути Grafana (звільнити пам’ять), потім уже pull/build: "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml -f docker-compose.monitoring.yml down 2>/dev/null; docker-compose -f docker-compose.lightsail.yml up -d" (Якщо моніторинг не був запущений — підніме backend на 8000; nginx на 80/443.)
  2. Pull latest code: "cd /home/ec2-user/movie_finder && git fetch origin main && git reset --hard origin/main"
  3. Rebuild app image (if code changed): "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml build web" (Uses cache: only changed layers rebuild. Use build --no-cache web only when dependencies or Dockerfile changed.)
  4. Migrations + static (if needed): "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml run --rm web poetry run python manage.py migrate --noinput && docker-compose -f docker-compose.lightsail.yml run --rm web poetry run python manage.py collectstatic --noinput"
  5. Restart backend only (app on 8000, nginx на 80): "cd /home/ec2-user/movie_finder && docker-compose -f docker-compose.lightsail.yml up -d"

Після ребуту інстансу: спочатку крок 0 (щоб Grafana/observability не піднімались і не забивали пам’ять), потім 1–4. Не запускай docker-compose.monitoring.yml на 512 MB — інстанс зависає.

Логи: при роботі тільки docker-compose.lightsail.yml (web + db) усі stdout/stderr контейнера web пишуться в Docker (драйвер json-file). Перегляд: docker-compose -f docker-compose.lightsail.yml logs --tail=200 web або з grep по error (див. Error logs вище). Ротація логів за замовчуванням — логи зберігаються, поки не перезапустиш контейнер або не спрацює ротація.

If you upgrade to ≥1 GB RAM and want Grafana again, use -f docker-compose.monitoring.yml in step 4 and start with both compose files.

Error logs when something breaks

When you report an error (e.g. 500, crash), the agent can try to SSH and run the Error logs command above to fetch recent error/exception lines from the web container. Docker keeps container stdout/stderr in a log file (json-file driver) until it’s rotated or the container is removed, so recent errors usually stay available for at least the last restarts / last tens of MB of logs. They don’t disappear instantly; only when the log is rotated or the container is recreated and the old log is discarded.

Notes

  • If the instance IP changes (e.g. after rebuild), update the host in this skill and in TROUBLESHOOTING_CODEDEPLOY.md.
  • The key file is in .gitignore (*.pem); it must exist locally in the project or another path you pass to ssh -i.

Связанные навыки

Looking for an alternative to connect-to-lightsail-instance or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Создание настраиваемых плагинов виджетов для системы ленты новостей prompts.chat

flags

Logo of vercel
vercel

Фреймворк React

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Разработчик