Verbindung und grundlegende EC2-Verwaltung
Greifen Sie sicher auf Ihre EC2-Instanz zu, verwalten Sie deren Lebenszyklus und lernen Sie grundlegende Überwachungsmetriken kennen.
Verbindung und grundlegende EC2-Verwaltung ist eine kostenlose AWS for Backend Developers (EC2, S3, RDS, Lambda)-Lektion auf CoddyKit. Dies ist Lektion 3 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des AWS for Backend Developers (EC2, S3, RDS, Lambda)-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der AWS for Backend Developers (EC2, S3, RDS, Lambda)-Kurs umfasst insgesamt 4 Lektionen.
Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.
Getting Inside Your Server
Your instance is running — now you need to get inside it. This lesson covers connecting securely and managing the basics: starting, stopping, and monitoring.
SSH Keys: Your Digital Lock
Your SSH key pair unlocks the instance: the private .pem stays on your machine, the public key lives on the server. SSH uses both to log you in without a password.
Connecting with SSH (Linux/macOS)
On Linux or macOS, connect with the ssh command and your key. First lock down the key's permissions, then point it at your instance's public DNS or IP.
ssh -i "my-key-pair.pem" ec2-user@ec2-18-200-0-1.compute-1.amazonaws.comConnecting from Windows
On Windows, WSL lets you use the same ssh command as Linux. PuTTY (convert the key to .ppk first) and Git Bash also work well.
EC2 Instance Lifecycle States
An instance moves through lifecycle states: pending, running, stopping, stopped, shutting-down, and terminated. Stopped still costs storage; terminated is gone for good.
Stopping and Starting Your Instance
Stopping saves the instance's state to disk so you can restart it — handy for pausing costs or changing instance type. Note: a fresh public IP is assigned on restart unless you use an Elastic IP.
Terminating Your Instance Safely
Terminating permanently deletes an instance and its instance-store data; attached EBS volumes persist by default. It's irreversible — always double-check first.
Basic Monitoring with CloudWatch
CloudWatch collects metrics from your AWS resources, including EC2. Check the Monitoring tab on an instance for real-time health and performance.
Key EC2 Metrics
Watch the key EC2 metrics: CPU utilization (high means under-resourced), network in/out for traffic bottlenecks, and disk read/write operations.
Quick Check on Instance States
Your EC2 instance is currently in the Stopped state. Which of the following is TRUE about its current status and billing?
Recap: Managing Your EC2
Recap: connect over SSH with a key pair, know the lifecycle states and their cost and data implications, and watch CloudWatch metrics like CPU and network.
Häufig gestellte Fragen
Ist die Lektion „Verbindung und grundlegende EC2-Verwaltung“ kostenlos?
Ja — der vollständige Text von „Verbindung und grundlegende EC2-Verwaltung“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des AWS for Backend Developers (EC2, S3, RDS, Lambda)-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der AWS for Backend Developers (EC2, S3, RDS, Lambda)-Kurs umfasst insgesamt 4 Lektionen.
Was lerne ich in „Verbindung und grundlegende EC2-Verwaltung“?
Greifen Sie sicher auf Ihre EC2-Instanz zu, verwalten Sie deren Lebenszyklus und lernen Sie grundlegende Überwachungsmetriken kennen. Du übst AWS for Backend Developers (EC2, S3, RDS, Lambda) mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.
Brauche ich Erfahrung, um AWS for Backend Developers (EC2, S3, RDS, Lambda) zu starten?
Keine Vorkenntnisse erforderlich. AWS for Backend Developers (EC2, S3, RDS, Lambda) auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 3 von 4.
Wie lange dauert die Lektion „Verbindung und grundlegende EC2-Verwaltung“?
Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.
Kann ich in dieser AWS for Backend Developers (EC2, S3, RDS, Lambda)-Lektion Code schreiben und ausführen?
Ja. Jede AWS for Backend Developers (EC2, S3, RDS, Lambda)-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.
Alle Lektionen in diesem Kurs
- Einführung in AWS für Backend-Entwicklung
- Ihre erste EC2-Instanz starten
- Verbindung und grundlegende EC2-Verwaltung
- Auto Scaling und Load-Balancing