# Simple example from https://github.com/mperham/sidekiq/wiki/Getting-Started
class HardJob
  include Sidekiq::Job

  def perform(name, count)
    # do something
  end
end

HardJob.perform_async("bob", 5)
```

### Enabling external connections

By default, newly created Key Value instances are _not_ reachable at their external URL. To keep your instance secure, you can grant external access to specific sets of IPs.

In the [Render Dashboard][dboard], go to your Key Value instance's **Info** page and scroll down to the **Networking** section:

[img]

Here you can specify IP address blocks using [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_blocks). The example above grants access to two example blocks: one for an office network and another for a single development machine.

> **These rules apply only to connections that use your Key Value instance's external URL.**
>
> Your Render services in the same region as your Key Value instance can always connect using your instance's [internal URL](#connect-to-your-key-value-instance).

If you attempt to connect from a disallowed IP address, your client will display an error like the following:

```
AUTH failed: Client IP address is not in the allowlist.
```

### Requiring auth for internal connections

By default, Key Value instances do not require authentication for internal connections over your [private network](private-network). This is why the default internal connection URL doesn't include a username or password:

```sh