Note that the Create Policy screen now looks a bit different. Click Customize (Advanced) to enter your policy.
@sankarachari3 жыл бұрын
If I will create instance in 'ap-Mumbai-1' region tenancy, which time I need to schedule on ? UTC or UTC+5:30 ?
@onlinesaidasa9105 Жыл бұрын
Namaste There are two types of scaling a) Vertical Scaling : This involves adding cores/memory etc. to the same VM (Called Scale Up) or removing cores/memory etc.( Called Scale In) It requires downtime b) Horizontal scaling : Auto scaling is applicable here and we can either add additional VM's (Scale Out) or reduce VM's (Scale In) There is no downtime involved.
@harishkumar4322 жыл бұрын
Hi, Please suggest how to set up the environment for API Authentication?
@anonimniqt2 жыл бұрын
There is no compatible shape for Oracle Autonomous Linux! I need this script, because I run ghost blog on one of my instances, but everyday when I wake up and try to open the blog ghost service is down and instance is unaccesible from ssh and I need to reboot it to work again. Because Im not sure what cause this issue, I want to make automation to stop the instance from 1 hour during night and then start it again.
@sankarachari3 жыл бұрын
Hi this is amazing..! Can you please make a video of connecting OCI with python ? to run shell scripts stored in an instance. I want to call example.sh file stored in an OCI with python. I know we can use os and sys library. but don't know how to connect python to OCI and reaching to the location where the example.sh files is stored.
@antoniolabayen82883 жыл бұрын
I tried this, but there are many prerequisites to setting up the host for the CLI and API. Where would this be explained?
@LeoAsres5 ай бұрын
There is support for another respurces across regions ?
@LeoAsres5 ай бұрын
And there is a cron expression generator for the tags for tests ?
@LeoAsres5 ай бұрын
It can be configured for CludShell ?
@sankarachari3 жыл бұрын
After watching this video 5 times I observed that instance is created in compartment (Autoscale) but the policy created on root compartment. Why so? Any reason for that?
@BMAPS2 жыл бұрын
because of CreatingNamespace script its done that way, I have tried to create policy for specific compartment but when I executed CreatingNamespace schedule py file it doesn't work properly. So one needs python knowledge to tackle that issue.
@dbsql62389 ай бұрын
I am screwed. I installed something from OCI on scaling CPUs on my Exadata on both nodes from Doc ID 2719916.1.. This looks similar to it. Don't understand this setup at all. The tool prompts of things like my userid, fingerprint?, etc. 5 minutes seems like 5 months.
@oraclecloudblog9 ай бұрын
where from are you trying to run this script? an normal OCI Compute instance?
@dbsql62389 ай бұрын
@@oraclecloudblog Exadata. Installed in both nodes. Should I run it on a separate machine?
@oraclecloudblog9 ай бұрын
@@dbsql6238Not sure if you can use Instance Principle (Dynamic groups) with the Exa Nodes. So you need to configure the OCI CLI to use API keys for authentication.
@dbsql62389 ай бұрын
@@oraclecloudblog thanks, I’ll try that.
@Arupchakraborty2004 Жыл бұрын
why not using autoscaling feature in OCI
@MakerDad Жыл бұрын
you can, but only works with compute instance pools and only scales in and out. This script supports many services and can scale up down compute
@sankarachari3 жыл бұрын
Hi, will it work for DB server and application server under VM?
@diegoalonsoramirezleon65513 жыл бұрын
Hi! I would like to apply this solution for my database instance and I have a doubt about that. Does the tags can be applied to the database system or to the database node? My database is in a virtual machine.
@VincentChu-o9b4 ай бұрын
does it work cross regions also ?
@MakerDad4 ай бұрын
yes
@sankarachari3 жыл бұрын
Sorry Richard sir, this Auto Scaling not working.
@sankarachari3 жыл бұрын
I am getting error "Authorization failed or requested resource not found". Could you please explain why do such error occurs? Thank you.
@MakerDad3 жыл бұрын
did you setup your environment for API Authentication?
@sankarachari3 жыл бұрын
@@MakerDad I just followed as instructed in the video. Not more than that.
@sankarachari3 жыл бұрын
@@MakerDad how to setup environment for API Authentication?
@sankarachari3 жыл бұрын
is there any documentation I can follow?
@sankarachari3 жыл бұрын
@@MakerDad Thank you. Now its resolved.
@brianbennett102810 ай бұрын
Does this still work?
@oraclecloudblog9 ай бұрын
Yes
@josnijhoff43224 жыл бұрын
Why allow the Dynamic Group to manage all-resources? Can't this be limited to e.g. just compute instances?
@oraclecloudblog4 жыл бұрын
Yes, if you just want to do scaling for compute, then that policy will be fine. But the auto scaling script also supports other resources like instance pools, database, autonomous database, integration cloud, analytics cloud and digital assistant.
@TravelChroniclesHD3 жыл бұрын
Will this work from oci console instance ?
@oraclecloudblog3 жыл бұрын
You could run the script from the oci console, but you would not be able to schedule it there, as that instance is powered off when not being used. You can better just a free-tier instance.
@guillaumeneveux34453 жыл бұрын
Works really great !
@kasunmagedaragama87623 жыл бұрын
Worth a lot! thanks a lot! Awesome!
@gustavoeclis Жыл бұрын
Thanky you so much!
@allisonlane67782 жыл бұрын
I am getting the error: oci.exceptions.ServiceError: {'opc-request-id': '922345.....A2A135', 'code': 'NotAuthorizedOrNotFound', 'message': 'Authorization failed or requested resource not found', 'status': 404} when I run the command python3 CreateNameSpaces.py. Please advise.
@oraclecloudblog2 жыл бұрын
Can you see if you can manually create the namespace in your tenancy?