> For the complete documentation index, see [llms.txt](https://docs.moneyonchain.com/omoc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moneyonchain.com/omoc/setup-your-machine-and-run-the-service/set-static-ip.md).

# Set static IP

Official aws documentation

* &#x20;Allocation: <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#using-instance-addressing-eips-allocating>
* Association: <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#using-instance-addressing-eips-associating>

#### Allocation

* Log in to your aws account and look for the ec2 service

![](/files/-Mbah__DNU78IKP3esxT)

* From the ec2 menu go to **Network & Security** and click on Elastic IPs

![](/files/-Mbb6zmF4UwOKvLnkeFm)

* From the elastic ips menu click on **Allocate Elastic IP Address**

![](/files/-MbbAuuZBPlDFrkabX22)

* Lastly, just click on **Allocate**

![](/files/-MbbBF9oS2voLx8IYkia)

#### Association

* Now select your ip and click on the actions buttons, then click on **Associate Elastic IP address**

![](/files/-MbbPsLoF6JNbGwi8d38)

* Finally, select your ec2 instance id and its private ip address. Then click on **Associate.**

![](/files/-MbbSYHuwTo035e0lT6Q)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.moneyonchain.com/omoc/setup-your-machine-and-run-the-service/set-static-ip.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.
