Тёмный
No video :(

How to keep Oracle from reclaiming my Free Tier Instances. Never Idle OCI Free Tier Instance. 

TechTutelage
Подписаться 1,6 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@BatesonBen
@BatesonBen 5 месяцев назад
Sensational video, thankyou very much mate!!! Super helpful, only have a handful of websites running, and have already had Oracle shut down my server!
@TechTute
@TechTute 5 месяцев назад
Glad it helped!
@YTKained
@YTKained 5 месяцев назад
This is great thank you. Ive a minecraft server on a free tier, so I'd like to try and use this with CRON jobs. Start after midnight and stop later in the morning.
@TechTute
@TechTute 5 месяцев назад
You’re welcome! Yes that would definitely do it, I also use supervisor to run my Minecraft server instead of screen as majority of people do.
@YTKained
@YTKained 5 месяцев назад
@@TechTute interesting, I use screen but am hacking my way through this and by no means an expert. Will look into that as an alternative.
@TechTute
@TechTute 5 месяцев назад
I like supervisor better, as it monitors your process and makes sure it is always running, it can auto restart it for you in case of crash, start it on boot, etc. I have a video on building minecraft bedrock edition with supervisorctl if you wanna see what the config looks like. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aH93NV_ImQY.html it should be very similar if you are runninga java just swap the command that starts your server.
@marcq1588
@marcq1588 9 месяцев назад
Great information. I agreed that getting to a paid account is probably the best option. However you are required to have a real business email address, not a Gmail or Hotmail or Yahoo, etc... This limit the option to this script. I appreciate what Oracle is offering, but it is a bit unfair for someone who is a sole trader and does not have or want a business email address setup.
@TechTute
@TechTute 9 месяцев назад
You’re not required to have a business email, I’m using free outlook account. The main thing people struggle with is credit card. You need to have a valid credit card, many people try to use unsupported debit cards and prepaid cards and the are unable to set up new acct.
@chofo2130
@chofo2130 Месяц назад
love you man, really
@TechTute
@TechTute Месяц назад
thanks!
@Stray0
@Stray0 5 месяцев назад
According to their documentation this is 20% now.
@TechTute
@TechTute 5 месяцев назад
yeah they keep changing, can't keep up
@BatesonBen
@BatesonBen 5 месяцев назад
Have subscribed 🙂Thanks again, great video!
@TechTute
@TechTute 5 месяцев назад
Thanks for the sub!
@turbowaylonmercy
@turbowaylonmercy Год назад
I need to understand this better thankyou
@TechTute
@TechTute Год назад
Let me know if you have any specific questions, will be glad to help understand it better.
@HontiBe
@HontiBe Год назад
I think you should do anything more useful with that machine... FAHClient, Boinc, etc. or just update weekly. The supervisor system sounds good, anyway.) Ramdisk?
@TechTute
@TechTute Год назад
I can’t agree more. This set up is absolute waste of resources. I don’t recommend it. As I mentioned in the video there are other ways to get around the %15 utilization requirement. Switch to pay as you go, get smaller shape instance, actually use the instance for something meaningful, etc.
@bobsmithy3103
@bobsmithy3103 10 месяцев назад
nice, i havent used supervisorctl b4
@TechTute
@TechTute 10 месяцев назад
It’s a great tool, and it comes really handy if you need to monitor and control processes on Linux system.
@cranebird1467
@cranebird1467 4 месяца назад
thank you for this video.
@TechTute
@TechTute 4 месяца назад
Glad it was helpful!
@preplypl
@preplypl 7 месяцев назад
You have a typo in the text (techtutelage), instead of writing 'supervisorctl reread,' it is written as 'sypervisorctl reread' and also 'sypervisorctl reload', so if someone does copy/paste it may show errors :P like I did.
@TechTute
@TechTute 7 месяцев назад
Thank you so much for catching that typo! I've fixed the typo you mentioned, and the correct commands are now in place. Thanks again!
@EdwardCox2016
@EdwardCox2016 10 месяцев назад
Well done. Thank you. 😀
@TechTute
@TechTute 10 месяцев назад
Thank you too!
@hello3905
@hello3905 7 месяцев назад
Thank you... good totulial!
@TechTute
@TechTute 7 месяцев назад
You're welcome!
@Dhanuhammer
@Dhanuhammer Год назад
hello, is it possible to run this periodically instead of running it constantly, like once a week or once a month?
@TechTute
@TechTute Год назад
you can do that, instead of using supervisorctl you can just use cron job that runs on a schedule.
@pietromoropietro___moro1345
@pietromoropietro___moro1345 10 месяцев назад
nice info! I received email from oracle announcing that my always free instances are idle and action is required within 7 days: am I still in time to use stress-ng and supervisorctl to meet the requirement and prevent oracle reclaiming them?
@TechTute
@TechTute 10 месяцев назад
I believe you should be ok if you start it now, but you never know with the free tier account . If I were you I would definitively take a nice backup just to be safe.
@pietromoropietro___moro1345
@pietromoropietro___moro1345 10 месяцев назад
@@TechTutethanks! I dediced to be really safe and so to to updte to paid account: it is requesting 93$ payment on credit card. Is that correct? is it going to be refounded?
@TechTute
@TechTute 10 месяцев назад
@pietromoropietro___moro1345 yes this is normal, it is just payment verification hold it is not an actual charge, and it will be refunded right away at least based on my experience. I have heard others saying it depending on your bank maybe a day or two until it’s removed from your account. Any way I would still recommend making a backup of your VM just in case, it does take a few days for free acct to convert to PAYG, and if something got triggered in OCI already you probably don’t wanna take chances. Plus there is volume backup included with the “always free“ tier so shouldn’t cost you anything. One more thing I’d recommend once you’re switched to PAYG is to setup budget alerts. I have a quick video on how to do it if you are interested check it out. Oracle Cloud Budget Alerts Setup Tutorial: Prevent Overspending ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-u9p8ScJWv1M.html
@alvydasjokubauskas2587
@alvydasjokubauskas2587 6 месяцев назад
How long does it take to upgrade to pay as you go?
@TechTute
@TechTute 6 месяцев назад
I’d say on average a couple of days.
@alvydasjokubauskas2587
@alvydasjokubauskas2587 6 месяцев назад
@@TechTute I guess I was lucky, to get in few hours. Also requirements now are 20%. You could pin a comment about this change.
@TechTute
@TechTute 6 месяцев назад
That’s crazy, never heard of such a quick conversion. Thanks for the update!
@Surfingnet
@Surfingnet 9 месяцев назад
Hey great video. Do you think that would help avoiding high vCPU steal time? In fact, my VM's vCPU time is being stolen (90%+) and I think it's because my server only uses 20% of the vCPU, so the hypervisor gives my VM's computation power to another VM basically... I'm not sure if that's because it thinks mine is idle. Have you had that issue before?
@TechTute
@TechTute 9 месяцев назад
You can give it a try and see if it helps, I haven't had such an issue, but to be honest I don't use the free tier account that much. It kind of make sense to experience higher steal time on the free tier especially during peak usage periods. Let's not forget that the free tier accounts are there to offer a no-cost introduction to cloud services, and limited performance, including high steal time, may occur due to limited resources, shared infrastructure, and high demand. My advice if you want better performance and more consistency is to go with the paid account.
@cheezmartian
@cheezmartian 3 месяца назад
The steal time is probably okay.. it just means oracle is correctly using all availability of resources, there's no need to use it for stress testing of you go over oracle's requirements
@TunaVEVO
@TunaVEVO 5 месяцев назад
:D thank you today i had idea how to keep always and this video was first but if u reboot instance you must do it again stress-ng lol any idea ?
@TechTute
@TechTute 5 месяцев назад
if you set "autostart=true" in you supervisor config file it should start even after reboot 12:43
@grulles
@grulles 10 месяцев назад
Nice man !
@TechTute
@TechTute 10 месяцев назад
Thanks!
@wahyuputra2506
@wahyuputra2506 10 месяцев назад
Ahhh so if I get my machine using more than 15% of ram it wouldnt reclaimed by oracle even if my cpu are under 15%. Am I right?
@TechTute
@TechTute 10 месяцев назад
That’s what I was told by Oracle support.
@wahyuputra2506
@wahyuputra2506 10 месяцев назад
@@TechTute Thanks for the quick response. Planning to get one today but Oracle signup website seems to be under maintenance, hope I can get one soon!
@hoanx0601
@hoanx0601 11 месяцев назад
sypervisorctl reread Command 'sypervisorctl' not found, did you mean: command 'supervisorctl' from deb supervisor (4.2.1-1ubuntu1) Try: apt install How fix eror? bro
@TechTute
@TechTute 11 месяцев назад
It looks like you have a typo, you are trying to install package 'sypervisorctl' which does not exist the name of the package is 'supervisorctl'. just re-run "apt install supervisorctl" amd it should work.
@hoanx0601
@hoanx0601 11 месяцев назад
thank@@TechTute, Im copy in your'website
@TechTute
@TechTute 11 месяцев назад
In that case, I have a typo 🤭. I will go ahead and fix it. Thanks for pointing it out!
@shooterwashere2520
@shooterwashere2520 Год назад
Hello, I understand this allows ram and cpu, however what about network?
@TechTute
@TechTute Год назад
Good question! According to Oracle representative I talked to, as long as you meet minimum utilization requirement on any one of the three metrics, your instance should be safe from being reclaimed. Since OCI console only show Network RX TX in Bytes instead of Percent like they do for CPU and Memory, and I don't know exactly how they calculate network utilization I was unable to come up with solid solution to make sure it meets the 15% network utilization load.
@shooterwashere2520
@shooterwashere2520 Год назад
@@TechTute Ah okay, thanks!
@sx-cosmos
@sx-cosmos Год назад
@@TechTute well you can make a cronjob for downloading 10 gb bin file to /dev/null may be that will give 15 % network load
@Colebrath
@Colebrath 10 месяцев назад
Thanks for your help! I cant see any metrics, running Ubuntu Server on every instance, checked the oracle-cloud-agent and the Oracle troubleshooting. Everything seems fine but metrics graphs are not showing up. It says: "Cannot read properties of undefined (reading 'toString'). Cant figure it out...
@TechTute
@TechTute 10 месяцев назад
Were the metrics ever showing? Try to restarting the agent, maybe clear your browser cache see if it helps. Also, what does the agent log say? I think you will have better chance resolving this by reaching out to Oracle Support
@Colebrath
@Colebrath 10 месяцев назад
@@TechTute Shame on me! My PiHole *telemetry* RegEx blacklist blocked the graphs from being shown. So, I figured it out :D
@manishbhardwaj6472
@manishbhardwaj6472 3 месяца назад
Hi, did you receive the solution for it? @Colebrath
@Colebrath
@Colebrath 3 месяца назад
@@manishbhardwaj6472 Yes, it was my PiHole blocking the oracle metrics queries :D
@a1is3n
@a1is3n 9 месяцев назад
thanks
@TechTute
@TechTute 9 месяцев назад
Welcome
@nerdlancer
@nerdlancer 11 месяцев назад
Dumb question but if I just pay to have a 5th core, would that also keep me in the clear?
@TechTute
@TechTute 11 месяцев назад
if you have the option to get paid resources, it means you are on pay-as-you-go account and you don't have to worry about having you idle instance reclaimed
@theLowestPointInMyLife
@theLowestPointInMyLife Год назад
memory seems like the best bet, just load a 3.6gb file into memory on your sever
@TechTute
@TechTute Год назад
That’s a great solution as well. You can use like ramdisk or something.
@riazeeshan
@riazeeshan Год назад
hi boss, how can I rest the Oracle cloud instance image to the default clean setting, I did some wrong installations and now want the image to default settings ? pls help
@TechTute
@TechTute Год назад
You can try removing what you installed, and clean up after but no guarantee you won't miss something. If you want fresh OS install your best option is to terminate the instance from Oracle console and launch a new instance.
@mikelim6237
@mikelim6237 Год назад
Nice
@TechTute
@TechTute Год назад
Thanks
@blueconcretezebra
@blueconcretezebra 8 месяцев назад
Blimey, that's a lot of grief to save a couple of Woolongs a month.
@TechTute
@TechTute 8 месяцев назад
I suppose it comes down to individual priorities. What's a hassle for one might be totally worth it for another.
@techifyth
@techifyth Год назад
or just make sure you just do (stress-ng --cpu 4 --cpu-load 40) atleast once a week
@TechTute
@TechTute Год назад
have you tried doing it once a week only, if so how long did you keep it running for?
@techifyth
@techifyth Год назад
@@TechTute i havent tried it yet but as long as you hit the 15% mark once in a week they shouldn' t reclaim it
@techifyth
@techifyth Год назад
@@TechTute can you help? i get this error: Bad permissions. Try removing permissions for user: INGEBOUWD\\Gebruikers (S-1-5-32-545) on file C:/Users/flori/Desktop/OracleCloudServer/SSH/ssh-key-2023-06-19.key. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions for 'C:\\Users\\flori\\Desktop\\OracleCloudServer/SSH/ssh-key-2023-06-19.key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "C:\\Users\\flori\\Desktop\\OracleCloudServer/SSH/ssh-key-2023-06-19.key": bad permissions, it worked fine before
@techifyth
@techifyth Год назад
​@@TechTutenews, since my last comments ive just been running my server non-stop. It uses aroumd 7Gigs and its still running!
@kendi18244
@kendi18244 Месяц назад
@@techifyth Hi, does this trick still work? Do you have the VM active to this day with this stressing process only once a week, only the processor?
@FarhanAhmed1360
@FarhanAhmed1360 6 месяцев назад
also how to give load on network utilization
@TechTute
@TechTute 6 месяцев назад
that's a little more complicated, and you shouldn't have to do it as long as one of the metrics meets the requirements your instance should be OK
Далее
Oracle Free Tier - Hints & Tips
10:48
Просмотров 22 тыс.
Get a FREE VPS For Life - No Catch!
11:49
Просмотров 166 тыс.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08