Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Smart Web Security
  • Getting started
    • All guides
      • Creating a profile
      • Editing basic profile settings
      • Getting information about a profile
      • Deleting a profile
      • Adding a rule
      • Editing a rule
      • Deleting a rule
    • Address lists
    • Viewing operations
    • Configuring monitoring
    • Setting up alerts
    • Configuring logging
    • Overview
    • Security profiles
    • WAF
    • ARL (request limit)
    • Rules
    • Conditions
    • Lists
    • Protecting domains
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. ARL profiles
  3. Editing basic profile settings

Updating basic ARL profile settings

Written by
Yandex Cloud
Updated at June 9, 2025
Management console
Terraform
API
  1. In the management console, select the folder the ARL profile resides in.
  2. From the list of services, select Smart Web Security.
  3. In the left-hand panel, select ARL profiles.
  4. In the row with the profile you need, click and select Edit.
  5. In the window that opens, edit the following parameters:
    • Name.
    • Description.
    • Labels. To add a label, click Add label.
  6. Click Save.

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or its mirror.

If you do not have Terraform yet, install it and configure its Yandex Cloud provider.

To update basic ARL profile parameters:

  1. Open the Terraform configuration file and edit the part with the yandex_sws_advanced_rate_limiter_profile resource description:

    # ARL profile
    
    resource "yandex_sws_advanced_rate_limiter_profile" "arl-profile" {
      name        = "<new_profile_name>"
      description = "<new_profile_description>"
    
      # Rule 1
    
      advanced_rate_limiter_rule {
        name        = "<rule_name>"
        priority    = <rule_priority>
        description = "<rule_description>"
        dry_run     = true
    
        static_quota {
          action = "DENY"
          limit  = <rule_limit>
          period = <rule_period>
          condition {
            request_uri {
              path {
                exact_match = "/api"
              }
            }
          }
        }
      }
    }
    

    For more information about the yandex_sws_advanced_rate_limiter_profile resource parameters, see the provider documentation.

  2. Apply the changes:

    1. In the terminal, go to the directory where you edited the configuration file.

    2. Make sure the configuration file is correct using this command:

      terraform validate
      

      If the configuration is correct, you will get this message:

      Success! The configuration is valid.
      
    3. Run this command:

      terraform plan
      

      You will see a detailed list of resources. No changes will be made at this step. Terraform will show any errors found in your configuration.

    4. Apply the changes:

      terraform apply
      
    5. Type yes and press Enter to confirm the changes.

    You can check the resources’ updates in the management console.

Use the update REST API method for the AdvancedRateLimiterProfile resource or the AdvancedRateLimiterProfile/Update gRPC API call.

See alsoSee also

  • Deleting an ARL profile
  • Adding a rule to an ARL profile
  • Updating a rule in an ARL profile

Was the article helpful?

Previous
Creating a profile
Next
Getting information about a profile
© 2025 Direct Cursus Technology L.L.C.