02 / STEP-BY-STEP DEPLOYMENTPAGE 2 OF 4

Network rules: let visitors in, keep administration restricted

A security group behaves like a virtual firewall. It controls which network traffic is allowed to reach the instance.

Understand the Required Inbound Rules

Security groups default to blocking all inbound traffic. We must explicitly define which ports to open, who may connect, and why:

RulePortSourceWhy
SSHTCP 22My IP / approved administration networkLets the administrator connect to the Linux server securely via terminal.
HTTPTCP 80Anywhere IPv4 (0.0.0.0/0)Lets public visitors open the workshop website in their web browser.

Opening HTTP access to the internet is intentional for this basic public website exercise. Administrative access is completely different and should remain restricted. Where the assigned environment uses IPv6, the instructor will determine whether an additional HTTP IPv6 rule (::/0) is required.

DO NOT OPEN SSH TO EVERYONE

Keep SSH port 22 restricted to My IP or the approved administration network. Do not use 0.0.0.0/0 for SSH just because it is easier.

If your local network changes and SSH stops working, verify your current IP and update the security group rule rather than making SSH accessible to the entire internet.

Step 3 — Configure networking

Follow these sequential actions in the EC2 Console Network Settings panel:

  1. 1In the EC2 launch page, choose Create security group (or select the workshop-designated group).
  2. 2Configure an inbound rule for SSH on TCP port 22, restricted to your IP address (select My IP) or the organiser-approved administration network.
  3. 3Configure an inbound rule for HTTP on TCP port 80, with source 0.0.0.0/0 (Anywhere IPv4) for this public website exercise.
  4. 4Ensure the selected subnet and route configuration support public IPv4 assignment (Auto-assign public IP: Enable).
  5. 5Follow the organiser's specific instructions if using a preconfigured VPC, subnet, or shared security group. Do not modify unrelated networking resources in a shared training account without permission.
Crucial Diagnostic Fact: A security group rule permits traffic; it does not by itself guarantee that an instance is reachable. The subnet route table, internet gateway, public IP assignment, instance status, and running web server daemon must also be operational.

Step 4 — Launch and confirm instance readiness

Once your instance launches, confirm that it passes AWS baseline hardware and software health checks before attempting an SSH connection:

  1. 1
    Review all instance settings, key pair, and firewall rules in the summary panel, then click Launch instance.
  2. 2
    Open the EC2 Instances console page and select your newly launched server.
  3. 3
    Wait for the Instance state to transition from Pending to Running.RUNNING
  4. 4
    Wait 1–2 minutes until Status check reports 2/2 checks passed.STATUS CHECKS PASSED
  5. 5
    Locate and copy the Public IPv4 address in the instance details tab. Keep this address available for SSH and the website verification.PUBLIC IPV4 AVAILABLE

If the Public IPv4 address is blank, your instance was launched into a subnet without public auto-assignment enabled. Ask your workshop mentor for the designated subnet.

SCREENSHOT TARGETS 2 + 3 • WORKSHOP EVIDENCE

Capture the inbound rules table showing SSH 22 restricted to My IP and HTTP 80 open to public IPv4 traffic. Then capture the Instances view showing the instance as Running, passed status checks, and its public IPv4 address. Blur account IDs and remove any sensitive information before sharing.

SCREEN 02Network Rules

SSH 22: restricted • HTTP 80: public

SCREEN 03Instance Status

Running • Status checks passed • Public IPv4

Full-Scale AWS Deployment BlueprintArchitecture Map

Interactive end-to-end cloud pipeline: from Git starter repository to live Nginx server.

AWS Cloud Launchpad Architecture and Deployment Blueprint
EC2 • VPC • NGINX • GIT • SECURITY GROUPS
Source: src/public/assets/image.png
AWS LAUNCHPAD 2026•Hosted by AWS SBG PSIT