Getting a static IP address with Lightsail #14135
Unanswered
davidemyers
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of 2021-12-14 the instructions below no longer apply. Algo now assigns a static IP address automatically due to PR #14337.
As discussed in #14124 Algo is unable to assign a static IP address when creating a new Lightsail instance. One way to get around this is to make Algo pause after creating the new instance so that you can manually assign a static IP address from the web interface. Here is a more detailed explanation of how to do this.
Download a copy of Algo using the
git clone
method.Save the following patch to a file named, for example,
lightsail.patch
:Review the Lightsail documentation for how to assign a static IP address.
Log in to the Lightsail Home screen in your browser.
Run
./algo
and watch for the new instance to appear in your browser. Once the instance has been created, assign it a static IP address.After a delay Algo will resume and will use the static IP address.
When you are done with the instance make sure you delete both the instance and the static IP address.
Credit goes to @Majdesber for suggesting this approach in #884.
Beta Was this translation helpful? Give feedback.
All reactions