Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Day 25.Setting Up an EC2 Instance and CloudWatch Alarm

Lab Information The Nautilus DevOps team has been tasked with setting up an EC2 instance for their application. To ensure the application performs optimally, they also need to create a CloudWatch alarm to monitor the instance's CPU…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Lab Information



The Nautilus DevOps team has been tasked with setting up an EC2 instance for their application. To ensure the application performs optimally, they also need to create a CloudWatch alarm to monitor the instance's CPU utilization. The alarm should trigger if the CPU utilization exceeds 90% for one consecutive 5-minute period. To send notifications, use the SNS topic named datacenter-sns-topic which is already created.





Launch EC2 Instance: Create an EC2 instance named datacenter-ec2 using any appropriate Ubuntu AMI.

Create CloudWatch Alarm: Create a CloudWatch alarm named datacenter-alarm with the following specifications:

Statistic: Average

Metric: CPU Utilization

Threshold: >= 90% for 1 consecutive 5-minute period.

Alarm Actions: Send a notification to datacenter-sns-topic.











Lab Solutions



🔹 STEP 1: Launch the EC2 Instance

1️⃣ Open EC2



AWS Console → EC2 → Launch instance



2️⃣ Configure instance



Name: datacenter-ec2



AMI: Ubuntu Server (20.04 LTS or 22.04 LTS)



Instance type: t2.micro (or any allowed type)



Key pair: Select or create one (lab choice)



Network:



Default VPC



Default subnet



Security group:



Allow SSH (port 22)



3️⃣ Launch



Click Launch instance



Wait until:



State: Running



Status checks: 2/2 passed



🔹 STEP 2: Create the CloudWatch Alarm

1️⃣ Open CloudWatch



AWS Console → CloudWatch



Left menu → Alarms



Click Create alarm



2️⃣ Select the Metric



Click Select metric



Navigate:



EC2 → Per-Instance Metrics → CPUUtilization



Select the metric for datacenter-ec2



Click Select metric



3️⃣ Configure Alarm Conditions



Set the following exactly:



Setting Value

Statistic Average

Period 5 minutes

Threshold type Static

Condition Greater than or equal to

Threshold value 90

Datapoints to alarm 1 out of 1

4️⃣ Configure Alarm Actions



Alarm state trigger: In alarm



Send notification to:



Select Existing SNS topic



Choose datacenter-sns-topic



5️⃣ Name the Alarm



Alarm name: datacenter-alarm



Description (optional):



Alarm when CPU exceeds 90% for 5 minutes



Click Create alarm



🔹 STEP 3: Verify Configuration

✔ CloudWatch Alarm



State initially: OK (normal)



Metric: CPUUtilization



Threshold: ≥ 90%



Period: 5 minutes



✔ SNS Action



Alarm action shows datacenter-sns-topic











Resources & Next Steps





📦 Full Code Repository: KodeKloud Learning Labs





📖 More Deep Dives: Whispering Cloud Insights - Read other technical articles





💬 Join Discussion: DEV Community - Share your thoughts and questions





💼 Let's Connect: LinkedIn - I'd love to connect with you








Credits





• All labs are from: KodeKloud





• I sincerely appreciate your provision of these valuable resources.
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Day 25.Setting Up an EC2 Instance and CloudWatch Alarm

Thematisch verwandte Begriffe: 25Setting, Instance, CloudWatch, Alarm · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick