# Securing Cloud Instance

These are recommendations for securing Cloud instances and deployments

## AWS

#### Limit access

Use IAM roles and policies to limit what users and services can access on instance

{% embed url="<https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.html>" %}

#### Use SSM for SSH connections

{% embed url="<https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html>" %}

#### EC2 best practices

{% embed url="<https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-best-practices.html>" %}

## GCP

#### Best practices

{% embed url="<https://cloud.google.com/security/best-practices>" %}


---

# 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.hop.exchange/developer-docs/hop-node/resources-and-best-practices/securing-cloud-instance.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.
