- Видео 4
- Просмотров 85 540
Alexander Hitrov
Добавлен 10 окт 2006
Oracle Cloud "Out of host capacity" resolving script – get free VPS: 4 ARM cores & 24 GB RAM
Update 2024: The script is still functional, but many Reddit users now recommend upgrading to Pay As You Go (PAYG) for the best experience. With PAYG, you'll continue to enjoy all the free benefits without any additional cost, but you'll also receive priority for launching instances and are less likely to face "Out of host capacity" errors. Additionally, PAYG unlocks more types of OCI resources, including free Kubernetes-related infrastructure if that's something you're interested in. It's important to set up budget alerts as a safety net and be mindful of the resources you deploy and their associated costs. This way, you can take full advantage of PAYG while keeping your spending in chec...
Просмотров: 35 828
Видео
Need for Speed High Stakes NFS 4 PlayStation PS
Просмотров 598 лет назад
Durham Road with Porsche 911 special edition
Copy from ebay: TISSOT™ PRC 200 quartz chronograph T17.1.586.32
Просмотров 31 тыс.14 лет назад
i can't set up time clockwise, only anticlockwise.
МТС забирает красивые номера
Просмотров 19 тыс.14 лет назад
События: 1) 06.03.2010 появляется новый ТП с предложением БЕСПЛАТНЫХ бриллиантовых, золотых и серебряных номеров, но только при условии дополнительного соглашения - пользоваться услугами 1 год. 2) Мною выбирается платиновый номер 333333х, ОПЛАЧИВАЕТСЯ услуга "выбор номера" и не заключается никаких доп. соглашений. 3) 09.03.2010 (спустя 3 дня) я принимаю решение об изменении ТП, по приходу в офи...
i didn't find instances link in instance-network, in firefox. i think i need to open Chrome.
are you able to make a guide for windows 11, im like lost, and if someone was able to accomplish this on windows 11 would you be able to make a guide here please ? i terminated my instance since i wanted to make an Ubuntu one (it was oracle) and now i cant create an instance anymore
I did this yesterday on Windows 10, setting it to run every 2 minutes, but still no luck.
i made the script but it doesnt write to the log file, i dont know if its working or not
Check your cronetab
@@DemetSev-vj2me it worked, already running my vps
@@drmn5169 can you help me to do this bcs i can't even understand any thing plzzzzzzzzzzzzzzzzzzzzzzzzz 🥺🥺🥺🥺🥺
I am having an issue where I cannot find the instances folder the closest thing I can find is "compute/instances" but it has none of the required information does anyone have any advice on how to find the instances folder?
Had anyone success on frankfurt server and if so how long did it take?
I've been trying for 3 months and nothing :(
@@omad11 which region? Been trying for 2 and a half months in frankfurt and still no success
@@twachl8039 also Frankfurt
@@omad11 can you help me i can't undrstand
Hi, I have a question. I accidentally clicked "Terminated" button instead of "Stop" button for my instance. Can I create a new one with this account? Thank you very much for your tutorial.
running about 6months in US Phoenix sad
hi, i have a probleme, i don't find the request name "instance", did the name change? Sauroyn
i don't understand if i have to edit the .env file with my region etc. if not can you tell me what i need to change? thanks
where to get the public ssh key you uploaded to oracle and i can't find the key from 7:33 could you help me in some way?
@@kubix6592 docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key
@@Xitroff are these 2 the same keys?
@@Xitroff and does the pc have to be on to keep the script going?
Hi sir, is there any difference to running a script instead of just spamming the create button on web?
@@creriey4945 technically there’s no any - apart from your approach will most likely require windows pc running 24/7 which will waste more electricity so to say
@@Xitroff Thanks, this seems complicated to me. I was considering running selenium to spam the button. Though when I was trying it manually just now, there seems to be a "too much request from user" or something like that error when I spam it. Maybe I'll just follow your video slowly when I have the time. I didn't realize that this approach doesn't require a pc running. Definitely a plus considering I read comments of people running it for up to 6 months before succeeding.
Day 14 Of running the script but still no hope. Using Netherlands location. its On a 2min delay
Bro where do I get my private key
private key file .pem file
It's been a week, still waiting for sg region
Got it?
1 min delay or 2m
Hi - thanks for putting together this script! I keep getting below error: C:\oci-arm-host-capacity-main>php index.php PHP Warning: require(C:\oci-arm-host-capacity-main endor\autoload.php): Failed to open stream: No such file or directory in C:\oci-arm-host-capacity-main\index.php on line 8 PHP Fatal error: Uncaught Error: Failed opening required 'C:\oci-arm-host-capacity-main endor\autoload.php' (include_path='.;C:\php\pear') in C:\oci-arm-host-capacity-main\index.php:8 Stack trace: #0 {main} thrown in C:\oci-arm-host-capacity-main\index.php on line 8 I've made sure to add to $pathPrefix = 'C:\oci-arm-host-capacity-main' Is it because i'm running it on windows perhaps?
You haven’t run composer install just yet
@@Xitroff appreciate the swift response. I ran the Composer-Setup.exe successfully, is there more to it for windows?
@@HMohamoud I’d even recommend to spin Ubuntu within Windows subsystem for Linux and do everything there including scheduling
@@Xitroff OK maybe best , i'll try that. Thank you once again!
Where do i get Composer and how do i Install it?
getcomposer.org/download/
@@Xitroff running the composer install command after cloning the repo says "SIGKILL is Unidentified, did you mean SIGILL?" And I've tried everything, I don't know what to do.
Спасибо большое дружище!
i made the process, how many days in average it takes to complete the instance ?
Did you get the instance? if yes, how much time it took?
@@abhayghante3785 no man still running
Lol. I fail at the very first step - I don't have User Settings in profile menu
“My Profile” link gonna work
im on mac and i type "ls *.pem" but it says; "zsh: no matches found: *.pem" how fix
thank you very much! im in frankfurt, I wonder how much its gonna take to get me the machine
Hey, i´m also trying to get one in frankfurt and wanted to ask if you have received a machine yet?
@@Aroburn Any luck getting one? How long did it take?
old, but very useful video. Thank you!
A few months late, but im a bit confused. Do I already have to have a vps instance running to access this or can this all be done from a single local host? Ive been trying to create an oracle instance for a while now to no avail. Any help on the matter would be greatly appreciated.
@@metacerberusVT you dont need a vps to do this. This is meant to be running in your computer (can do in a VPS too, of course)
PHP Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/oci-arm-host-capacity/index.php:8 - where is i did mistake?
0:49 where do I put the commands in windows? Sorry, I'm not very familiar with programming
If you’re on Windows, you can copy files to remote machine with WinSCP, and Putty for SSH connections
bro i am not able to find that instance 6:23
Yes, I must admit that’s not easy with all tracking requests. Try filtering
Does this require an existing server to be able to run this script? I was hoping to find a local solution but it seems like I need a google cloud always free server to run this I assume?
If you don’t mind running Windows subsystem for Linux or Linux (virtual machine) for months 24/7 - go for it. But it’s worth to have it running in the cloud anyway. You can run at Oracle always free AMD which usually can be launched without “out of host capacity” error
sorry, what did u open on 0:49 ?
Local downloads directory (in terminal) where browser saved newly generated certificate
omg... so many things to do where I did a simple loop over simple terraform script and have the same result.
I described even easier approach using OCI CLI hitrov.medium.com/resolving-oracle-cloud-out-of-capacity-issue-and-getting-free-vps-with-4-arm-cores-24gb-of-a3d7e6a027a8
amazing but with this script, i am still not able to get an instance...
Alex, thanks for the tutorial very helpful. I set it up today for the region=sa-saopaulo-1. Will report back when successful. Thanks again!
Just reporting back that my machine was finally created, thus it took roughly 4 days. I will add that I upgraded my Google Cloud account to a paid account and created the instance in the free tier, so it is still fee. I believe that the paid subscription with the script helped speedup the instance creation.
I'm trying to create an instance in sao paulo now... It's been 2 days and no success. Hope it works soon...
@@EdvaldoMoreiraJrIt's been 15 days still no hope . What about u? Got the vm?
How can I contact you privately?
I need help installing a file to host
Hi Alex, many thanks for such detailed repo, I'am just proceding configuration - the video you made is very helpful!!
Hey Daniel! You can create a new instance? I banging Oracle for a day and nothing 😢 just out of capacity
@Xitroff I hope you are keeping well. So I am left with 5 more days before my 30days trial expires and so far I am getting "Out Of Host Capacity". So I installed your script in another vps of mine and going to run that for from there and delete the current instance which is running your script. My question is if I delete the current instance which is running will it affect anything. The reason I am going to do this is because I would like your script to create an instance for me with 200GB of HDD along with 24GB RAM and 4 OCPUs. Let me know your thoughts
If you run AMD x64 within Oracle cloud you already consumed at least 50GB of HDD, so launching ARM with 200GB won’t be possible. I’d suggest to run the script within Google Cloud platform always free tier instance and delete all instances from OCI
@@Xitroff Yes exactly I have already installed in another VPS already and delete the one from here and keep running the script. What I wanted to ask the values that I entered in the .env file will not be affected in any manner right(after deleting instance in OC)? like oci public key, oci subnet id, oci image id?
@@sanjeetakaxaero not the ones I could imagine
@@Xitroff Of course there isnt any like you said but still I wanted to have a word with you before I proceed. I will keep you posted. Thanks for all your help Alex
@Xitroff its been almost 81 days and still I couldnt get a VPS
can you update new 2023 step? really appreciated. i emailed you but havent got the reply.
Is three any difference nowadays?
Is this still working?? I just implemented this so curious to know ?
Of course github.com/hitrov/oci-arm-host-capacity/issues/93#issuecomment-1751734872
@Xitroff I had this doubt, every now and then the log.txt file remains empty for 15mins straight and then you can see the log appened "Out of capacity...." Every minute it should request and the error msg should be responded right but sometimes I have observed in the last 5-6 days, the log file remains empty? whats happening, is the server not responding because the request is being sent every minute(cron job) or any idea?
Try “echoing” something in the very beginning of the index.php file, right after use statements, for example, echo (new \DateTime())->format('Y-m-d H:i:s');
@@Xitroff The echo reply is displayed and nothing else. Even the timestamp in the log file from the echo shows the increment in 1minute but no further message from the server
@@sanjeetakaxaero oh, I just remembered that I implemented default 10 minutes “waiter” when too many requests server error is encountered. To not get a ban from Oracle github.com/hitrov/oci-arm-host-capacity/blob/main/.env.example#L45 unfortunately, I didn’t see rate limit (remaining) headers to have it differently
Its been 5 days(Out of Capacity), running script for a Ampere 24GB RAM 200GB HDD in Santiago(Chile), not sure when it will allocate an instance. My question is that I am using a 1GB ram 1GB hdd instance to run the script to get the above instance. After 25days my trial will expire. Now as I am aiming for Ampere 24GB ram with 200GB HDD, what will happen after the 25th day if I still didnt get any instance. Because for a free user the total space is 200GB right? but I have used 1GB for running the script. If theres a chance to get the Ampere instance will it be granted with 200GB space or no?
You’ll never get 200gb hdd as your AMD instance already consumes at least 50. Change ampere settings to 150
@@Xitroff Yes you are right, but my question arises because I have created a new account in Santiago home region and I have 30days full features to test and after which I will go back to the free tier if I dont upgrade. So now that I have 25days left, it would be possible to get the full 200GB hdd with 24GB RAM right(while having the AMD instance with 50GB run the test script and once the main instance is created I can deleted the amd one and when then trial expires I can stick to the main instance with 200GB HDD)? but after the trial period, like you said I wont be able to get because the AMD would be using atleast 50GB hdd. Let me know your thoughts Alex
@@sanjeetakaxaero if you won’t update to pay as you go, on day 30-31 every 201gb and beyond will be deleted (reclaimed), I won’t be risking giving the system ability to decide which instance to delete and would leave just one ampere 4/24 and 200gb of storage at by moment, nothing else more
@@Xitroff Yes exactly, you are 100% correct. My whole point is 1) Will I be able to able to get an 4/24/200 instance before the 30days trial expires? and then I can delete the AMD instance right away so my 4/24/200 remains permanent on the 30-31st day. I know its hard to answer but just your thoughts out of your experience. 2) Lets say, if I dont get a 4/24/200 instance then can I delete this account and try in another region?
@@sanjeetakaxaero i’d say there’s a higher chance to create 4/24 being on trial than later without the upgrade. also maybe try creating two 2/12 with 100 HDD each. I wouldn’t recommend deleting an account, there’s high chance you won’t make it creating in any other region
new error message for "Osaka" { "code": "NotAuthorizedOrNotFound", "message": "shape VM.Standard.A1.Flex not found" } Not only ARM, there is no idle processor..
what did you pull up to paste the repository in. some of us are noobs swimming in the deep end just trying to get a minecraft server
Hey, I don’t really get it but if you mean copy-pasting from the clipboard, it can be Ctrl-Insert/Shift-Insert in some terminals or OS versions
bro just right click on your mouse in putty or what ssh you use
в швейцарию регили не завозить больше мощностей
github file has change and Im getting this error code "code": "CannotParseRequest", "message": "Incorrectly formatted request. github instruction is to just edit .env file but when I do I had those error. can you help me sir? Edit: Made it work there is an issue on the curl data i got from the instance, availability zone replace one word with dollar sign, figured it out when i tried creating instance on the console, check the availability zone name, there it is slightly different one.
can you explain in details
Bro nicely done, I had an ampere ubunutu which I terminated due to issues and when I tried to create new one, out of capacity errors started, just found your article in medium page and have setup the steps from your article..it's been 2 days , nothing got provisioned yet in Swiss region.. I have kept a 5 minute interval.. any clue on the number of days it may take?
hey, i use script in swiss too, yours still running?
@@pesokotik2725 still running.. no luck yet .
@@pesokotik2725 Hey bru! You have sucessfully with this script thingy?
They deleted my always free VPS and now I don´t have any machine there and can´t create any since 3 weeks (in Madrid). Any alternative? Thank you very much!
Consider switching to a pay-as-you-go plan to enjoy priority access over free tier users while retaining all the benefits of always free resources. Keep in mind that you'll need approximately EUR 120 balance on your credit card for a temporary hold.
@@Xitroff thank you for your reply. I saw another videos with the same suggestion. I can´t understand how and why the deleted my always free instances and obviously as free tier user you can not contact them (previously I sent some emails to the service desk because I had problems to create an account and they were absolutely useless). Do you think I have any other alternatives? I have a couple of boot volumes I would like to access to migrate to another VPS running without any problem in OCI
@@Ayahuaska8 I bet they won’t be able to change a region, at the same time their registration flow is so bad in regards of financial fraud that there’s no guarantee that you’ll be able to create an account after asking support to delete your current one. Otherwise I’d recommend to register within Frankfurt/Germany, it’s not that bad in regards of host capacity there
hi I am trying to create an instance in ubuntu . I am stuck in index.php oci_ssh_public_key. where to paste the public key. I tried pasting on the $instanceDetails = $api->createInstance($config, $shape, ssh-rsa AAAAB3NzaC1yc2........ I get error when i run php ./index.php PHP Fatal error: Uncaught TypeError: Argument 8 passed to Hitrov\OciConfig::__construct() must be of the type string, int given, called in /home/ubuntu/oci-arm-host-capacity/index.php on line 36 and defined in /home/ubuntu/oci-arm-host-capacity/src/OciConfig.php:42 Stack trace: #0 /home/ubuntu/oci-arm-host-capacity/index.php(36): Hitrov\OciConfig->__construct() #1 {main} thrown in /home/ubuntu/oci-arm-host-capacity/src/OciConfig.php on line 42 please help
Why are u editing index.php. edit .env flie as in video and it should work
Anyone can share how long you run this script to get the A1 instance? Mine's been running for 2 weeks now in Toronto and still not getting it.😭😭😭
iam running it for 8 days now. let me know if u get any
I got the server after 15days, I got a mail for reclaim idle server on my other account. One reclaim day I got server
Its not related to this script but , i want know if there is a way to back up snd restore boot volume without creating new machine as getting a new machine is near impossible without the script and wating for machine is waste of time
I didn’t really get the question because you can create or restore backup only if you still have a volume. Let’s just assume that you want to download precious contents of this volume. You can export volume as an image docs.oracle.com/en-us/iaas/Content/Compute/Tasks/imageimportexport.htm#Exporting but I bet this option is available only if you’ll switch to pay as you go
@@Xitroff thanks for replying things i have tried:- 1) create a new machine , create a backup for the boot volume. 2) restore bool volume to boot volume =>restored_boot_volume (it will create a new bool voulme without a VM acctached to it) 3) create a VM to attach this restored_boot_volume. but i want to attached this restored_boot_volume to attach to a existing machine as boot volumne (as creating a new machine is not always possilbe) reason:- if i messed up someting with the orignal boot volume as i want it back to default new state.
@@sumer420 it’s definitely possible to attach former boot volume as a block volume of any instance. I did that a while ago to restore data, though I can’t recall how did I mount it to become visible in the filesystem
@Xitroff i know we can mount any BOOT volume to any other instance as BLOCK volume. reality :- boot volumne > backup > resotre_voulme > create new VM expectation :- boot volumne > backup > resotre_voulme > attach to existing VM as BOOT volume but in case i brick my OS in arm (unable to connect to it due to unkown reason). but deleting a but i have a backup for the BOOT volume from when i created the machine new i want that working copy attached to the birck vm
Is there any way to do it through pc or phone without any remote server?
If you don’t have Linux but Windows then check WSL as an option
createa a machine on oracle x86 and ssh into it and run script there
@@XitroffI just put it on a digitalocean vps. Theres lk $200 credit for 2 months
Literally dont understand anything. i cant even tell what programs you are opening because the window cuts it off. is it command prompts? is it a file? Literally have no idea what yore doing
Hey, most of the time it’s a terminal and interaction with either remote server by SSH (when there’s gcp-free label under the username) or local MacBook Air. If you use Windows, then Putty is your choice
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Hitrov\OciConfig::__construct() must be of the type string, bool given, called in /home/toffi/oci-arm-host-capacity/index.php on line 37 and defined in /home/toffi/oci-arm-host-capacity/src/OciConfig.php:42 Stack trace: #0 /home/toffi/oci-arm-host-capacity/index.php(37): Hitrov\OciConfig->__construct() #1 {main} thrown in /home/toffi/oci-arm-host-capacity/src/OciConfig.php on line 42