# Security

### Security Group

It is a madatory requirement to apply Security Group when you deploy the ECS/BMS/LECS, you can use the default security group and create your own. And the security group has two directions.

{% tabs %}
{% tab title="In Direction" %}

<figure><img src="/files/ndSpbEcIPjsF4Es83FFm" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Out Direction" %}

<figure><img src="/files/RRHJXAc1ovc8F3ZoiCp6" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}

**Kind Tips**

* **Priority:** The optional priority range is 1-100, with a default value of 1, representing the highest priority.
* **Port Range:** The value range is 1 to 65535. For example, you can set it as "1/200" or "80/80". The value "-1/-1" cannot be set independently and indicates no port restrictions.
* **Authorization Object:** Set the CIDR for the authorization object based on your actual scenario. Note that **0.0.0.0/0** or a mask of 0 means access from all IPs is allowed or denied. Please handle this configuration with caution.
  {% endhint %}

### SSH Key

Click on "SSH Key" from and left side menu, and click on "Create" Button, and you will see this screen. Create a "Public Key Name" and paste your public key into the "Public Key" box

<figure><img src="/files/XGiBLugv8zO8pyRbGOVO" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Question about generating your SSH Public Key?&#x20;

See [This](/a-fieldtech-docs/compute-power/interactive-blocks/generating-an-ssh-key-pair.md) or Search "Generating SSH Public Key" from public search engine
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.a-fieldtech.com/a-fieldtech-docs/compute-power/interactive-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
