3. Trusted source

Test case 1: a change to the stack goes through a pull request and the pipeline.

What you will see

3.1 Add your address

  1. On your laptop, read your public address:

    curl https://checkip.amazonaws.com
    
  2. On your laptop, in the clone, create a branch:

    git switch main && git pull
    git switch -c trusted/<your-name>
    
  3. Open config/global.yaml, line 48, trusted_mgmt_sources, and add your address as the last line of the list:

    trusted_mgmt_sources:
      # ... existing entries ...
      - "<your address>/32"
    
  4. Commit and push:

    git add config/global.yaml
    git commit -m "chore: trust <your-name>'s address"
    git push -u origin trusted/<your-name>
    
  5. Open the link that git push prints and create the pull request.

The list feeds one managed prefix list. The security groups of FortiManager, FortiAnalyzer and the FortiGates reference it, so no rule changes.

3.2 Watch the pipeline

  1. On the pull request, watch the gates, then read the plan comment: one prefix list entry added in each region.

  2. After approval and merge, open Actions and follow the deploy.yml run.

3.3 Open the appliances

  1. In Systems Manager, Parameter Store, read the admin passwords: /cloud-firewall/s01/<region>/fmg-admin-password, faz-admin-password, fgt-admin-password.

  2. In CloudShell, list the public addresses of the appliances:

    aws ec2 describe-instances \
      --filters "Name=tag:Name,Values=$PREFIX-fmg-*,$PREFIX-faz-*,$PREFIX-ew-fgt,$PREFIX-ns-fgt" \
                Name=instance-state-name,Values=running \
      --query 'Reservations[].Instances[].[Tags[?Key==`Name`]|[0].Value,InstanceId,PublicIpAddress,Placement.AvailabilityZone]' \
      --output table
    
  3. In your browser, open https://<fmg-a-address> and sign in to FortiManager as admin. The HA primary accepts changes; its dashboard shows the HA role. If fmg-a is secondary, use fmg-b.

  4. Open https://<faz-a-address> the same way for FortiAnalyzer.

  5. On your laptop, open a member over SSH:

    ssh admin@<member-address>
    

    Or, in the FortiManager primary, open Device Manager, select the member, then Remote Access.

Make every change in code, by pull request: the next deployment overwrites a change made in a GUI. Do not change the admin passwords (see the ground rules).

Check

Limits

Where to look

What Where
The allow-list config/global.yaml, line 48
Plan and deployment The pull request, and Actions
← 2. Architecture4. East-West →