Skip to main content

How to Restrict Access to Your Managed AI Agent Using Security Settings on Cloudways

Learn how to use the Security settings to allow only trusted IP addresses to reach your Managed AI Agent and connect to its server over SSH.

Written by Usama Zafar

By default, your Managed AI Agent can be reached from any IP address. If you want tighter control over who can access your agent or connect to its server, you can use the Security settings to allow only specific, trusted IP addresses.

Security settings are available in two places, and each one protects a different layer.

  • The AI Agent tab controls who can reach your agent, including access to your agent dashboard. This is called ingress access.

  • The Instance tab controls who can connect to your agent's server using SSH.

This guide explains what each Security section does, how to allow specific IP addresses, how to find your IP address, and how to avoid locking yourself out.

Before You Start

Before changing your Security settings, make sure you have:

  • An active paid Cloudways account with access to Managed AI Agents.

  • A Managed AI Agent already deployed on the Cloudways Platform.

  • The IP address (or addresses) you want to allow. If you are not sure of your own IP address, see the "How to Find Your IP Address" section below.

What is an IP address?

An IP address is a unique number that identifies a device or network on the internet. Allowing an IP address means only devices connecting from that address are let through.

Important: When you allow one or more IP addresses, all other IP addresses are blocked automatically. Make sure your own IP address is on the list before you save, so you do not lock yourself out.

How Security Settings Work

Every agent has two separate Security sections. They work independently of each other.

AI Agent tab

Instance tab

What it protects

Access to your agent and its dashboard (ingress)

SSH access to your agent's server

What an allowed IP can do

Reach your agent and open its dashboard

Connect over SSH

Does it affect the other layer?

No

No

For example, allowing an IP address on the AI Agent tab does not give that IP SSH access. In the same way, allowing an IP address on the Instance tab does not give it access to your agent.

Default state

Both sections start as Allow All IP Addresses. Nothing is blocked until you add at least one IP address to the allowed list.

Note: Cloudways gives you these controls on top of the standard server protections, so you can set simple IP rules for your agent without any extra tools.

How to Restrict Access to Your Agent (AI Agent Tab)

Use this section when you want to control which IP addresses can reach your agent.

Step #1. Go to AI Agents

  • Log in to your Cloudways Platform account.

  • From the left side navigation menu, click AI Agents under the Cloudways AI section.

  • This opens the Managed AI Agents page, where all your agents are listed.

Step #2. Open Your Agent

  • Find the agent you want to secure.

  • Click the agent card to head inside the agent.

Step #3. Go to the Security Section

  • Click the AI Agent tab.

  • Find the Security section. It shows Allow All IP Addresses by default.

Step #4. Add an IP Address

  • In the IP address field, enter the IP address you want to allow.

  • If you want to allow the IP address you are using right now, enter your current IP address. See "How to Find Your IP Address" below if you are not sure what it is.

  • Add any other IP addresses you want to allow.

Step #5. Save Your Changes

  • Review the list to make sure your own IP address is included.

  • Save your changes.

  • From this point on, only the IP addresses on your list can reach your agent. All other IP addresses are blocked.

Important: This also blocks dashboard access. If your IP address is not on the list, you will not be able to open your agent dashboard using Open Agent, even though you can still manage the agent from the Cloudways Platform.

How to Restrict SSH Access (Instance Tab)

Use this section when you want to control which IP addresses can connect to your agent's server over SSH.

Step #1. Open Your Agent

  • Go to AI Agents and click the agent card to head inside the agent.

Step #2. Go to the Security Section

  • Click the Instance tab.

  • Find the Security section. It shows Allow All IP Addresses by default.

Step #3. Add an IP Address and Save

  • Enter the IP address you want to allow, such as your current IP address.

  • Add any other IP addresses you want to allow.

  • Review the list and save your changes.

  • From this point on, only the IP addresses on your list can connect to your agent's server over SSH. All other IP addresses are blocked.

Note: This setting only affects SSH. It does not change who can reach your agent. To control that, use the Security section on the AI Agent tab.

How to Find Your IP Address

Before you save an allowed list, make sure your own IP address is on it so you do not lock yourself out.

  • Use any available IP lookup tool to check your current IP address.

  • Look for your IPv4 address, which is made up of four numbers separated by dots, such as 203.0.113.25.

  • Copy it and paste it into the IP address field in the Security section.

Tip: If your internet provider changes your IP address often, or you work from different places, add each IP address you use, or leave the setting on Allow All IP Addresses.

Troubleshooting

I cannot reach my agent or open its dashboard after saving my IP list

The AI Agent tab security setting blocks both access to your agent and access to its dashboard for any IP address that is not on the list. Your current IP address may not be on the list. This can happen if your IP address changed or if you are on a different network. Connect from an IP address that is on the list, add your new IP address in the Security section, and save.

I cannot connect over SSH anymore

Your current IP address may not be on the allowed list in the Instance tab. Connect from an allowed IP address, or add your current IP address and save. Remember that SSH access is controlled only by the Instance tab, not the AI Agent tab.

I allowed an IP on the AI Agent tab, but that person still cannot use SSH

This is expected. The AI Agent tab controls access to your agent only. To allow SSH, add the IP address in the Security section of the Instance tab.

I am not sure which IP address to add

Search for "what is my IP address" in your browser to see the IP address of the network you are using right now. If you are using a VPN or proxy, the result may show that address instead. Turn off the VPN first, or add the VPN's IP address if you want to connect through it.

My IP address keeps changing

Many home and mobile networks change your IP address from time to time. If this affects you, add each IP address you use, or leave Security on Allow All IP Addresses.

I want to go back to allowing everyone

Remove the IP addresses from the allowed list so the section returns to Allow All IP Addresses, then save.

Frequently Asked Questions

Is anything blocked by default?

No. Both Security sections start as Allow All IP Addresses, so nothing is blocked until you add an IP address.

What happens to IP addresses that are not on my list?

They are blocked automatically. You do not need to block them one by one.

Does the AI Agent tab setting also block the dashboard?

Yes. Only the IP addresses on your list can reach your agent and open its dashboard.

Does allowing an IP on the AI Agent tab also allow SSH access?

No. The two sections work separately. The AI Agent tab covers access to your agent, and the Instance tab covers SSH.

Can I add more than one IP address?

Yes. Add each IP address you want to allow.

Can I block a specific country?

Not at this time. Security settings work by allowing specific IP addresses.

Do I need to restart my agent after changing these settings?

No. Your changes take effect once you save them, and you do not need to restart your agent.

Related Articles

Need More Help?

If you get stuck, reach out to our support team via chat. You can also learn from and share tips with other users in our communities.

That's it! We hope this article was useful.

Did this answer your question?