Security Groups

Security Groups

This article explains how to create and configure a security group for your Public Cloud Instances.

A security group acts as a virtual firewall for your Public Cloud instances, allowing you to control inbound and outbound traffic.

Prerequisites

  • Access to the Customer Portal account
  • Enabled Leaseweb Public Cloud account.

Steps to follow

Log in to the Customer Portal

  1. Open your browser and go to the Customer Portal
  2. Sign in with your Leaseweb account credentials

Navigate to Security Groups

  1. From the left-hand menu, go to Public Cloud
  2. Under the submenu, click Security Groups
  3. You will see a list of all available security groups

Create a New Security Group

  1. Click the Create Security Group button
  2. Fill in the details:
    • Name: Provide a descriptive name (e.g., web-frontend-sg)
    • Description: Briefly explain the purpose (e.g., “Allows HTTP/HTTPS traffic for web servers”)

Add Firewall Rules

  1. Click + New Firewall Rule
  2. A pop-up window will appear
  3. Select the Protocol from the dropdown (TCP, UDP, ICMP, or ALL)
  4. Enter:
    1. Source Network: Define the IP/CIDR that can access 
    2. Start Port / End Port: Specify the port or range
  5. Click Save to add the rule

Save the Security Group

  1. Once you’ve added the necessary rules, click Create Group
  2. Your new security group will now appear in the list

Attach a security group while launching an instance

  1. Navigate to Instances -> Go to Public Cloud Instances.
  2. Launch a New Instance
    1. Click Launch an Instance
    2. Enter a name for your instance
    3. Select an OS image
    4. Choose an instance type
  3. Attach a Security Group
    1. In the Security Groups section, click Attach Groups
    2. Select a security group that has already been created
    3. Click Confirm
  4. Your selected security group will now be attached to the instance
  5. Continue with the remaining steps to launch your instance