The following warnings occurred:
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 100 errorHandler->error_callback
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined variable $location - Line: 1250 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1250 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined array key "oa_social_login_custom_caption" - Line: 356 - File: inc/plugins/oa_social_login.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/oa_social_login.php 356 errorHandler->error_callback
/inc/plugins/oa_social_login.php 197 oa_social_login_load_plugin
/inc/class_plugins.php 142 oa_social_login_load_plugin_hook_any
/global.php 498 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined variable $unreadreports - Line: 44 - File: global.php(961) : eval()'d code PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/global.php(961) : eval()'d code 44 errorHandler->error_callback
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "button_www" - Line: 273 - File: inc/plugins/google_seo/meta.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/meta.php 273 errorHandler->error_callback
/inc/plugins/google_seo/meta.php 252 google_seo_meta_posts
/inc/plugins/google_seo/meta.php 288 google_seo_meta_thread
/inc/class_plugins.php 142 google_seo_meta_printthread
/printthread.php 210 pluginSystem->run_hooks
Warning [2] Undefined array key "button_www" - Line: 273 - File: inc/plugins/google_seo/meta.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/meta.php 273 errorHandler->error_callback
/inc/plugins/google_seo/meta.php 301 google_seo_meta_posts
/inc/class_plugins.php 142 google_seo_meta_printthread_post
/printthread.php 210 pluginSystem->run_hooks
Warning [2] Undefined array key "button_www" - Line: 273 - File: inc/plugins/google_seo/meta.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/meta.php 273 errorHandler->error_callback
/inc/plugins/google_seo/meta.php 301 google_seo_meta_posts
/inc/class_plugins.php 142 google_seo_meta_printthread_post
/printthread.php 210 pluginSystem->run_hooks
Warning [2] Undefined array key "button_www" - Line: 273 - File: inc/plugins/google_seo/meta.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/meta.php 273 errorHandler->error_callback
/inc/plugins/google_seo/meta.php 301 google_seo_meta_posts
/inc/class_plugins.php 142 google_seo_meta_printthread_post
/printthread.php 210 pluginSystem->run_hooks



AWS Discussion Forum
Auto-Scaling Group ASG - Printable Version

+- AWS Discussion Forum (https://letstalkaws.com)
+-- Forum: Core AWS (https://letstalkaws.com/forum-4.html)
+--- Forum: Solutions Architecture (https://letstalkaws.com/forum-16.html)
+--- Thread: Auto-Scaling Group ASG (/thread-83.html)



Auto-Scaling Group ASG - Tucix - 02-03-2023

Hello,

Based on my knowledge, there are two types of scaling : the up/down scaling and the out/in scaling.

I'm a bit surprised to see that in AWS Courses (so as in AWS Solution Architects Exam Preparation Book) I missed the up/down scaling !

Indeed, I always found that typical example :

- in the "Increase Group Size" Window in the "Take the action" item the CAPACITY UNIT is activated (that is to say, this represents the instance number).

In case of a up/down scaling, we are supposed to modify the CPU and/or the RAM.

But I never see such information in the "Take action" item, is that normal ?

Regards,


RE: Auto-Scaling Group ASG - fzs - 03-03-2023

(02-03-2023, 07:30 PM)Tucix Wrote: - in the "Increase Group Size" Window in the "Take the action" item the CAPACITY UNIT is activated (that is to say, this represents the instance number).

In case of a up/down scaling, we are supposed to modify the CPU and/or the RAM.

But I never see such information in the "Take action" item, is that normal ?

So, when it comes to scaling, there are 2 types.

1.> Vertical scaling which means you are increasing the size of your machine but the number of machines don't increase.
2.> Horizontal scaling which means the number of machines increases but the size of the machines remain the same.

At the moment, when we say scaling on AWS, it's primarily referring to "horizontal scaling" which means you are adding more instances/ec2 to your environment so as to share the load between the instances. while you can automate "Vertical Scaling", it's not a normal use case as it means you would have to stop the instance, increase the size and start the new sized instance which means there's downtime. While some VMs like VMWare will allow you to do vertical scaling on the fly, it's not possible right now on AWS.

Also, to clarify, the newer scaling methods on AWS where they use the term "capacity units", it doesn't necessarily refer to a new instance. The Target tracking scaling is a black box solution, so you dont' really control the number of instances started/stopped within a scaling process.


RE: Auto-Scaling Group ASG - Tucix - 03-03-2023

Ok Thanks...so in fact you don't recommend to change 'instance type' the AMI (by chossing another more powerful CPU for instance), because this will lead to outage inevitably.

(in addition we should delete the instance, copy the data before etc etc etc ...)

It seems indeed to be very straightforward to implement !

So in practice, it is never implemented in AWS,


RE: Auto-Scaling Group ASG - fzs - 05-03-2023

(03-03-2023, 03:43 PM)Tucix Wrote: Ok Thanks...so in fact you don't recommend to change 'instance type' the AMI (by chossing another more powerful CPU for instance), because this will lead to outage inevitably.

(in addition we should delete the instance, copy the data before etc etc etc ...)

It seems indeed to be very straightforward to implement !

So in practice, it is never implemented in AWS,

You can stop the instance, modify the size of the instance and start it back up without needing to change AMI or copy data etc. However this takes a few minutes to complete and that is downtime hence not recommended for live production applications. But it's fine for when you are testing things to find the right size of instance you need for your application.

For scaling, it's always recommended to increase number of instances instead of increasing size of instance.