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

AWS|EC2 - Automate Networking Troubleshooting in CLI Tool #1

Open
1 of 10 tasks
holdennguyen opened this issue Jan 9, 2025 · 0 comments
Open
1 of 10 tasks

AWS|EC2 - Automate Networking Troubleshooting in CLI Tool #1

holdennguyen opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@holdennguyen
Copy link
Owner

holdennguyen commented Jan 9, 2025

Contact Details

[email protected]

Task Description

Develop a feature in the CLI tool to automate the troubleshooting of networking issues for AWS EC2 instances. This feature should encompass the following:

  1. Connectivity Verification:
  • Check SSH, ping, and telnet connectivity to the instance.
  • Test accessibility via specific ports as required by applications.
  1. Network Configuration Checks:
  • Validate the security group, NACL, and route table configurations.
  • Confirm correct subnet, Internet Gateway, and Elastic IP configurations.
  1. Instance Networking Details:
  • Display the instance’s private/public IP, DNS settings, and local firewall rules.
  • Highlight discrepancies or misconfigurations.
  1. Active Network Connections and Logs:
  • Fetch and display active TCP/UDP connections.
  • Capture relevant logs (e.g., syslog, dmesg, cloud-init) related to networking.
  1. Performance Diagnostics:
  • Provide options to run tools like traceroute and TCPDump.
  • Analyze network latency and packet loss statistics

Acceptance Criteria

  • CLI tool accepts AWS EC2 instance ID or IP address as input.
  • Validates and displays instance-level networking details (IP, DNS, firewall).
  • Tests and reports on connectivity issues (SSH, ping, telnet, ports).
  • Verifies AWS configurations (security groups, NACLs, subnets, routes).
  • Fetches and displays relevant logs for troubleshooting.
  • Provides network diagnostics and highlights potential issues.
  • Outputs results in both JSON and human-readable formats.
  • Compatible with Linux-based EC2 instances.
  • Includes detailed documentation for users on how to use the feature.

Related Issues

No response

Which OS is this task related to?

Linux, Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct
@holdennguyen holdennguyen added documentation Improvements or additions to documentation task and removed documentation Improvements or additions to documentation labels Jan 9, 2025
@holdennguyen holdennguyen moved this to Todo in Cloud Sherlock Jan 9, 2025
@holdennguyen holdennguyen self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant