Oracle VM out of capacity
Hi, I am trying to set up a server using Oracle's Virtual Machine, but it keeps saying that the region is out of capacity, no matter which domain do I use. Anyone had an issue like that? Not sure if I just need to keep trying and hope for the best or is there anything else I can do
Thanks
70 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by samvimes01#0
Yeah it's an oci thing tbh
What does that mean and what can I do to make it work?
You have two options:
- you keep trying. This could take days, up to weeks up to months.
- Upgrade to a PAYG (pay as you go) account. The capacity is much higher for PAYG accounts, however you won’t get charged at all because it uses the free resources first, assuming the instance you create is within the allocated free resources
I have just created my account, so I have a lot of credits for the first month, would it make sense to use them then or it doesn't work like that?
afaik it doesn’t work like that
Where are you from? @SamVimes01
Asia based?
Europe
Mhm interesting
Asia might be based though
Never been there
😂😂😂 I meant based as in located
Gen z language doing wonders
I'm in Spain and I got an oci instance from Madrid (the country capital) and I got one at night
I am using German location
XD
Once you thought I am a Gen Z you decided to add that it's the capital of Spain
Maybe at night you'll be lucky or you may as well move to a paid level acc and stay in always free
I have no idea how does paid account work with free credits
Free credits are given to test out resources
So I'd pay for upgrading, but as long as I don't exceed 24GB I don't pay for the actual service?
Upgrading to paid acc does nothing other than the ability to start using even other paid services that aren't always free
But it gives you priority to always free services
Like sometimes oracle lies about availability to non-pay as you go accounts because they prioritise the ones that are labelled pay as you go, even if those accs have never ever spent a single cent.
It's pretty much a checkbox you have to enable (I'm not sure where it's located tho)
And as long as you stay in always free, then yes you won't be paid
So that would be pay as you go?
Yeah basically
Your free credits will expire after one month anyways
I haven't used em tbh mostly because I only wanted the ampere VPS
So when I do Pay as You go
And I don't exceed the limit
I am not paying for it
yes
But anyway it seems to be very cheap, no?
god no
hell no
it’s is EXTREMELY expensive
like it can go up to hundreds of dollars a month easily
Yeah avoid going out of free limits lol
Just got my machine, don't think my upgrade was processed yet
So now I can follow this guide to the letter?
https://github.com/brucethemoose/Free-Oracle-Minecraft-Server-Tutorial?tab=readme-ov-file
GitHub
GitHub - brucethemoose/Free-Oracle-Minecraft-Server-Tutorial: Tutor...
Tutorial and setup scripts for running a free Minecraft server on a 4-core, 24GB Oracle ARM instance. - GitHub - brucethemoose/Free-Oracle-Minecraft-Server-Tutorial: Tutorial and setup scripts for...
see #general what i said
Well I am lsot
I am down on the first step, which is not optimistic
Load key "C:\Users\marty\adssd": Operation not supported on socket
root@12345678: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Can it be that the keys are not valid?
I didn't reload the page when creating a vm, I just hit create, when it was out of capacity I tried another domain, and then I left it for 10 minutes and tried again
wait you did replace 12345678 with the actual ip right?
Yea
thats good, never seen the operation not supported on socket error personally
try using a ssh client
like putty, termius etc
The problem is I know absolutely nothing about it all
And I was going to follow a guide
The only thing that comes to my mind is that the keys might not have been freshly generated
But can't be sure of that
And to think that I will have to try and set up another vm
Ugh
I terminated the VM, started a new one with fresh keys, but the same issue has happened
And when I try to delete the old keys from Users file it says I don't have permission, maybe there's where the issue comes from?
Remmina
Termius is on desktop?
yes
it has sync across all devices
termius desktop is lovely
Agreed termius on desktop is amazing
You can save the key as part of your host name configuration and never have to manually have to input the file path or anything again
Arch support?
Maybe try that OP, I had issues with keys on my first go around
I believe so using snap
Arch has snap? 😳
yeah
Snapcraft
Install termius on Arch Linux using the Snap Store | Snapcraft
Get the latest version of termius for on Arch Linux - SSH, SFTP, MOSH, telnet and serial in one beautiful app
And finally
I have 0 idea what are you guys talking about
I know nothing about this all
Is there a guide I could follow?
I downloaded Termius, but don't know how to proceed from there
configure your hostname
go to hosts -> new host -> enter the IP and add your key
Oh wait I didn't download it, just have it open in a browser
Do I need to download an app?
Does username matter?
And how do I add a key?
here?
look further up
in the "Address" part
put your public IP in there
I created a host, added IP, went to key tab, added a key, connected it to the host
But I get an error too
have you done this?
put your public IP in the address box
Yup
I did that
Then went to keychain
Pasted my private key there
now here
set "username" to ubuntu
then click the "+" underneath and select your key
Oh
The name needs to be ubuntu?
My key is in the form of a text file
.key
It also starts with -----BEGIN RSA PRIVATE KEY-----
Can this cause issues?
no
name = ubuntu
then select your private key in the + bit underneath
To select it I need to add it to keychain first?
yeah
just paste the private key contents into the private key text box
Starting a new connection to: "11234" port "22"
⚙️ Starting address resolution of "11234"
⚙️ Address resolution finished
⚙️ Connecting to "11234" port "22"
👤 Connection to "11234" established
⚙️ Starting SSH session
⚙️ Remote server: SSH-2.0-OpenSSH_8.7
⚙️ Agreed KEX algorithm: curve25519-sha256
⚙️ Agreed Host Key algorithm: ecdsa-sha2-nistp256
⚙️ Agreed server-to-client cipher: [email protected] MAC: INTEGRATED-AES-GCM
⚙️ Agreed client-to-server cipher: [email protected] MAC: INTEGRATED-AES-GCM
⚙️ Agreed client-to-server compression: none
⚙️ Agreed server-to-client compression: none
⚙️ Handshake finished
👤 Checking host key: a2:1c:d1:f1:a4:f9:b7:f3:f7:02:91:30:ce:49:23:d5
👤 Host "11234":"22" is known and matches
👤 Authenticating to "11234":"22" as "ubuntu"
⚙️ Available client authentication methods: publickey,password,keyboard-interactive
⚙️ Authentication that can continue: gssapi-with-mic,publickey
👤 Authenticating using publickey method
❗ Authentication failed (publickey)
⚙️ Partial success: no
⚙️ Authentication that can continue: gssapi-with-mic,publickey
😨 No more authentication methods to try
But I don't know how to add a public key
I added a public key as well, but got the same error message
is
11234
just you blanking out the ip?Yup
And from the log it seems that the IP is fine
Are we entirely sure you pasted the key correctly
Because that’s where it failed
I dragged the .key to the place
And it got pasted fully
I did this
Do you think that logging to a new computer, sending the keys there and trying again would work?
Or at least will confirm that it's an issue with my configuration/permissions or it has nothing to do with my PC
So I switched to another laptop, sent the keys there
I followed the guide, but I get the too many permissions error message
Even though there is only my account there
Is it because originally it was sent to another PC, or am I still doing it wrong
I changed it with a cmd line and I get the socket error message again
And are you entirely sure it’s the same key you generated when you created this particular instance? Oracle generates a new key pair for each instance that gets created
Yea, this is why I created another instance, to make sure
So you saved the keys from the new instance before you clicked “create” and the private key from that pair is the one you uploaded to termius?
Yes
I am pretty sure
I am doubting myself now, so I will have to repeat it though
If you do repeat it, make absolutely sure that while you are creating the instance (selecting the shape, image, boot volume, etc) you select “generate ssh keys” and save them in a place you can remember
Afaik using termius, I didn’t have to convert the keys or anything like you would for putty to read them, Openssh is another albeit annoying solution. So you should be good to just use the keys like we explained above once you’re sure they actually are from the instance you’re trying to connect to
I’m like 98% sure this is the problem based on the error code you sent
Yea I am fairly certain I have been doing this this whole time
Yea I checked again, the generate keys box was always ticked, I made sure to download them again and had the same issue just a second ago
First I have the permission issue, I resolve it in cmd, then I get the socket error