Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Oracle cloud free tier reinstalling of OS
New on LowEndTalk? Please Register and read our Community Rules.

Oracle cloud free tier reinstalling of OS

skorupionskorupion Member

Hey there. How do I reinstall the OS?
I've been googling for like 30 mins now but can't seem to find it.
Or do I just terminate the instance and create a new one?

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited April 17

    Yes, you can terminate the instance (including boot volume) and create a new one.
    Think instances as ephemeral.

    Public IPv4 will change.
    Use a load balancer if you want stable IPv4 for incoming requests.

    Thanked by 2skorupion cheapdave

    Register now: NDNts-video presentation at NDN Community Meeting, Oct 28 19:50-21:00 UTC, stories behind the push-ups

  • farsighterfarsighter Member
    edited April 17

    Yes. If there's stock available in your region.

  • vnc + netboot.xyz

  • Reinstaller for Debian: https://github.com/bohanyang/debi

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited April 17

    @farsighter said:
    Yes. If there's stock available in your region.

    My home region is Japan East (Tokyo).
    I terminate the instance when not in use.
    Every time I need an instance, I can get one instantly, and never experienced out of stock condition.

    Tokyo has improved routing to China earlier this year.
    They also released IPv6 support this month.
    I plan to try it out soon.

    I'm building a global Named Data Networking network to efficiently deliver push-up videos to worldwide viewers.
    Currently the last hop is WebSockets, but if I have my own network, I can use QUIC instead.
    It's great that I don't have to pay for the expensive bandwidth in Asia.
    I wish Oracle Cloud could allow free instances to be created on any region, so that I can have an instance in South America too.

    Thanked by 1xms

    Register now: NDNts-video presentation at NDN Community Meeting, Oct 28 19:50-21:00 UTC, stories behind the push-ups

  • @yoursunny said:
    I wish Oracle Cloud could allow free instances to be created on any region, so that I can have an instance in South America too.

    That sounds like an abuse of the 2 VM limit and more than one region.

  • yoursunnyyoursunny Member, IPv6 Advocate

    @TimboJones said:

    @yoursunny said:
    I wish Oracle Cloud could allow free instances to be created on any region, so that I can have an instance in South America too.

    That sounds like an abuse of the 2 VM limit and more than one region.

    Most of the time, I have no use for 2 VMs in the same region.
    I wish to have 1 VM in Tokyo and 1 VM in Santiago, but I can't.

    Register now: NDNts-video presentation at NDN Community Meeting, Oct 28 19:50-21:00 UTC, stories behind the push-ups

  • OujiOuji Member

    I agree that a second VM on another region would be golden.

    Thanked by 1yoursunny
  • NanoG6NanoG6 Member

    @yoursunny said: They also released IPv6 support this month.

    Tried that, but failed with "NotAuthorizedOrNotFound" error message

    Anyone?

    Thanked by 1farsighter
  • farsighterfarsighter Member
    edited April 18

    @yoursunny said:

    @farsighter said:
    Yes. If there's stock available in your region.

    My home region is Japan East (Tokyo).
    I terminate the instance when not in use.
    Every time I need an instance, I can get one instantly, and never experienced out of stock condition.

    My experience with Japan region was totally different about a year ago.
    I was helping a friend to setup his account and it was simply impossible to get a slot there, always with 'out of stock' error. Eventually I decided to automated the checking process with a script that ran every ~3 minutes (and notified me through Telegram when that error disappeared). Even then it took 2 days to get the first slot and another day to get the second. Nightmare.

  • Found this topic after searching for how to reinstall the OS on my Ampere free instance, not really wanting to terminate and recreate the instance to just reinstall the OS, as it took days of trying to get this instance as always out of stock in my region of the Ampere instances. Is there really no official way to reinstall the OS from within the oracle control panel other than to recreate the whole instance?

  • skorupionskorupion Member
    edited September 29

    @UKCC1 said:
    Found this topic after searching for how to reinstall the OS on my Ampere free instance, not really wanting to terminate and recreate the instance to just reinstall the OS, as it took days of trying to get this instance as always out of stock in my region of the Ampere instances. Is there really no official way to reinstall the OS from within the oracle control panel other than to recreate the whole instance?

    sadly no (maybe netboot.xyz?)

  • Ok ill look at netboot.xyz, wish id taken a backup of the boot volume just after the instance had been provisioned, as restoring that backup of a clean install would be the as good as reinstalling the OS, as I don't want to move to a different OS just get it back to factory fresh install

  • @UKCC1 said:
    Ok ill look at netboot.xyz, wish id taken a backup of the boot volume just after the instance had been provisioned, as restoring that backup of a clean install would be the as good as reinstalling the OS, as I don't want to move to a different OS just get it back to factory fresh install

    You can't restore boot volume backup to a running instance. You have to create a new instance from that boot volume backup. Which is same as creating new instance from scratch in terms of host capacity issue. If you are ok with debian 11, you can just run the following commands.

    wget -O debi.sh https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
    chmod a+rx debi.sh
    sudo ./debi.sh --hostname HostName --user USER --password PASS --sudo-with-password --ethx --bbr --cloud-kernel --timezone Asia/Dhaka
    sudo shutdown -r now
    

    This will reinstall to Debian 11 with cloud Kernel. Installation size is less than 700MB & network interface name will be eth0.

  • rm_rm_ Member

    @Hakim said: You can't restore boot volume backup to a running instance. You have to create a new instance from that boot volume backup. Which is same as creating new instance from scratch in terms of host capacity issue.

    It is possible to attach both volumes to a different instance (via iSCSI), then dd one to another. But the instance must be stopped for that, and starting it, is again, has you compete for available capacity to even start it. Yes, it will give the same "Out of host capacity" also on starting an already existing but stopped instance.

Sign In or Register to comment.