Тёмный

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

OracleCloudBlog
Подписаться 545
Просмотров 8 тыс.
50% 1

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@webgeestpaul
@webgeestpaul 3 года назад
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.
@anonimniqt
@anonimniqt Год назад
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.
@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?
@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.
@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.
@harishkumar432
@harishkumar432 2 года назад
Hi, Please suggest how to set up the environment for API Authentication?
@sankarachari
@sankarachari 3 года назад
Hi, will it work for DB server and application server under VM?
@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.
@dbsql6238
@dbsql6238 7 месяцев назад
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 7 месяцев назад
where from are you trying to run this script? an normal OCI Compute instance?
@dbsql6238
@dbsql6238 7 месяцев назад
@@oraclecloudblog Exadata. Installed in both nodes. Should I run it on a separate machine?
@oraclecloudblog
@oraclecloudblog 7 месяцев назад
@@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 7 месяцев назад
@@oraclecloudblog thanks, I’ll try that.
@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.
@sankarachari
@sankarachari 3 года назад
Sorry Richard sir, this Auto Scaling not working.
@LeoAsres
@LeoAsres 2 месяца назад
There is support for another respurces across regions ?
@LeoAsres
@LeoAsres 2 месяца назад
And there is a cron expression generator for the tags for tests ?
@LeoAsres
@LeoAsres 2 месяца назад
It can be configured for CludShell ?
@guillaumeneveux3445
@guillaumeneveux3445 3 года назад
Works really great !
@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.
@VincentChu-o9b
@VincentChu-o9b 2 месяца назад
does it work cross regions also ?
@MakerDad
@MakerDad 2 месяца назад
yes
@kasunmagedaragama8762
@kasunmagedaragama8762 3 года назад
Worth a lot! thanks a lot! Awesome!
@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
@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.
@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?
@brianbennett1028
@brianbennett1028 8 месяцев назад
Does this still work?
@oraclecloudblog
@oraclecloudblog 7 месяцев назад
Yes
Далее
Create Terraform recipes for OCI in minutes!
8:16
Просмотров 5 тыс.
Part 5. Roblox trend☠️
00:13
Просмотров 2,9 млн
Oracle Cloud - Set up Instance Scheduler using Tags
6:44
Demo | OCI WAF on Load Balancers
6:06
Просмотров 3,7 тыс.
OCI Level 100 - Getting Started with OCI
11:48
Просмотров 22 тыс.