Attach a static IP

The public IPv4 address that Lightsail gives an instance changes when you stop and start the instance. WordPress saves its own URL in the database, so you give the instance a static IP before you install WordPress. A static IP is free while it is attached to an instance.

  1. In the left menu, choose Networking, then Create static IP.

Networking page

  1. Under Attach to an instance, choose fcj-wordpress. Under Identify your static IP, enter fcj-wordpress-ip. Choose Create.

Attach the static IP

  1. The static IP is created and attached. Note the address: it is the address of your blog.

Static IP

A static IP that is not attached to an instance is billed by the hour. Delete it if you detach it and no longer need it.