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.
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.
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.
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.
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?
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.
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.
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?
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.
@@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?
@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
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?
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.
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
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
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.
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.
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...
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
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
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
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.
@@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