Setup time based Auto Scaling for OCI in under 5 minutes!

  Рет қаралды 8,136

OracleCloudBlog

OracleCloudBlog

Күн бұрын

Пікірлер: 44
@webgeestpaul
@webgeestpaul 4 жыл бұрын
Note that the Create Policy screen now looks a bit different. Click Customize (Advanced) to enter your policy.
@sankarachari
@sankarachari 3 жыл бұрын
If I will create instance in 'ap-Mumbai-1' region tenancy, which time I need to schedule on ? UTC or UTC+5:30 ?
@onlinesaidasa9105
@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.
@harishkumar432
@harishkumar432 2 жыл бұрын
Hi, Please suggest how to set up the environment for API Authentication?
@anonimniqt
@anonimniqt 2 жыл бұрын
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.
@sankarachari
@sankarachari 3 жыл бұрын
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.
@antoniolabayen8288
@antoniolabayen8288 3 жыл бұрын
I tried this, but there are many prerequisites to setting up the host for the CLI and API. Where would this be explained?
@LeoAsres
@LeoAsres 5 ай бұрын
There is support for another respurces across regions ?
@LeoAsres
@LeoAsres 5 ай бұрын
And there is a cron expression generator for the tags for tests ?
@LeoAsres
@LeoAsres 5 ай бұрын
It can be configured for CludShell ?
@sankarachari
@sankarachari 3 жыл бұрын
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?
@BMAPS
@BMAPS 2 жыл бұрын
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.
@dbsql6238
@dbsql6238 9 ай бұрын
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.
@oraclecloudblog
@oraclecloudblog 9 ай бұрын
where from are you trying to run this script? an normal OCI Compute instance?
@dbsql6238
@dbsql6238 9 ай бұрын
@@oraclecloudblog Exadata. Installed in both nodes. Should I run it on a separate machine?
@oraclecloudblog
@oraclecloudblog 9 ай бұрын
@@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.
@dbsql6238
@dbsql6238 9 ай бұрын
@@oraclecloudblog thanks, I’ll try that.
@Arupchakraborty2004
@Arupchakraborty2004 Жыл бұрын
why not using autoscaling feature in OCI
@MakerDad
@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
@sankarachari
@sankarachari 3 жыл бұрын
Hi, will it work for DB server and application server under VM?
@diegoalonsoramirezleon6551
@diegoalonsoramirezleon6551 3 жыл бұрын
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-o9b
@VincentChu-o9b 4 ай бұрын
does it work cross regions also ?
@MakerDad
@MakerDad 4 ай бұрын
yes
@sankarachari
@sankarachari 3 жыл бұрын
Sorry Richard sir, this Auto Scaling not working.
@sankarachari
@sankarachari 3 жыл бұрын
I am getting error "Authorization failed or requested resource not found". Could you please explain why do such error occurs? Thank you.
@MakerDad
@MakerDad 3 жыл бұрын
did you setup your environment for API Authentication?
@sankarachari
@sankarachari 3 жыл бұрын
@@MakerDad I just followed as instructed in the video. Not more than that.
@sankarachari
@sankarachari 3 жыл бұрын
@@MakerDad how to setup environment for API Authentication?
@sankarachari
@sankarachari 3 жыл бұрын
is there any documentation I can follow?
@sankarachari
@sankarachari 3 жыл бұрын
@@MakerDad Thank you. Now its resolved.
@brianbennett1028
@brianbennett1028 10 ай бұрын
Does this still work?
@oraclecloudblog
@oraclecloudblog 9 ай бұрын
Yes
@josnijhoff4322
@josnijhoff4322 4 жыл бұрын
Why allow the Dynamic Group to manage all-resources? Can't this be limited to e.g. just compute instances?
@oraclecloudblog
@oraclecloudblog 4 жыл бұрын
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.
@TravelChroniclesHD
@TravelChroniclesHD 3 жыл бұрын
Will this work from oci console instance ?
@oraclecloudblog
@oraclecloudblog 3 жыл бұрын
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.
@guillaumeneveux3445
@guillaumeneveux3445 3 жыл бұрын
Works really great !
@kasunmagedaragama8762
@kasunmagedaragama8762 3 жыл бұрын
Worth a lot! thanks a lot! Awesome!
@gustavoeclis
@gustavoeclis Жыл бұрын
Thanky you so much!
@allisonlane6778
@allisonlane6778 2 жыл бұрын
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.
@oraclecloudblog
@oraclecloudblog 2 жыл бұрын
Can you see if you can manually create the namespace in your tenancy?
Scaling Your Database Workloads on Exadata DB Cloud@Customer
29:37
Oracle Developers
Рет қаралды 287
How to use Terraform on Oracle Cloud Infrastructure (OCI)
17:03
Joshua Tatum
Рет қаралды 22 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
OCI - Setting up a VPN connection with on premise pfsense firewall
26:36
How to Setup a Periodic Trigger to Shut down or Restart OCI Instance Pools
9:27
How To Use OCI CLI to Operate Oracle Cloud Infrastructure Like a Pro | The Cloud Bootcamp
18:33
OCI Level 100 - Getting Started with OCI
11:48
DAC - Data Analytics Cloud
Рет қаралды 22 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 101 М.
Set Up Auto Scaling and Load Balancing Services in OCI
17:30
Oracle Developers
Рет қаралды 3,3 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Session 10 Kubernetes Cluster on Oracle Cloud Infrastructure
17:34
The SkillPedia
Рет қаралды 1 М.
Oracle Cloud - Set up Instance Scheduler using Tags
6:44
Oracle Learning
Рет қаралды 2,3 М.