Red Hat 3scale API Management on OpenShift
  • Red Hat 3scale API Management on OpenShift Demo
  • documents
    • Access Control based on IP Address
    • AWS S3 Bucket Setup Guide
    • Expose SOAP API Through API Gateway
    • Red Hat 3scale API Management Installation Guide
    • Secure Your API With OpenID Connect OAuth 2.0 Standard
    • Onboarding New API Consumer
    • Virtual Machine Preparation
    • Limit API calls using Rate Limit
    • Secure API with API Key-pair
    • Running Self-Managed API Gateway On VM
    • Self-Managed API Gateway On OpenShift
    • Testing Demo Applications
Powered by GitBook
On this page
  1. documents

Virtual Machine Preparation

PreviousOnboarding New API ConsumerNextLimit API calls using Rate Limit

Last updated 2 years ago

  1. Request OpenShift 4 Client VM from

  2. You'll get an email after VM gets provisioned successfully. SSH to VM with the credential in the mail.

  3. After login to VM, switch to root user with this command.

    sudo -i
  4. Verify if podman is installed.

    podman version

    Sample output:

    Version:            1.6.4
    RemoteAPI Version:  1
    Go Version:         go1.12.12
    OS/Arch:            linux/amd64
  5. Install firewalld with this command so you can configure firewall rule.

    yum install -y firewalld
  6. Start firewalld service with this command.

    systemctl start firewalld
  7. Verify if firewalld service started successfully.

    systemctl status firewalld

    Sample output:

    ● firewalld.service - firewalld - dynamic firewall daemon
    Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
    Active: active (running) since Tue 2022-10-25 15:39:44 UTC; 49min ago
        Docs: man:firewalld(1)
    Main PID: 30795 (firewalld)
    CGroup: /system.slice/firewalld.service
            └─30795 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
  8. Allow incomming traffic on port 80.

    firewall-cmd --zone=public --add-port=80/tcp --permanent
    firewall-cmd --reload
labs.opentlc.com
prepare vm
prepare vm